diff -ur /tmp/animals-20031130/db4++-stuff.cc animals-20031130/db4++-stuff.cc --- /tmp/animals-20031130/db4++-stuff.cc 2008-03-06 21:17:45.000000000 +0100 +++ animals-20031130/db4++-stuff.cc 2008-03-06 21:09:57.000000000 +0100 @@ -24,6 +24,7 @@ #include "main.h" #include <cstdlib> +#include <cstring> #include <iostream> #include <sstream> #include <errno.h> diff -ur /tmp/animals-20031130/debian/changelog animals-20031130/debian/changelog --- /tmp/animals-20031130/debian/changelog 2008-03-06 21:17:45.000000000 +0100 +++ animals-20031130/debian/changelog 2008-03-06 21:11:48.000000000 +0100 @@ -1,3 +1,10 @@ +animals (20031130-2.4) unstable; urgency=low + + * Non-maintainer upload. + * Fix build with gcc-4.3 (Closes: #417081) + + -- Joost Yervante Damad <[EMAIL PROTECTED]> Thu, 06 Mar 2008 21:10:33 +0100 + animals (20031130-2.3) unstable; urgency=low * Non-maintainer upload from the Zürich BSP. Only in animals-20031130/debian: files Only in animals-20031130/debian: substvars Only in animals-20031130/debian: tmp diff -ur /tmp/animals-20031130/Makefile animals-20031130/Makefile --- /tmp/animals-20031130/Makefile 2003-07-17 06:17:01.000000000 +0200 +++ animals-20031130/Makefile 2008-03-06 21:17:30.000000000 +0100 @@ -34,16 +34,18 @@ # Edited for Debian GNU/Linux. DESTDIR = +CXX=g++ + animals: main.o db4++-stuff.o str-conversions.o util.o - g++ -o animals main.o db4++-stuff.o str-conversions.o util.o -ldb_cxx + $(CXX) -o animals main.o db4++-stuff.o str-conversions.o util.o -ldb_cxx # various tests are conducted in test.cc test: db4++-stuff.o test.o str-conversions.o util.o - g++ -o test test.o db4++-stuff.o str-conversions.o -ldb_cxx + $(CXX) -o test test.o db4++-stuff.o str-conversions.o -ldb_cxx # tests of the string conversion funcs are conducted in test-str-cvt.cc test-str-cvt: test-str-cvt.o str-conversions.o - g++ -o test-str-cvt test-str-cvt.o str-conversions.o + $(CXX) -o test-str-cvt test-str-cvt.o str-conversions.o test-str-cvt.o: test-str-cvt.cc str-conversions.h diff -ur /tmp/animals-20031130/str-conversions.cc animals-20031130/str-conversions.cc --- /tmp/animals-20031130/str-conversions.cc 2003-06-29 04:15:56.000000000 +0200 +++ animals-20031130/str-conversions.cc 2008-03-06 21:10:21.000000000 +0100 @@ -22,7 +22,8 @@ #include "str-conversions.h" -#include <stdlib.h> +#include <cstdlib> +#include <cstring> #include <string> long CStringToLong(const char *string)

