[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422723: gs-gpl: fopen64() 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 `fopen64' implicitly converted to pointer at ./src/gp_unifs.c:485

----- End forwarded message -----

I don't know that this patch is necessary correct, but it does get rid
of this and a number of other compiler warnings.

diff -urpN gs-gpl-8.56.dfsg.1.orig/Makefile.in gs-gpl-8.56.dfsg.1/Makefile.in
--- gs-gpl-8.56.dfsg.1.orig/Makefile.in	2007-03-14 15:35:45.000000000 -0600
+++ gs-gpl-8.56.dfsg.1/Makefile.in	2007-05-07 15:58:37.000000000 -0600
@@ -109,11 +109,8 @@ GENOPT=
 #		Enable this if it is available on your platform.
 # -DHAVE_HYPOT
 #	use the system hypot() call
-#
-# -DHAVE_FILE64
-#	use marked versions of the stdio FILE calls, fopen64() et al.
 
-CAPOPT= @HAVE_MKSTEMP@ @HAVE_HYPOT@ @HAVE_FILE64@
+CAPOPT= @HAVE_MKSTEMP@ @HAVE_HYPOT@
 
 # Define the name of the executable file.
 
diff -urpN gs-gpl-8.56.dfsg.1.orig/src/Makefile.in gs-gpl-8.56.dfsg.1/src/Makefile.in
--- gs-gpl-8.56.dfsg.1.orig/src/Makefile.in	2007-03-14 15:35:45.000000000 -0600
+++ gs-gpl-8.56.dfsg.1/src/Makefile.in	2007-05-07 15:58:37.000000000 -0600
@@ -109,11 +109,8 @@ GENOPT=
 #		Enable this if it is available on your platform.
 # -DHAVE_HYPOT
 #	use the system hypot() call
-#
-# -DHAVE_FILE64
-#	use marked versions of the stdio FILE calls, fopen64() et al.
 
-CAPOPT= @HAVE_MKSTEMP@ @HAVE_HYPOT@ @HAVE_FILE64@
+CAPOPT= @HAVE_MKSTEMP@ @HAVE_HYPOT@
 
 # Define the name of the executable file.
 
-- 
dann frazier | HP Open Source and Linux Organization




Reply to: