Bug#526532: babel: FTBFS: 'ULONG_MAX' undeclared

2009-05-22 Thread peter green

tags 526532 +patch
thanks

Patch is attatched, just add it to the quilt series.
Index: babel-1.2.0.dfsg/runtime/sidlx/sidlx_common.c
===
--- babel-1.2.0.dfsg.orig/runtime/sidlx/sidlx_common.c	2009-05-22 19:13:28.0 +
+++ babel-1.2.0.dfsg/runtime/sidlx/sidlx_common.c	2009-05-22 19:13:52.0 +
@@ -2,6 +2,7 @@
 #include errno.h
 #include stdlib.h
 #include string.h
+#include limits.h
 #include sidlx_common.h
 #include sidl_String.h
 


Bug#526532: babel: FTBFS: 'ULONG_MAX' undeclared

2009-05-01 Thread Daniel Schepler
Package: babel
Version: 1.2.0.dfsg-7
Severity: serious

From my pbuilder build log:

...
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../sidl  
-I./../sidl -I.   -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes 
-pthread -c -o sidlx_common.lo sidlx_common.c
 gcc -DHAVE_CONFIG_H -I. -I../sidl -I./../sidl -I. -g -O2 -fno-strict-aliasing 
-Wall -Wstrict-prototypes -pthread -c sidlx_common.c  -fPIC -DPIC -o 
.libs/sidlx_common.o
sidlx_common.c: In function 's_accept':
sidlx_common.c:289: error: 'ULONG_MAX' undeclared (first use in this function)
sidlx_common.c:289: error: (Each undeclared identifier is reported only once
sidlx_common.c:289: error: for each function it appears in.)
sidlx_common.c: In function 's_connect':
sidlx_common.c:370: error: 'ULONG_MAX' undeclared (first use in this function)
make[3]: *** [sidlx_common.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/babel-1.2.0.dfsg/runtime/sidlx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/babel-1.2.0.dfsg/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/babel-1.2.0.dfsg'
make: *** [stamp-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Looks like a missing #include limits.h.
-- 
Daniel Schepler




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org