Package: gtkdialog
Version: 0.59.4-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:

Function `str_default_name' implicitly converted to pointer at variables.c:74
Function `g_malloc' implicitly converted to pointer at memory.c:22

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

The following patch fixes this problem:

diff -urN gtkdialog-0.59.4/src/memory.c gtkdialog-0.59.4-davidm/src/memory.c
--- gtkdialog-0.59.4/src/memory.c       2004-11-24 23:28:26.000000000 -0800
+++ gtkdialog-0.59.4-davidm/src/memory.c        2005-06-20 10:34:21.000000000 
-0700
@@ -8,6 +8,8 @@
 ** published by the Free Software Foundation; either version 2 of
 ** the License, or (at your option) any later version.
 */
+#include <glib/gmem.h>
+
 #include "gtkdialog.h"
 #include "memory.h"
 
diff -urN gtkdialog-0.59.4/src/stringman.h 
gtkdialog-0.59.4-davidm/src/stringman.h
--- gtkdialog-0.59.4/src/stringman.h    2004-11-26 12:37:28.000000000 -0800
+++ gtkdialog-0.59.4-davidm/src/stringman.h     2005-06-20 10:35:24.000000000 
-0700
@@ -27,6 +27,7 @@
 char *find_pixmap( char *filename );
 tag_attr *new_tag_attributeset(char *name, char *value);
 tag_attr *add_tag_attribute(tag_attr *attr, char *name, char *value);
+char *str_default_name (int itype);
 char *get_tag_attribute(tag_attr *attr, char *name);
 
 #endif


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

Reply via email to