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:
parent
41686d8d65
commit
beca322723
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147411
@ -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:"
|
||||
|
10
net-p2p/gnunet/files/patch-src_include_platform.h
Normal file
10
net-p2p/gnunet/files/patch-src_include_platform.h
Normal 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>
|
@ -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:"
|
||||
|
10
net/gnunet/files/patch-src_include_platform.h
Normal file
10
net/gnunet/files/patch-src_include_platform.h
Normal 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>
|
Loading…
Reference in New Issue
Block a user