ports/59375: [MAINTAINER] Fix to compile audio/traymp under STABLE

Mark Daniel Reidel ports at mark.reidel.info
Mon Nov 17 16:30:20 UTC 2003


>Number:         59375
>Category:       ports
>Synopsis:       [MAINTAINER] Fix to compile audio/traymp under STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 17 08:30:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Daniel Reidel
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD alu.reidel.info 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Tue Oct 21 10:02:16 CEST 2003 root at alu.reidel.info:/usr/obj/usr/src/sys/MARK i386
>Description:
	Traymp doesn't compile correctly on compilers that don't follow the latest C standard (gcc < 3), e.g. 4-STABLE.
>How-To-Repeat:
>Fix:
This (hopefully) fixes the compile-errors for the audio/traymp port under STABLE.

--- fix begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files
#	files/patch-tray.c
#
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/patch-tray.c
sed 's/^X//' >files/patch-tray.c << 'END-of-files/patch-tray.c'
X--- src/tray.c.orig	Mon Nov 17 16:44:33 2003
X+++ src/tray.c	Mon Nov 17 16:44:51 2003
X@@ -117,9 +117,9 @@
X /* handle the click event on the tray icon */
X 
X int tray_clicked(GtkWidget *image, GdkEventButton *event){
X+	char *buf;
X 	if(!insetting.update_timeout) return 1;
X 	insetting.update_timeout = FALSE;
X-	char *buf;
X 	if(tray_icon == NULL) return 1;
X 	insetting.update_timeout = TRUE; /* where done.. no need to wait */
X 		check_error();
END-of-files/patch-tray.c
exit
--- fix ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list