diff options
Diffstat (limited to 'net-libs/libcapsinetwork/files/libcapsinetwork-0.3.0-gcc43.patch')
-rw-r--r-- | net-libs/libcapsinetwork/files/libcapsinetwork-0.3.0-gcc43.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-libs/libcapsinetwork/files/libcapsinetwork-0.3.0-gcc43.patch b/net-libs/libcapsinetwork/files/libcapsinetwork-0.3.0-gcc43.patch new file mode 100644 index 000000000000..686da3390259 --- /dev/null +++ b/net-libs/libcapsinetwork/files/libcapsinetwork-0.3.0-gcc43.patch @@ -0,0 +1,44 @@ +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" + |