Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 16:54:14 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326294 - in head/lang/gcc47: . files
Message-ID:  <201309041654.r84GsE2R005500@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Wed Sep  4 16:54:13 2013
New Revision: 326294
URL: http://svnweb.freebsd.org/changeset/ports/326294

Log:
  Update to the 20130831 snapshot of GCC 4.7.4.
  
  Work around a bug in libcpp that pulls in the optional system iconv
  if present instead of relying on the port we actually depend on. [1]
  
  The issue is that /usr/include/iconv.h has #include <stdbool.h> which
  in turn, since both are included very late in the game, conflicts with
  similar definintions by libcpp itself.
  
  Interestingly enough, lang/gcc46 and lang/gcc48 did not fail under the
  same test scenarios and libstdc++ does not seem to require adjustments,
  so PR 161417 may not be relevant in full.
  
  PR:		161417 [1]

Added:
  head/lang/gcc47/files/patch-libcpp   (contents, props changed)
Modified:
  head/lang/gcc47/Makefile
  head/lang/gcc47/distinfo

Modified: head/lang/gcc47/Makefile
==============================================================================
--- head/lang/gcc47/Makefile	Wed Sep  4 16:51:12 2013	(r326293)
+++ head/lang/gcc47/Makefile	Wed Sep  4 16:54:13 2013	(r326294)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gcc
-PORTVERSION=	4.7.4.20130817
+PORTVERSION=	4.7.4.20130831
 CATEGORIES=	lang java
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR=	snapshots/${DISTVERSION}

Modified: head/lang/gcc47/distinfo
==============================================================================
--- head/lang/gcc47/distinfo	Wed Sep  4 16:51:12 2013	(r326293)
+++ head/lang/gcc47/distinfo	Wed Sep  4 16:54:13 2013	(r326294)
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.7-20130817.tar.bz2) = 3752ec9a294ae2d619dc3a7e47e4ce3dfd754a6304a96b6822f8f9697ebd79ea
-SIZE (gcc-4.7-20130817.tar.bz2) = 78810078
+SHA256 (gcc-4.7-20130831.tar.bz2) = 6a0cc169b93bcdab26406104bf1d80ae9f6789f28938589de0e3d745c6ed41c0
+SIZE (gcc-4.7-20130831.tar.bz2) = 78797213

Added: head/lang/gcc47/files/patch-libcpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/gcc47/files/patch-libcpp	Wed Sep  4 16:54:13 2013	(r326294)
@@ -0,0 +1,10 @@
+--- libcpp/internal.h	2012-07-30 09:24:59.000000000 +0000
++++ libcpp/internal.h	2013-09-04 00:41:26.000000000 +0000
+@@ -27,6 +27,7 @@
+ #include "cpp-id-data.h"
+ 
+ #if HAVE_ICONV
++#define __bool_true_false_are_defined
+ #include <iconv.h>
+ #else
+ #define HAVE_ICONV 0



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