Date: Sat, 7 Dec 2013 18:06:18 +0100 (CET) From: Christoph Moench-Tegeder <cmt@burggraben.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/184577: x11-toolkits/gigi : fix build with gcc47 Message-ID: <20131207170618.C8E4131016@elch.exwg.net> Resent-Message-ID: <201312071710.rB7HA1ML033226@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184577 >Category: ports >Synopsis: x11-toolkits/gigi : fix build with gcc47 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 07 17:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christoph Moench-Tegeder >Release: FreeBSD 9.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD elch.exwg.net 9.2-RELEASE FreeBSD 9.2-RELEASE #11 r255911: Fri Sep 27 17:09:40 CEST 2013 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64 lang/gcc47 gcc47-4.7.4.20131130 x11-toolkits/gigi gigi-0.8.0.1074_2,1 >Description: Hi, in an effort towards upgrading lang/gcc to gcc 4.7, I'm helping gerald@ in making ports gcc47-safe. Please consider the following patch to your port. If you approve of the patch, gerald@ has offered his help in commiting it. If you're commiting yourself or have someone else commit this (or another patch to the same effect), can you please add an additional reference to ports/183342 in the commit message? In my test environment, the port built successfully with lang/gcc47. >How-To-Repeat: >Fix: The GCC feature detection in gigi only kew about gcc 4.6, I extended it to 4.7. # extend gcc feature detection by incrementing the version number $ svn status A files/patch-GG-adobe-cmath.hpp Index: files/patch-GG-adobe-cmath.hpp =================================================================== --- files/patch-GG-adobe-cmath.hpp (revision 0) +++ files/patch-GG-adobe-cmath.hpp (working copy) @@ -0,0 +1,11 @@ +--- GG/adobe/cmath.hpp.orig 2013-11-16 14:39:11.000000000 +0100 ++++ GG/adobe/cmath.hpp 2013-11-16 14:39:40.000000000 +0100 +@@ -37,7 +37,7 @@ + + #define ADOBE_HAS_CPP_CMATH + +-#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ <= 6)) ++#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ <= 7)) + /* + The currently supported version of GNUC has C99 extensions in math.h. But no TR1 extensions. + */ Regards, Christoph >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131207170618.C8E4131016>