summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2006-09-18 22:04:52 +0000
committerjoerg <joerg>2006-09-18 22:04:52 +0000
commit7e7c837b03c2ec29d8d9f871973e4753d60dcf94 (patch)
tree518d6af20c9af4cf26ca49c9d96b65dfde139fb9 /net
parent3ed77e59675a327867adc6fff581fc7655ad95b5 (diff)
downloadpkgsrc-7e7c837b03c2ec29d8d9f871973e4753d60dcf94.tar.gz
Retire propolice hack, it compiles now. Add a small patch to fix
compilation on DragonFly 1.4.
Diffstat (limited to 'net')
-rw-r--r--net/libtorrent/distinfo3
-rw-r--r--net/libtorrent/hacks.mk18
-rw-r--r--net/libtorrent/patches/patch-aa12
3 files changed, 14 insertions, 19 deletions
diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo
index 3c8f3d43a2b..bc6f137d7cf 100644
--- a/net/libtorrent/distinfo
+++ b/net/libtorrent/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2006/09/13 21:04:19 tron Exp $
+$NetBSD: distinfo,v 1.10 2006/09/18 22:04:52 joerg Exp $
SHA1 (libtorrent-0.10.1.tar.gz) = 0eb15edc789bbd549a505c5c9a54279ac352c538
RMD160 (libtorrent-0.10.1.tar.gz) = 1cc40a2543e075658012b00f9709550de0c0a8d0
Size (libtorrent-0.10.1.tar.gz) = 447888 bytes
+SHA1 (patch-aa) = 98a4a23beb017c03005bcc42aa1d6cfefdfcfded
diff --git a/net/libtorrent/hacks.mk b/net/libtorrent/hacks.mk
deleted file mode 100644
index dba91c11c1f..00000000000
--- a/net/libtorrent/hacks.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.2 2006/01/12 20:32:04 adam Exp $
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "DragonFly" && ${PKGSRC_COMPILER} == "gcc"
-#
-# Workaround an ICE in the stack-smashing protection in GCC 3.4.x.
-#
-.if !defined(HAS_PROPOLICE)
-HAS_PROPOLICE!= ( ${CC} -v 2>&1 | ${GREP} 'propolice' ) 2>/dev/null || echo no
-MAKEVARS+= HAS_PROPOLICE
-.endif
-
-.if ${HAS_PROPOLICE} != "no"
-CFLAGS+= -fno-stack-protector
-CXXFLAGS+= -fno-stack-protector
-.endif
-.endif
diff --git a/net/libtorrent/patches/patch-aa b/net/libtorrent/patches/patch-aa
new file mode 100644
index 00000000000..b4c6586b77e
--- /dev/null
+++ b/net/libtorrent/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.5 2006/09/18 22:04:52 joerg Exp $
+
+--- src/torrent/chunk_manager.cc.orig 2006-09-18 21:54:17.000000000 +0000
++++ src/torrent/chunk_manager.cc
+@@ -37,6 +37,7 @@
+ #include "config.h"
+
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+
+ #include "data/chunk_list.h"