ports/111030: [patch] emulators/fuse: Fix build with gcc 4.1
Alexey Antipovsky
kemm at in-line.ru
Fri Mar 30 12:20:05 UTC 2007
>Number: 111030
>Category: ports
>Synopsis: [patch] emulators/fuse: Fix build with gcc 4.1
>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: Fri Mar 30 12:20:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alexey Antipovsky
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
Inline Technologies
>Environment:
System: FreeBSD redsun.bm.in-line.local 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Tue Oct 3 14:06:39 MSD 2006 root at redsun.bm.in-line.local:/usr/obj/usr/src/sys/REDSUN i386
gcc version:
gcc41 (GCC) 4.1.3 20070312 (prerelease)
>Description:
port fails to build with the gcc 4.1
>How-To-Repeat:
$ cd /usr/ports/emulators/fuse; CC=gcc41 make
>Fix:
Patch was taken from Gentoo portages
--- fuse.patch begins here ---
diff -urN fuse.orig/Makefile fuse/Makefile
--- fuse.orig/Makefile Wed Sep 20 15:20:43 2006
+++ fuse/Makefile Thu Mar 29 16:48:39 2007
@@ -7,7 +7,7 @@
PORTNAME= fuse
PORTVERSION= 0.7.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fuse-emulator
diff -urN fuse.orig/files/patch-sound.c fuse/files/patch-sound.c
--- fuse.orig/files/patch-sound.c Thu Jan 1 03:00:00 1970
+++ fuse/files/patch-sound.c Thu Mar 29 16:11:22 2007
@@ -0,0 +1,13 @@
+--- sound.c.orig Thu Mar 29 16:09:24 2007
++++ sound.c Thu Mar 29 16:09:50 2007
+@@ -58,8 +58,8 @@
+ int sound_stereo_ay_abc=0; /* (AY stereo) true for ABC stereo, else ACB */
+ int sound_stereo_ay_narrow=0; /* (AY stereo) true for narrow AY st. sep. */
+
+-static int sound_stereo_ay=0; /* local copy of settings_current.stereo_ay */
+-static int sound_stereo_beeper=0; /* and settings_current.stereo_beeper */
++int sound_stereo_ay=0; /* local copy of settings_current.stereo_ay */
++int sound_stereo_beeper=0; /* and settings_current.stereo_beeper */
+
+
+ /* assume all three tone channels together match the beeper volume (ish).
--- fuse.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list