summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2017-12-26 23:14:42 +0000
committerhe <he@pkgsrc.org>2017-12-26 23:14:42 +0000
commit57d08c714e0f7b52eae9107ecf50d5fbb0b5e9ab (patch)
tree68dcc73911b94d8fdc6fa89ad26ed659986f615e /net/libtorrent
parent05d5e3604984841a4c0c4ba8b6af2abec6385dc6 (diff)
downloadpkgsrc-57d08c714e0f7b52eae9107ecf50d5fbb0b5e9ab.tar.gz
Add a now-required cast to the last arg of EV_SET(), and add comments
to patch files missing them. Now builds on 8.0. Bump PKGREVISION.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile4
-rw-r--r--net/libtorrent/distinfo9
-rw-r--r--net/libtorrent/patches/patch-src_Makefile.am4
-rw-r--r--net/libtorrent/patches/patch-src_Makefile.in4
-rw-r--r--net/libtorrent/patches/patch-src_data_chunk__list.cpp4
-rw-r--r--net/libtorrent/patches/patch-src_torrent_poll__kqueue.cc15
6 files changed, 31 insertions, 9 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index e4bc807e034..43f061e6bce 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2017/05/03 08:38:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.58 2017/12/26 23:14:42 he Exp $
DISTNAME= libtorrent-0.13.6
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://rtorrent.net/downloads/
diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo
index a0e9e382fb2..4389dab0d28 100644
--- a/net/libtorrent/distinfo
+++ b/net/libtorrent/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.36 2015/11/04 00:35:10 agc Exp $
+$NetBSD: distinfo,v 1.37 2017/12/26 23:14:42 he Exp $
SHA1 (libtorrent-0.13.6.tar.gz) = 493691929b701f4402f13c725840addf95231ad2
RMD160 (libtorrent-0.13.6.tar.gz) = a143a0ef9e86cf989c2c7dff6c86a41d23ddc244
SHA512 (libtorrent-0.13.6.tar.gz) = b8aea4060357a8a40d15d42f1f698ef6f3ebdc885000bfbfa5bf9c81af8c88b5503a107e05c214e3e8489126928d336356c5e7e0eaf836b6b84a3cf74633b050
Size (libtorrent-0.13.6.tar.gz) = 781253 bytes
-SHA1 (patch-src_Makefile.am) = e69dd1da8a9736fa45af71cfc167c8b89a7fe648
-SHA1 (patch-src_Makefile.in) = 522fbdb8da913d351fd86aface86aa2d1d86b5cc
-SHA1 (patch-src_data_chunk__list.cpp) = 4b09b093ca5f2abdb7e4d3c1c0bdb9fdfcd4f981
+SHA1 (patch-src_Makefile.am) = d965bdfd967a71d14ebcad6b32564a1c0908739d
+SHA1 (patch-src_Makefile.in) = 05f55223073fb57cc11fbb307708ba262899d85f
+SHA1 (patch-src_data_chunk__list.cpp) = 92a5f36d7ae993667123051b39e6033c73169f4e
+SHA1 (patch-src_torrent_poll__kqueue.cc) = b6158ea858f4a12db8c763ac77eb09d62c65f804
diff --git a/net/libtorrent/patches/patch-src_Makefile.am b/net/libtorrent/patches/patch-src_Makefile.am
index f80435175ac..24cd8cf21a0 100644
--- a/net/libtorrent/patches/patch-src_Makefile.am
+++ b/net/libtorrent/patches/patch-src_Makefile.am
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_Makefile.am,v 1.3 2013/09/18 16:32:05 joerg Exp $
+$NetBSD: patch-src_Makefile.am,v 1.4 2017/12/26 23:14:42 he Exp $
+
+Add -lcrypto and -no-undefined to LDFLAGS.
--- src/Makefile.am.orig 2012-02-14 03:39:45.000000000 +0000
+++ src/Makefile.am
diff --git a/net/libtorrent/patches/patch-src_Makefile.in b/net/libtorrent/patches/patch-src_Makefile.in
index 9cece5175a4..23fdc444162 100644
--- a/net/libtorrent/patches/patch-src_Makefile.in
+++ b/net/libtorrent/patches/patch-src_Makefile.in
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_Makefile.in,v 1.3 2013/09/18 16:32:05 joerg Exp $
+$NetBSD: patch-src_Makefile.in,v 1.4 2017/12/26 23:14:42 he Exp $
+
+Add -lcrypto and -no-undefined to LDFLAGS.
--- src/Makefile.in.orig 2012-04-20 06:56:14.000000000 +0000
+++ src/Makefile.in
diff --git a/net/libtorrent/patches/patch-src_data_chunk__list.cpp b/net/libtorrent/patches/patch-src_data_chunk__list.cpp
index 08a0c41c54a..a7bd68f3b64 100644
--- a/net/libtorrent/patches/patch-src_data_chunk__list.cpp
+++ b/net/libtorrent/patches/patch-src_data_chunk__list.cpp
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_data_chunk__list.cpp,v 1.3 2013/09/18 16:32:05 joerg Exp $
+$NetBSD: patch-src_data_chunk__list.cpp,v 1.4 2017/12/26 23:14:42 he Exp $
+
+Add some casts now required.
--- src/data/chunk_list.cc.orig 2012-02-22 07:50:27.000000000 +0000
+++ src/data/chunk_list.cc 2013-05-12 12:25:45.000000000 +0100
diff --git a/net/libtorrent/patches/patch-src_torrent_poll__kqueue.cc b/net/libtorrent/patches/patch-src_torrent_poll__kqueue.cc
new file mode 100644
index 00000000000..221297707a5
--- /dev/null
+++ b/net/libtorrent/patches/patch-src_torrent_poll__kqueue.cc
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_torrent_poll__kqueue.cc,v 1.1 2017/12/26 23:14:42 he Exp $
+
+Add a cast so that this builds with the c++ in 8.0.
+
+--- ./src/torrent/poll_kqueue.cc.orig 2015-08-08 15:01:32.000000000 +0000
++++ ./src/torrent/poll_kqueue.cc
+@@ -111,7 +111,7 @@ PollKQueue::modify(Event* event, unsigne
+ struct kevent* itr = m_changes + (m_changedEvents++);
+
+ assert(event == m_table[event->file_descriptor()].second);
+- EV_SET(itr, event->file_descriptor(), mask, op, 0, 0, event);
++ EV_SET(itr, event->file_descriptor(), mask, op, 0, 0, (intptr_t)event);
+ }
+
+ PollKQueue*