Thu Jun 4 19:23:51 2009 UTC ()
Add URL of upstream bug report.


(tron)
diff -r1.23 -r1.24 pkgsrc/net/libtorrent/distinfo
diff -r1.9 -r1.10 pkgsrc/net/libtorrent/patches/patch-ab

cvs diff -r1.23 -r1.24 pkgsrc/net/libtorrent/distinfo (expand / switch to unified diff)

--- pkgsrc/net/libtorrent/distinfo 2009/06/04 19:15:46 1.23
+++ pkgsrc/net/libtorrent/distinfo 2009/06/04 19:23:51 1.24
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.23 2009/06/04 19:15:46 tron Exp $ 1$NetBSD: distinfo,v 1.24 2009/06/04 19:23:51 tron Exp $
2 2
3SHA1 (libtorrent-0.12.2.tar.gz) = a53d2c671e9f2dd971d0622d5b3672da91c46ef9 3SHA1 (libtorrent-0.12.2.tar.gz) = a53d2c671e9f2dd971d0622d5b3672da91c46ef9
4RMD160 (libtorrent-0.12.2.tar.gz) = 88cdc415f98afd8b87fa6d7330906737c3e434fa 4RMD160 (libtorrent-0.12.2.tar.gz) = 88cdc415f98afd8b87fa6d7330906737c3e434fa
5Size (libtorrent-0.12.2.tar.gz) = 585374 bytes 5Size (libtorrent-0.12.2.tar.gz) = 585374 bytes
6SHA1 (patch-aa) = d864808b9e9524b3a7f72bcc1b465d4e6b2d4f4a 6SHA1 (patch-aa) = d864808b9e9524b3a7f72bcc1b465d4e6b2d4f4a
7SHA1 (patch-ab) = 161a2b0d354ba326a82a2747050b8f323ea420a6 7SHA1 (patch-ab) = 8fdc29520ea79282d7253a85834e15b1eb47a1e6

cvs diff -r1.9 -r1.10 pkgsrc/net/libtorrent/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/net/libtorrent/patches/Attic/patch-ab 2009/06/04 19:15:47 1.9
+++ pkgsrc/net/libtorrent/patches/Attic/patch-ab 2009/06/04 19:23:51 1.10
@@ -1,16 +1,19 @@ @@ -1,16 +1,19 @@
1$NetBSD: patch-ab,v 1.9 2009/06/04 19:15:47 tron Exp $ 1$NetBSD: patch-ab,v 1.10 2009/06/04 19:23:51 tron Exp $
2 2
3Deal with the kqueue(2) API differences between NetBSD and the other BSDs. 3Deal with the kqueue(2) API differences between NetBSD and the other BSDs.
 4The upstream bug report is here:
 5
 6http://libtorrent.rakshasa.no/ticket/1765
4 7
5--- src/torrent/poll_kqueue.cc.orig 2008-05-07 13:19:13.000000000 +0100 8--- src/torrent/poll_kqueue.cc.orig 2008-05-07 13:19:13.000000000 +0100
6+++ src/torrent/poll_kqueue.cc 2009-06-04 18:10:50.000000000 +0100 9+++ src/torrent/poll_kqueue.cc 2009-06-04 18:10:50.000000000 +0100
7@@ -57,6 +57,12 @@ 10@@ -57,6 +57,12 @@
8  11
9 #ifdef USE_KQUEUE 12 #ifdef USE_KQUEUE
10  13
11+#ifdef __NetBSD__ 14+#ifdef __NetBSD__
12+typedef uintptr_t kevent_udata_t; 15+typedef uintptr_t kevent_udata_t;
13+#else 16+#else
14+typedef void *kevent_udata_t; 17+typedef void *kevent_udata_t;
15+#endif 18+#endif
16+ 19+