Hi,

Attached is a patch to fix this bug.  It's the same as the last, but
replaces the use of defined so it will work with K&R compilers without
support for defined().  Unless you intent to upload within the next
few days, or have any objections to the patch, I'd like to NMU this RC
bug.


Regards,
Roger


diff -urN evolver-2.23.original/debian/changelog evolver-2.23/debian/changelog
--- evolver-2.23.original/debian/changelog      2005-07-22 21:02:51.000000000 
+0100
+++ evolver-2.23/debian/changelog       2005-07-22 21:08:47.558249624 +0100
@@ -1,3 +1,12 @@
+evolver (2.23-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * src/include.h: Don't prototype calloc() and friends when building
+    with an ANSI C compiler (Closes: 317404).  Based on a patch by
+    Karl Chen.
+
+ -- Roger Leigh <[EMAIL PROTECTED]>  Fri, 22 Jul 2005 21:08:21 +0100
+
 evolver (2.23-1) unstable; urgency=low
 
   * New upstream release.
diff -urN evolver-2.23.original/src/include.h evolver-2.23/src/include.h
--- evolver-2.23.original/src/include.h 2005-07-22 21:02:51.000000000 +0100
+++ evolver-2.23/src/include.h  2005-07-22 21:05:34.360620128 +0100
@@ -139,11 +139,13 @@
 /* MAXALLOC is maximum size allocable by calloc() */
 #define    MAXALLOC 0x7FFFFFFFL
 /* Some don't declare calloc, getenv, and bsearch in header files */
+#ifndef __STDC__
 #ifndef MAC_OS_X
 char *calloc();
 char *getenv();
 char *bsearch();
 #endif
+#endif
 /* PATHCHAR is name-separating character in paths */
 #define PATHCHAR '/'
 /* ENVPATHCHAR is the path separating character in environment strings */


-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


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

Reply via email to