summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2007-01-04 12:46:38 +0000
committertron <tron>2007-01-04 12:46:38 +0000
commit607d7494b22fe20ed9e692e00febbb06b30b3833 (patch)
tree4d5cc38a5916b40918db70a84bfabd15992abc6e
parent8f9ea180f96cebc68c1ed92cb238cef5929d7ef0 (diff)
downloadpkgsrc-607d7494b22fe20ed9e692e00febbb06b30b3833.tar.gz
Fix build under Solaris. Patched provided by Peter Schuller in PR pkg/35357.
-rw-r--r--net/rtorrent/distinfo4
-rw-r--r--net/rtorrent/patches/patch-aa16
-rw-r--r--net/rtorrent/patches/patch-ab13
3 files changed, 32 insertions, 1 deletions
diff --git a/net/rtorrent/distinfo b/net/rtorrent/distinfo
index 1341ee7202d..994d2d691bf 100644
--- a/net/rtorrent/distinfo
+++ b/net/rtorrent/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.10 2006/11/08 09:19:40 tron Exp $
+$NetBSD: distinfo,v 1.11 2007/01/04 12:46:38 tron Exp $
SHA1 (rtorrent-0.6.4.tar.gz) = df3e39a78334284262fe71e9db63b3e47ca5ab29
RMD160 (rtorrent-0.6.4.tar.gz) = fa9fb6e8693a9d16926b022f97db6145847bb4c6
Size (rtorrent-0.6.4.tar.gz) = 438407 bytes
+SHA1 (patch-aa) = b64756f960036fcb50e4648aecd31fe004e3ad04
+SHA1 (patch-ab) = 87d7741906f6d7c8572b80d2a3f42910175e182f
diff --git a/net/rtorrent/patches/patch-aa b/net/rtorrent/patches/patch-aa
new file mode 100644
index 00000000000..b4cf3298884
--- /dev/null
+++ b/net/rtorrent/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.5 2007/01/04 12:46:38 tron Exp $
+
+--- rak/socket_address.h.orig 2007-01-04 01:55:46.851086425 +0100
++++ rak/socket_address.h
+@@ -62,7 +62,11 @@ class socket_address_inet6;
+
+ class socket_address {
+ public:
++#if defined(__sun) && defined(__SVR4)
++ static const sa_family_t af_local = AF_UNIX;
++#else
+ static const sa_family_t af_local = AF_LOCAL;
++#endif
+ static const sa_family_t af_unix = AF_UNIX;
+ // static const sa_family_t af_file = AF_FILE;
+ static const sa_family_t af_inet = AF_INET;
diff --git a/net/rtorrent/patches/patch-ab b/net/rtorrent/patches/patch-ab
new file mode 100644
index 00000000000..55c39db4900
--- /dev/null
+++ b/net/rtorrent/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/01/04 12:46:39 tron Exp $
+
+--- src/signal_handler.h.orig 2007-01-04 02:07:34.089210951 +0100
++++ src/signal_handler.h
+@@ -37,7 +37,7 @@
+ #ifndef RTORRENT_SIGNAL_HANDLER_H
+ #define RTORRENT_SIGNAL_HANDLER_H
+
+-#include <sys/signal.h>
++#include <signal.h>
+ #include <sigc++/slot.h>
+
+ class SignalHandler {