aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2008-12-09 11:32:19 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2008-12-09 11:32:19 +0000
commit9242041ae84da774f73dca2af2b7c84e8f02094a (patch)
treea1ed99b6444689b4b1bfdafea84f2a643431a1a0 /net-p2p
parent2df5b1baf20f47bdbe2bf00fb3e393590460861e (diff)
downloadports-9242041ae84da774f73dca2af2b7c84e8f02094a.tar.gz
ports-9242041ae84da774f73dca2af2b7c84e8f02094a.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-devel/Makefile8
-rw-r--r--net-p2p/libtorrent-devel/distinfo6
-rw-r--r--net-p2p/libtorrent-devel/files/patch-ltmain.sh (renamed from net-p2p/libtorrent-devel/files/devel-ltmain.sh)0
-rw-r--r--net-p2p/libtorrent-devel/files/patch-src_torrent_poll__kqueue.cc11
4 files changed, 17 insertions, 8 deletions
diff --git a/net-p2p/libtorrent-devel/Makefile b/net-p2p/libtorrent-devel/Makefile
index 193d183bf7c8..bc6da91ff742 100644
--- a/net-p2p/libtorrent-devel/Makefile
+++ b/net-p2p/libtorrent-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libtorrent-devel
-PORTVERSION= 0.12.3
+PORTVERSION= 0.12.4
PORTREVISION= 0
DISTNAME= ${PORTNAME:S/-devel//}-${PORTVERSION}
@@ -14,16 +14,14 @@ MAINTAINER= flz@FreeBSD.org
COMMENT= BitTorrent Library written in C++ (development version)
MASTERDIR= ${.CURDIR}/../libtorrent
+PATCHDIR= ${.CURDIR}/files/
MD5_FILE= ${.CURDIR}/distinfo
PLIST= ${.CURDIR}/pkg-plist
DESCR= ${MASTERDIR}/pkg-descr
+
CONFLICTS= libtorrent-[0-9]* \
rblibtorrent-[0-9]* \
rblibtorrent-devel-[0-9]*
-.if exists(${.CURDIR}/files/devel-*)
-EXTRA_PATCHES= ${.CURDIR}/files/devel-*
-.endif
-
.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/libtorrent-devel/distinfo b/net-p2p/libtorrent-devel/distinfo
index 92005a5ffd34..1265ea3fd454 100644
--- a/net-p2p/libtorrent-devel/distinfo
+++ b/net-p2p/libtorrent-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (libtorrent-0.12.3.tar.gz) = db7c7a2236c2f6af5e02cf3e9384eb67
-SHA256 (libtorrent-0.12.3.tar.gz) = 6044618e37c2925615a08517e8b69ef84147ef5287a222fc451968b36a0a9be7
-SIZE (libtorrent-0.12.3.tar.gz) = 598178
+MD5 (libtorrent-0.12.4.tar.gz) = 7e4b4c29a69c86c38e3e60ec11fc2255
+SHA256 (libtorrent-0.12.4.tar.gz) = a48c307fdcc77a28ee3a2ba0b68501a42e3709bf693c52df4831b87c71c8c359
+SIZE (libtorrent-0.12.4.tar.gz) = 600778
diff --git a/net-p2p/libtorrent-devel/files/devel-ltmain.sh b/net-p2p/libtorrent-devel/files/patch-ltmain.sh
index 6449cfe47bec..6449cfe47bec 100644
--- a/net-p2p/libtorrent-devel/files/devel-ltmain.sh
+++ b/net-p2p/libtorrent-devel/files/patch-ltmain.sh
diff --git a/net-p2p/libtorrent-devel/files/patch-src_torrent_poll__kqueue.cc b/net-p2p/libtorrent-devel/files/patch-src_torrent_poll__kqueue.cc
new file mode 100644
index 000000000000..e1de953422ff
--- /dev/null
+++ b/net-p2p/libtorrent-devel/files/patch-src_torrent_poll__kqueue.cc
@@ -0,0 +1,11 @@
+--- src/torrent/poll_kqueue.cc.orig 2008-12-09 10:47:34.000000000 +0000
++++ src/torrent/poll_kqueue.cc 2008-12-09 10:48:10.000000000 +0000
+@@ -52,6 +52,8 @@
+ #include <sys/event.h>
+ #include <sys/select.h>
+ #include <sys/time.h>
++
++#include <assert.h>
+ #endif
+
+ namespace torrent {