Package: nget
Severity: serious
Tags: patch

Build log:
g++ -g -O2 -g -Wall -O2 -Wall -MMD -MP -DHAVE_CONFIG_H   -c -o server.o 
server.cc
server.cc:130: warning: floating constant exceeds range of 'float'
server.cc: In constructor 'c_server::c_server(ulong, const CfgSection*)':
server.cc:88: error: 'INT_MAX' was not declared in this scope
server.cc: In member function 'void c_nget_config::setlist(const CfgSection*, const CfgSection*, const CfgSection*, const CfgSection*)':
server.cc:125: error: 'INT_MAX' was not declared in this scope
server.cc:146: error: 'ULONG_MAX' was not declared in this scope
make[1]: *** [server.o] Error 1
make[1]: Leaving directory `/tmp/buildd/nget-0.27.1'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The patch is attached in the bug report.

Thanks

--
Marco Rodrigues

http://Marco.Tondela.org
diff -u nget-0.27.1/debian/patches/series nget-0.27.1/debian/patches/series
--- nget-0.27.1/debian/patches/series
+++ nget-0.27.1/debian/patches/series
@@ -2,0 +3 @@
+glibc_api_fixes.patch
only in patch2:
unchanged:
--- nget-0.27.1.orig/debian/patches/glibc_api_fixes.patch
+++ nget-0.27.1/debian/patches/glibc_api_fixes.patch
@@ -0,0 +1,10 @@
+--- a/server.cc.old	2008-07-16 16:16:19.000000000 +0000
++++ b/server.cc	2008-07-16 16:16:32.000000000 +0000
+@@ -20,6 +20,7 @@
+ #include "strreps.h"
+ #include "nget.h"
+ #include "status.h"
++#include <limits.h>
+ #include <sys/types.h>
+ #include <dirent.h>
+ #include <algorithm>

Reply via email to