Package: notebook
Version: 0.2rel-1
Severity: important
Tags: patch

Our automated buildd log filter[1] detected a problem[2] 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.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
[2]
Function `gnome_vfs_get_mime_type' implicitly converted to pointer at 
nb_global.c:492
Function `gnome_about_new' implicitly converted to pointer at 
ui/nb_ui_interface.c:147

diff -urN notebook-0.2rel.orig/src/nb_global.c notebook-0.2rel/src/nb_global.c
--- notebook-0.2rel.orig/src/nb_global.c        2005-03-20 12:46:00.000000000 
-0700
+++ notebook-0.2rel/src/nb_global.c     2005-08-31 14:30:05.000000000 -0600
@@ -23,6 +23,7 @@
 
 #include <glib.h>
 #include <gconf/gconf-client.h>
+#include <libgnomevfs/gnome-vfs-mime-utils.h>
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
diff -urN notebook-0.2rel.orig/src/ui/nb_ui_interface.c 
notebook-0.2rel/src/ui/nb_ui_interface.c
--- notebook-0.2rel.orig/src/ui/nb_ui_interface.c       2005-03-20 
12:46:01.000000000 -0700
+++ notebook-0.2rel/src/ui/nb_ui_interface.c    2005-08-31 14:30:36.000000000 
-0600
@@ -25,6 +25,7 @@
 #include <gtk/gtk.h>
 #include <glade/glade.h>
 #include <gconf/gconf-client.h>
+#include <libgnomeui/gnome-about.h>
 
 #include "../nb_global.h"
 #include "nb_ui_interface_callbacks.h"




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to