ports/107141: goobox can not be build with GCC 4.*
Richard Arends
richard at unixguru.nl
Sat Dec 23 17:10:14 UTC 2006
>Number: 107141
>Category: ports
>Synopsis: goobox can not be build with GCC 4.*
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 23 17:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Richard Arends
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
FreeBSD fbsd_current.unixguru.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Dec 13 21:36:53 CET 2006 root at fbsd_current.unixguru.nl:/usr/obj/usr/src/sys/GENERIC i386
>Description:
goobox can not be build with GCC 4.*
>How-To-Repeat:
cd /usr/ports/audio/goobox && make
>Fix:
Apply this patch:
diff -ruN goobox.orig/files/patch-src_cd-drive.c goobox/files/patch-src_cd-drive.c
--- goobox.orig/files/patch-src_cd-drive.c Thu Jan 1 01:00:00 1970
+++ goobox/files/patch-src_cd-drive.c Sat Dec 23 16:24:35 2006
@@ -0,0 +1,20 @@
+--- src/cd-drive.c-orig Sat Dec 23 16:18:08 2006
++++ src/cd-drive.c Sat Dec 23 16:19:07 2006
+@@ -579,7 +579,7 @@
+ #if defined(__linux__) || defined(__FreeBSD__)
+
+ #if !defined(__linux__)
+-static int
++int
+ get_device_max_read_speed (char *device)
+ {
+ int fd;
+@@ -601,7 +601,7 @@
+ }
+ #endif
+
+-static int
++int
+ get_device_max_write_speed (char *device)
+ {
+ int fd;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list