diff options
author | Chin-San Huang <chinsan@FreeBSD.org> | 2008-09-02 00:08:45 +0000 |
---|---|---|
committer | Chin-San Huang <chinsan@FreeBSD.org> | 2008-09-02 00:08:45 +0000 |
commit | 3564c262125a179de8cf80a1b772c3a77fd556c5 (patch) | |
tree | 7efa4010153bcea852d92137a8873695958584f3 /irc | |
parent | d7fe1a619da956dd0bddd54649d5d98aa2c731e2 (diff) | |
download | ports-3564c262125a179de8cf80a1b772c3a77fd556c5.tar.gz ports-3564c262125a179de8cf80a1b772c3a77fd556c5.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ctrlproxy/Makefile | 1 | ||||
-rw-r--r-- | irc/ctrlproxy/files/patch-lib_connection.c | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/irc/ctrlproxy/Makefile b/irc/ctrlproxy/Makefile index 6299d682b467..5c89a6ae7c8b 100644 --- a/irc/ctrlproxy/Makefile +++ b/irc/ctrlproxy/Makefile @@ -8,6 +8,7 @@ PORTNAME= ctrlproxy PORTVERSION= 3.0.7 +PORTREVISION= 1 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..d5df0a2b084a --- /dev/null +++ b/irc/ctrlproxy/files/patch-lib_connection.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- lib/connection.c.orig ++++ lib/connection.c +@@ -467,7 +467,8 @@ + if (error) { + network_log(LOG_ERROR, s, "Unable to lookup %s:%s %s", + cs->host, cs->port, gai_strerror(error)); +- freeaddrinfo(addrinfo); ++ if(addrinfo) ++ freeaddrinfo(addrinfo); + return FALSE; + } + |