Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2006 17:07:40 GMT
From:      Richard Arends<richard@unixguru.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/107141: goobox can not be build with GCC 4.*
Message-ID:  <200612231707.kBNH7eJY049078@www.freebsd.org>
Resent-Message-ID: <200612231710.kBNHADLj083302@freefall.freebsd.org>

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

>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@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:



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