Fix build on -current.

This commit is contained in:
Vanilla I. Shu 2013-09-14 10:50:16 +00:00
parent c30c441cba
commit f564808abb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327264
3 changed files with 23 additions and 11 deletions

View file

@ -14,6 +14,7 @@ USE_AUTOTOOLS= libtool
USES= pathfix pkgconfig USES= pathfix pkgconfig
USE_GNOME= ltverhack USE_GNOME= ltverhack
USE_BZIP2= yes USE_BZIP2= yes
USE_DOS2UNIX= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- include/Socket.h.orig 2013-09-14 18:46:04.000000000 +0800
+++ include/Socket.h 2013-09-14 18:46:17.000000000 +0800
@@ -30,6 +30,8 @@
#else
#include <netinet/in.h>
#include <sys/socket.h>
+#include <sys/select.h>
+#include <unistd.h>
typedef int SOCKET;
#endif

View file

@ -1,6 +1,6 @@
--- include/Trace.h.orig Sat Mar 17 01:42:59 2007 --- include/Trace.h.orig 2013-09-14 18:46:21.000000000 +0800
+++ include/Trace.h Thu Aug 9 17:17:25 2007 +++ include/Trace.h 2013-09-14 18:46:41.000000000 +0800
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@ class DebugStream : public ostream
} }
#else #else
#define TRACE(a) \ #define TRACE(a) \