diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-18 02:20:50 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-18 02:20:50 +0800 |
commit | af06778f620eb4a35d95dad93658c56d2247195f (patch) | |
tree | d1f8818462055a5ac28259055e7192d3b0b153f4 | |
parent | 4be5925aebbc767a12b801c514a1f90dd56f22b0 (diff) | |
download | freebsd-ports-gnome-af06778f620eb4a35d95dad93658c56d2247195f.tar.gz freebsd-ports-gnome-af06778f620eb4a35d95dad93658c56d2247195f.tar.zst freebsd-ports-gnome-af06778f620eb4a35d95dad93658c56d2247195f.zip |
Fix build with clang/libc++
-rw-r--r-- | games/numptyphysics/files/patch-happyhttp.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games/numptyphysics/files/patch-happyhttp.cpp b/games/numptyphysics/files/patch-happyhttp.cpp new file mode 100644 index 000000000000..b4db0d0edfd4 --- /dev/null +++ b/games/numptyphysics/files/patch-happyhttp.cpp @@ -0,0 +1,25 @@ +--- happyhttp.cpp.orig 2008-08-28 14:08:27.000000000 +0400 ++++ happyhttp.cpp 2013-09-17 21:10:39.685520377 +0400 +@@ -30,6 +30,7 @@ + #ifndef WIN32 + // #include <sys/types.h> + #include <sys/socket.h> ++ #include <sys/select.h> + #include <netinet/in.h> + #include <arpa/inet.h> + #include <netdb.h> // for gethostbyname() +@@ -45,11 +46,14 @@ + #include <cstring> + #include <cstdarg> + #include <assert.h> ++#include <unistd.h> + + #include <string> + #include <vector> + #include <string> + #include <algorithm> ++#include <cstdlib> ++#include <ctime> + + + |