diff --git a/net-p2p/gtkhx/Makefile b/net-p2p/gtkhx/Makefile index 13b6ebe5f5d1..c6377d7a86be 100644 --- a/net-p2p/gtkhx/Makefile +++ b/net-p2p/gtkhx/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtkhx PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gtkhx diff --git a/net-p2p/gtkhx/files/patch-src::xfers.c b/net-p2p/gtkhx/files/patch-src::xfers.c new file mode 100644 index 000000000000..a63102e158fa --- /dev/null +++ b/net-p2p/gtkhx/files/patch-src::xfers.c @@ -0,0 +1,13 @@ +--- src/xfers.c.orig Fri Mar 22 16:26:04 2002 ++++ src/xfers.c Tue Mar 26 17:39:53 2002 +@@ -611,7 +611,9 @@ + pthread_join(htxf->tid, &thread_retval); + } + #ifdef USE_IPV6 +- freeaddrinfo(htxf->listen_addr); ++ if(htxf->listen_addr) { ++ freeaddrinfo(htxf->listen_addr); ++ } + #endif + g_free(htxf); + if (nxfers > (i+1)) { diff --git a/net/gtkhx/Makefile b/net/gtkhx/Makefile index 13b6ebe5f5d1..c6377d7a86be 100644 --- a/net/gtkhx/Makefile +++ b/net/gtkhx/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtkhx PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gtkhx diff --git a/net/gtkhx/files/patch-src::xfers.c b/net/gtkhx/files/patch-src::xfers.c new file mode 100644 index 000000000000..a63102e158fa --- /dev/null +++ b/net/gtkhx/files/patch-src::xfers.c @@ -0,0 +1,13 @@ +--- src/xfers.c.orig Fri Mar 22 16:26:04 2002 ++++ src/xfers.c Tue Mar 26 17:39:53 2002 +@@ -611,7 +611,9 @@ + pthread_join(htxf->tid, &thread_retval); + } + #ifdef USE_IPV6 +- freeaddrinfo(htxf->listen_addr); ++ if(htxf->listen_addr) { ++ freeaddrinfo(htxf->listen_addr); ++ } + #endif + g_free(htxf); + if (nxfers > (i+1)) {