pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/rtorrent Fix build under Solaris. Patched provided...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40e4f0cf163f
branches:  trunk
changeset: 523256:40e4f0cf163f
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Jan 04 12:46:38 2007 +0000

description:
Fix build under Solaris. Patched provided by Peter Schuller in PR pkg/35357.

diffstat:

 net/rtorrent/distinfo         |   4 +++-
 net/rtorrent/patches/patch-aa |  16 ++++++++++++++++
 net/rtorrent/patches/patch-ab |  13 +++++++++++++
 3 files changed, 32 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 9517a6530fbb -r 40e4f0cf163f net/rtorrent/distinfo
--- a/net/rtorrent/distinfo     Thu Jan 04 12:45:41 2007 +0000
+++ b/net/rtorrent/distinfo     Thu Jan 04 12:46:38 2007 +0000
@@ -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 -r 9517a6530fbb -r 40e4f0cf163f net/rtorrent/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rtorrent/patches/patch-aa     Thu Jan 04 12:46:38 2007 +0000
@@ -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 -r 9517a6530fbb -r 40e4f0cf163f net/rtorrent/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rtorrent/patches/patch-ab     Thu Jan 04 12:46:38 2007 +0000
@@ -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 {



Home | Main Index | Thread Index | Old Index