Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 21:39:57 +0200 (CEST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/117381: fix editors/f4l build with gcc4
Message-ID:  <200710211939.l9LJdvLd094793@saturn.kn-bremen.de>
Resent-Message-ID: <200710212010.l9LKA3Te030724@freefall.freebsd.org>

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

>Number:         117381
>Category:       ports
>Synopsis:       fix editors/f4l build with gcc4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 20:10:03 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
me?  organized??
>Environment:
System: FreeBSD saturn 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #0: Wed Oct 17 18:53:56 CEST 2007 nox@saturn:/usr/obj/usr/home/nox/62new/usr/src/sys/GENERICua i386


>Description:
	This fixes build on 7/amd64
>How-To-Repeat:
	http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2007101919/f4l-0.2.1_1.log
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/f4l/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	2 Oct 2007 05:50:10 -0000	1.4
+++ Makefile	21 Oct 2007 18:51:06 -0000
@@ -26,12 +26,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 700042
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-BROKEN=		Does not compile with GCC 4.2
-.endif
-.endif
-
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake
 
Index: files/patch-src_flagStonePort_transform-cxx-bsd_transform_FSDefineSound.h	Sun Oct 21 17:39:52 2007
@@ -0,0 +1,10 @@
+Index: src/flagStonePort/transform-cxx-bsd/transform/FSDefineSound.h
+@@ -137,7 +137,7 @@
+             @param bytes the sound data.
+             @param length the number of bytes in the sound data.
+             */
+-        FSDefineSound::FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length);
++        FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length);
+ 
+         FSDefineSound(const FSDefineSound& rhs);
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



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