Bug#422722: gs-gpl: systempapername() implicitly converted to pointer
Package: gs-gpl
Version: 8.56.dfsg.1-1
Severity: important
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 and amd64.
This is often due to a missing function prototype definition.
[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
----- Forwarded message from Debian/IA64 non-US Build Daemon <buildd@caballero.debian.org> -----
X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on ldl.fc.hp.com
X-Spam-Level:
X-Spam-Status: No, score=-0.5 required=3.5 tests=AWL,BAYES_00,BILL_1618,
UNDISC_RECIPS autolearn=disabled version=3.1.7-deb
X-Virus-Scanned: Debian amavisd-new at ldl.fc.hp.com
Subject: Log for successful build of gs-gpl_8.56.dfsg.1-1 (dist=unstable)
From: Debian/IA64 non-US Build Daemon <buildd@caballero.debian.org>
Date: Sun, 06 May 2007 13:19:52 +0100
To: undisclosed-recipients: ;
X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.6.45933
Debian-Buildd-Error: Yes
Function `systempapername' implicitly converted to pointer at ./src/imainarg.c:213
----- End forwarded message -----
diff -urpN gs-gpl-8.56.dfsg.1.orig/src/imainarg.c gs-gpl-8.56.dfsg.1/src/imainarg.c
--- gs-gpl-8.56.dfsg.1.orig/src/imainarg.c 2007-01-17 14:10:47.000000000 -0700
+++ gs-gpl-8.56.dfsg.1/src/imainarg.c 2007-05-07 15:58:37.000000000 -0600
@@ -48,6 +48,8 @@
#include "ivmspace.h"
#include "vdtrace.h"
+#include <paper.h> /* for systempapername */
+
/* Import operator procedures */
extern int zflush(i_ctx_t *);
extern int zflushpage(i_ctx_t *);
--
dann frazier | HP Open Source and Linux Organization
Reply to: