aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2006-09-18 10:20:32 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2006-09-18 10:20:32 +0000
commite5631f7783374aa072131554de76586c225e3039 (patch)
tree3ce63cc5b3ea8cb2cb2d3ee7270cb808e6acac93 /net-p2p
parent2b14b8faa6d9dab4e2fcbb004dbdf7abdf00162f (diff)
downloadports-e5631f7783374aa072131554de76586c225e3039.tar.gz
ports-e5631f7783374aa072131554de76586c225e3039.zip
Fix build on 7-CURRENT.
PR: ports/102836 Submitted by: simon
Notes
Notes: svn path=/head/; revision=173291
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libbt/Makefile4
-rw-r--r--net-p2p/libbt/files/patch-src_btlist.c13
2 files changed, 13 insertions, 4 deletions
diff --git a/net-p2p/libbt/Makefile b/net-p2p/libbt/Makefile
index 2fd16cdab973..890a8cb6427d 100644
--- a/net-p2p/libbt/Makefile
+++ b/net-p2p/libbt/Makefile
@@ -25,10 +25,6 @@ PORTDOCS= protocol-ext.txt protocol.txt
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700019
-BROKEN= Does not compile on FreeBSD >= 7.0
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in
diff --git a/net-p2p/libbt/files/patch-src_btlist.c b/net-p2p/libbt/files/patch-src_btlist.c
new file mode 100644
index 000000000000..843d86303112
--- /dev/null
+++ b/net-p2p/libbt/files/patch-src_btlist.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/btlist.c.orig
++++ src/btlist.c
+@@ -13,6 +13,7 @@
+
+ #include "config.h"
+
++#include <sys/types.h>
+ #include <openssl/sha.h>
+ #include <stdlib.h>
+ #include <string.h>