1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build on CURRENT

This commit is contained in:
Tilman Keskinoz 2005-11-05 19:38:54 +00:00
parent 41686d8d65
commit beca322723
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147411
4 changed files with 20 additions and 8 deletions

View File

@ -105,10 +105,6 @@ MAN5= gnunet.conf.5
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
BROKEN= "Does not compile on FreeBSD >= 7.0"
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You can build GNUnet with the following options:"

View File

@ -0,0 +1,10 @@
--- src/include/platform.h.orig Sat Nov 5 20:32:56 2005
+++ src/include/platform.h Sat Nov 5 20:33:19 2005
@@ -57,6 +57,7 @@
#include <Winsock2.h>
#else
#ifndef MINGW
+ #include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>

View File

@ -105,10 +105,6 @@ MAN5= gnunet.conf.5
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
BROKEN= "Does not compile on FreeBSD >= 7.0"
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You can build GNUnet with the following options:"

View File

@ -0,0 +1,10 @@
--- src/include/platform.h.orig Sat Nov 5 20:32:56 2005
+++ src/include/platform.h Sat Nov 5 20:33:19 2005
@@ -57,6 +57,7 @@
#include <Winsock2.h>
#else
#ifndef MINGW
+ #include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>