aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/libbt
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-09-18 18:20:32 +0800
committerflz <flz@FreeBSD.org>2006-09-18 18:20:32 +0800
commit49f280edf12513b8ce0c3eef181292ce3af56928 (patch)
tree5db71856158769a41e50de881e3bb240949ff232 /net-p2p/libbt
parentd2a9c016aa3caf2ecc60b9dcd91ef23ba2003a63 (diff)
downloadfreebsd-ports-gnome-49f280edf12513b8ce0c3eef181292ce3af56928.tar.gz
freebsd-ports-gnome-49f280edf12513b8ce0c3eef181292ce3af56928.tar.zst
freebsd-ports-gnome-49f280edf12513b8ce0c3eef181292ce3af56928.zip
Fix build on 7-CURRENT.
PR: ports/102836 Submitted by: simon
Diffstat (limited to 'net-p2p/libbt')
-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>