svn commit: r327499 - head/games/numptyphysics/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Sep 17 18:20:51 UTC 2013


Author: amdmi3
Date: Tue Sep 17 18:20:50 2013
New Revision: 327499
URL: http://svnweb.freebsd.org/changeset/ports/327499

Log:
  Fix build with clang/libc++

Added:
  head/games/numptyphysics/files/
  head/games/numptyphysics/files/patch-happyhttp.cpp   (contents, props changed)

Added: head/games/numptyphysics/files/patch-happyhttp.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/numptyphysics/files/patch-happyhttp.cpp	Tue Sep 17 18:20:50 2013	(r327499)
@@ -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>
+ 
+ 
+ 


More information about the svn-ports-all mailing list