Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 12:20:19 -0500 (EST)
From:      Josh Elsasser <jre@vineyard.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36376: [MAINTAINER-UPDATE] bugfix for net/gtkhx
Message-ID:  <20020327172019.B75BA297@jade.elsasser.org>

next in thread | raw e-mail | index | archive | help

>Number:         36376
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] bugfix for net/gtkhx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 27 09:20:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Josh Elsasser
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD jade.nat 4.5-STABLE FreeBSD 4.5-STABLE #1: Fri Mar 8 13:48:37 EST 2002 joshe@jade.nat:/usr/obj/usr/src/sys/JADE i386

>Description:
	Attempting to remove a task from the task window results in a
segfault.  This bug will be fixed in the next gtkhx release.
>How-To-Repeat:
	Try to remove any task (such as a download) from the task
window by selecting it and clicking the red delete button.
>Fix:

Added files/patch-src::xfers.c

diff -ruN gtkhx.bak/Makefile gtkhx/Makefile
--- gtkhx.bak/Makefile	Tue Mar 26 13:27:54 2002
+++ gtkhx/Makefile	Tue Mar 26 19:20:53 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	gtkhx
 PORTVERSION=	0.9.3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	gtkhx
diff -ruN gtkhx.bak/files/patch-src::xfers.c gtkhx/files/patch-src::xfers.c
--- gtkhx.bak/files/patch-src::xfers.c	Wed Dec 31 19:00:00 1969
+++ gtkhx/files/patch-src::xfers.c	Tue Mar 26 17:40:52 2002
@@ -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)) {
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020327172019.B75BA297>