diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-03-01 23:40:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-03-01 23:40:05 +0000 |
commit | a9089018a754adabeb2ca23238e4745d02385135 (patch) | |
tree | 0c4efbb9784688eea25a62996eacdaecc39ed72c /irc | |
parent | 25a45ba2cb10b8c8f125492a311dcce57e769517 (diff) | |
download | ports-a9089018a754adabeb2ca23238e4745d02385135.tar.gz ports-a9089018a754adabeb2ca23238e4745d02385135.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ctrlproxy/Makefile | 2 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-lib_connection.c | 18 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-lib_listener.h | 18 |
3 files changed, 37 insertions, 1 deletions
diff --git a/irc/ctrlproxy/Makefile b/irc/ctrlproxy/Makefile index adcc7cd07bd1..c96a5c7e3545 100644 --- a/irc/ctrlproxy/Makefile +++ b/irc/ctrlproxy/Makefile @@ -8,7 +8,7 @@ PORTNAME= ctrlproxy PORTVERSION= 3.0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= http://www.ctrlproxy.org/releases/ \ LOCAL/chinsan/ctrlproxy/ diff --git a/irc/ctrlproxy/files/patch-lib_connection.c b/irc/ctrlproxy/files/patch-lib_connection.c new file mode 100644 index 000000000000..c76ac7becf7b --- /dev/null +++ b/irc/ctrlproxy/files/patch-lib_connection.c @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- lib/connection.c.orig ++++ lib/connection.c +@@ -676,8 +676,12 @@ + pid_t pid; + int sock[2]; + ++#ifdef __FreeBSD__ ++ if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sock) == -1) { ++#else + if (socketpair(PF_UNIX, SOCK_STREAM, AF_LOCAL, sock) == -1) { ++#endif + network_log(LOG_ERROR, s, "socketpair: %s", strerror(errno)); + return -1; + } + diff --git a/irc/ctrlproxy/files/patch-lib_listener.h b/irc/ctrlproxy/files/patch-lib_listener.h new file mode 100644 index 000000000000..d49401ab2574 --- /dev/null +++ b/irc/ctrlproxy/files/patch-lib_listener.h @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- lib/listener.h.orig ++++ lib/listener.h +@@ -5,8 +5,12 @@ + #include "ctrlproxy.h" + + #ifdef HAVE_GSSAPI ++#if (__FreeBSD__ >= 7) ++#include <gssapi/gssapi.h> ++#else + #include <gssapi.h> + #endif ++#endif + + #ifndef G_MODULE_EXPORT + #define G_MODULE_EXPORT |