Package: endeavour
Version: 2.8.1-2
Severity: important
Tags: patch
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
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 <[EMAIL 
PROTECTED]> -----

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=-1.4 required=3.5 tests=AWL,BAYES_00,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 endeavour_2.8.1-2 (dist=unstable)
From: Debian/IA64 non-US Build Daemon <[EMAIL PROTECTED]>
Date: Tue, 29 May 2007 21:29:01 +0100
To: undisclosed-recipients: ;
X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 
2007.5.29.130335
Debian-Buildd-Error: Yes

Function `strcasestr' implicitly converted to pointer at edv_find.c:234

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

The strcasestr prototype is only defined of GNU_SOURCE is defined - this
patch fixes the issue. I'm pretty sure its doesn't regress #387206, but
its probably worth verifying to be sure.

--- endeavour-2.8.1.orig/debian/patches/debian-config   2007-05-29 
17:12:05.000000000 -0600
+++ endeavour-2.8.1/debian/patches/debian-config        2007-05-29 
17:56:14.000000000 -0600
@@ -7,7 +7,7 @@ Index: trunk/endeavour2/platforms.ini
        Description = For compiling on Debian GNU/Linux
        PREFIX = /usr
 -      CFLAGS = -g -Wall -DDEBIAN -DNEED_STRCASESTR -fPIC
-+      CFLAGS = -g -Wall -DDEBIAN -fPIC
++      CFLAGS = -g -Wall -DDEBIAN -D_GNU_SOURCE -fPIC
        LIBS = -lm
        LIB_DIR =
        CC = cc

-- 
dann frazier | HP Open Source and Linux Organization


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

Reply via email to