diff options
author | wiz <wiz> | 2013-03-02 19:33:29 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-03-02 19:33:29 +0000 |
commit | 6c3092a40abca0c7dda9b41c0e8a680ef46bc20c (patch) | |
tree | dc5655d486f7a938f1a7db0d6a2e6df7af3e9c33 /net/transmission/patches | |
parent | b4a79dae94af156f5914e7ebfe5d921ae95d41db (diff) | |
download | pkgsrc-6c3092a40abca0c7dda9b41c0e8a680ef46bc20c.tar.gz |
Re-import transmission-2.76nb1 as net/transmission.
Transmission is a free, lightweight BitTorrent client. It features
a simple, intuitive interface on top on an efficient, cross-platform
back-end.
Transmission is open source (MIT license) and runs on Mac OS X
(Cocoa interface), Linux/NetBSD/FreeBSD/OpenBSD (CLI/GTK2+ interface)
and BeOS (native interface).
Diffstat (limited to 'net/transmission/patches')
-rw-r--r-- | net/transmission/patches/patch-aa | 12 | ||||
-rw-r--r-- | net/transmission/patches/patch-ab | 18 | ||||
-rw-r--r-- | net/transmission/patches/patch-ac | 19 | ||||
-rw-r--r-- | net/transmission/patches/patch-ae | 15 | ||||
-rw-r--r-- | net/transmission/patches/patch-qt_qtr.pro | 13 | ||||
-rw-r--r-- | net/transmission/patches/patch-third-party_miniupnp_miniupnp.c | 16 |
6 files changed, 93 insertions, 0 deletions
diff --git a/net/transmission/patches/patch-aa b/net/transmission/patches/patch-aa new file mode 100644 index 00000000000..4d7e5a901b1 --- /dev/null +++ b/net/transmission/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2013/03/02 19:33:29 wiz Exp $ + +--- third-party/miniupnp/connecthostport.c.orig 2012-07-06 01:26:19.000000000 +0000 ++++ third-party/miniupnp/connecthostport.c +@@ -33,6 +33,7 @@ + #ifndef USE_GETHOSTBYNAME + #include <sys/types.h> + #include <sys/socket.h> ++#include <sys/select.h> + #endif /* #ifndef USE_GETHOSTBYNAME */ + #endif /* #else _WIN32 */ + diff --git a/net/transmission/patches/patch-ab b/net/transmission/patches/patch-ab new file mode 100644 index 00000000000..7a5cf53717c --- /dev/null +++ b/net/transmission/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1 2013/03/02 19:33:29 wiz Exp $ + +--- third-party/libnatpmp/getgateway.c.orig 2008-08-09 06:08:13.000000000 +0200 ++++ third-party/libnatpmp/getgateway.c +@@ -49,6 +49,13 @@ + #undef USE_SYSCTL_NET_ROUTE + #endif + ++#if !defined(USE_PROC_NET_ROUTE) && !defined(USE_SOCKET_ROUTE) && !defined(USE_SYSCTL_NET_ROUTE) ++int getdefaultgateway(in_addr_t * addr) ++{ ++ return -1; ++} ++#endif ++ + #ifdef WIN32 + #undef USE_PROC_NET_ROUTE + #undef USE_SOCKET_ROUTE diff --git a/net/transmission/patches/patch-ac b/net/transmission/patches/patch-ac new file mode 100644 index 00000000000..2aec009dc9e --- /dev/null +++ b/net/transmission/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2013/03/02 19:33:29 wiz Exp $ + +--- gtk/icons/Makefile.in.orig 2008-02-09 04:56:00.000000000 +0100 ++++ gtk/icons/Makefile.in +@@ -445,14 +445,6 @@ install-icons: + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ +- done; \ +- for icon in $(private_icons); do \ +- THEME=`echo $$icon | cut -d_ -f1`; \ +- CONTEXT=`echo $$icon | cut -d_ -f2`; \ +- SIZE=`echo $$icon | cut -d_ -f3`; \ +- ICONFILE=`echo $$icon | cut -d_ -f4`; \ +- mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ +- $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + + uninstall-icons: diff --git a/net/transmission/patches/patch-ae b/net/transmission/patches/patch-ae new file mode 100644 index 00000000000..35541714fe9 --- /dev/null +++ b/net/transmission/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1 2013/03/02 19:33:29 wiz Exp $ + +--- qt/qtr.pro.orig 2012-07-06 01:24:43.000000000 +0000 ++++ qt/qtr.pro +@@ -13,7 +13,9 @@ man.files = transmission-qt.1 + + CONFIG += qt qdbus thread debug link_pkgconfig + QT += network +-PKGCONFIG = fontconfig libcurl openssl libevent ++PKGCONFIG = fontconfig libcurl libevent ++INCLUDEPATH += $${OPENSSL_CFLAGS} ++LIBS += $${OPENSSL_LIBS} + + TRANSMISSION_TOP = .. + diff --git a/net/transmission/patches/patch-qt_qtr.pro b/net/transmission/patches/patch-qt_qtr.pro new file mode 100644 index 00000000000..23486c9e103 --- /dev/null +++ b/net/transmission/patches/patch-qt_qtr.pro @@ -0,0 +1,13 @@ +$NetBSD: patch-qt_qtr.pro,v 1.1 2013/03/02 19:33:29 wiz Exp $ + +--- qt/qtr.pro.orig 2012-07-06 01:24:43.000000000 +0000 ++++ qt/qtr.pro +@@ -8,7 +8,7 @@ target.path = /bin + INSTALLS += target + + unix: INSTALLS += man +-man.path = /share/man/man1/ ++man.path = /man/man1/ + man.files = transmission-qt.1 + + CONFIG += qt qdbus thread debug link_pkgconfig diff --git a/net/transmission/patches/patch-third-party_miniupnp_miniupnp.c b/net/transmission/patches/patch-third-party_miniupnp_miniupnp.c new file mode 100644 index 00000000000..eaefe13a9e9 --- /dev/null +++ b/net/transmission/patches/patch-third-party_miniupnp_miniupnp.c @@ -0,0 +1,16 @@ +$NetBSD: patch-third-party_miniupnp_miniupnp.c,v 1.1 2013/03/02 19:33:29 wiz Exp $ + +FreeBSD does IP_MULTICAST_IF, but it is the only BSD that does. +Add DragonFly to the list of system that exclude support for IP multicast + +--- third-party/miniupnp/miniupnpc.c.orig 2012-07-06 01:26:19.715654000 +0000 ++++ third-party/miniupnp/miniupnpc.c +@@ -17,7 +17,7 @@ + #endif + #endif + +-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(MACOSX) && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__sun) ++#if !defined(__DragonFly__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(MACOSX) && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__sun) + #define HAS_IP_MREQN + #endif + |