diff options
author | tron <tron> | 2007-01-04 12:46:38 +0000 |
---|---|---|
committer | tron <tron> | 2007-01-04 12:46:38 +0000 |
commit | 8c0d01eac10407329385046dfb88d65824aad390 (patch) | |
tree | 4d5cc38a5916b40918db70a84bfabd15992abc6e /net/rtorrent/patches | |
parent | 4fb3a8889fabbe864baad06eecac1a813617e375 (diff) | |
download | pkgsrc-8c0d01eac10407329385046dfb88d65824aad390.tar.gz |
Fix build under Solaris. Patched provided by Peter Schuller in PR pkg/35357.
Diffstat (limited to 'net/rtorrent/patches')
-rw-r--r-- | net/rtorrent/patches/patch-aa | 16 | ||||
-rw-r--r-- | net/rtorrent/patches/patch-ab | 13 |
2 files changed, 29 insertions, 0 deletions
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 { |