Package: libbonoboui
Version: 2.10.0-1
Tags: patch

Our automated buildd log filter[1] detected a problem that will cause
your package to segfault on architectures where the size of a pointer is
greater than the size of an integer, such as ia64.

libbonobui uses the function gnome_i18n_get_language_list() without
including the necessary header.  This prototype is wrapped in an
#ifndef GNOME_DISABLE_DEPRECATED, so this patch also drops its usage.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions

diff -urN libbonoboui-2.10.0.orig/bonobo/Makefile.in 
libbonoboui-2.10.0/bonobo/Makefile.in
--- libbonoboui-2.10.0.orig/bonobo/Makefile.in  2005-07-04 06:18:46.000000000 
-0600
+++ libbonoboui-2.10.0/bonobo/Makefile.in       2005-07-16 14:21:01.037356657 
-0600
@@ -166,7 +166,6 @@
        -DGDK_PIXBUF_DISABLE_DEPRECATED                 \
        -DGDK_MULTIHEAD_SAFE                            \
        -DGTK_DISABLE_DEPRECATED                        \
-       -DGNOME_DISABLE_DEPRECATED                      \
        -DBONOBO_DISABLE_DEPRECATED                     \
        -DG_LOG_DOMAIN=\"Bonobo\"                       \
        -DVERSION=\"$(VERSION)\"                        \
diff -urN libbonoboui-2.10.0.orig/bonobo/bonobo-selector-widget.c 
libbonoboui-2.10.0/bonobo/bonobo-selector-widget.c
--- libbonoboui-2.10.0.orig/bonobo/bonobo-selector-widget.c     2005-07-02 
02:59:06.000000000 -0600
+++ libbonoboui-2.10.0/bonobo/bonobo-selector-widget.c  2005-07-16 
14:19:11.067631442 -0600
@@ -22,6 +22,7 @@
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <libgnome/gnome-macros.h>
+#include <libgnome/gnome-i18n.h>
 #include <bonobo/bonobo-i18n.h>
 #include <bonobo/bonobo-object.h>
 #include <bonobo/bonobo-selector-widget.h>

-- 
dann frazier <[EMAIL PROTECTED]>
--- Begin Message ---
Function `gnome_i18n_get_language_list' implicitly converted to pointer at 
bonobo-selector-widget.c:98

--- End Message ---

Reply via email to