tags 454855 + patch thanks
I've compiled libcapsinetwork using gcc-4.3 with the updated version of debian/patches/01_gcc43_includes.diff I'm attaching. But I currently can't update my pbuilder chroot because of dependency problems with aptitude on amd64, so I'll have to wait on uploading fixed packages until that's resolved. -- Daniel Schepler
diff -urN libcapsinetwork-0.3.0.old/src/listener.cpp libcapsinetwork-0.3.0/src/listener.cpp --- libcapsinetwork-0.3.0.old/src/listener.cpp 2008-01-08 18:10:17.000000000 -0500 +++ libcapsinetwork-0.3.0/src/listener.cpp 2008-01-08 18:15:51.000000000 -0500 @@ -31,6 +31,7 @@ #include <netdb.h> #include <unistd.h> +#include <stdlib.h> #include "listener.h" #include "listenport.h" diff -urN libcapsinetwork-0.3.0.old/src/listenport.cpp libcapsinetwork-0.3.0/src/listenport.cpp --- libcapsinetwork-0.3.0.old/src/listenport.cpp 2004-07-15 05:39:28.000000000 -0400 +++ libcapsinetwork-0.3.0/src/listenport.cpp 2008-01-08 18:15:51.000000000 -0500 @@ -30,6 +30,7 @@ #include <fcntl.h> #include <netdb.h> #include <unistd.h> +#include <string.h> #include "listenport.h" diff -urN libcapsinetwork-0.3.0.old/src/server.cpp libcapsinetwork-0.3.0/src/server.cpp --- libcapsinetwork-0.3.0.old/src/server.cpp 2008-01-08 18:10:17.000000000 -0500 +++ libcapsinetwork-0.3.0/src/server.cpp 2008-01-08 18:15:51.000000000 -0500 @@ -26,6 +26,7 @@ #include <string> #include <stdio.h> +#include <stdlib.h> // In real applications, use the following include instead of the local. // #include <libcapsinetwork/socket.h> diff -urN libcapsinetwork-0.3.0.old/src/socket.cpp libcapsinetwork-0.3.0/src/socket.cpp --- libcapsinetwork-0.3.0.old/src/socket.cpp 2008-01-08 18:10:17.000000000 -0500 +++ libcapsinetwork-0.3.0/src/socket.cpp 2008-01-08 18:15:13.000000000 -0500 @@ -25,6 +25,7 @@ #include <stdarg.h> #include <stdio.h> #include <unistd.h> +#include <string.h> #include "socket.h"