mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix segfault, bump PORTREVISION
PR: 36376 Submitted by: maintainer
This commit is contained in:
parent
896c03e870
commit
8ea9be01c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56764
4 changed files with 28 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= gtkhx
|
||||
PORTVERSION= 0.9.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= gtkhx
|
||||
|
|
13
net-p2p/gtkhx/files/patch-src::xfers.c
Normal file
13
net-p2p/gtkhx/files/patch-src::xfers.c
Normal file
|
@ -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)) {
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= gtkhx
|
||||
PORTVERSION= 0.9.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= gtkhx
|
||||
|
|
13
net/gtkhx/files/patch-src::xfers.c
Normal file
13
net/gtkhx/files/patch-src::xfers.c
Normal file
|
@ -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)) {
|
Loading…
Add table
Reference in a new issue