Date: Fri, 6 Sep 2013 18:11:06 +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: r326533 - head/lang/gcc42/files Message-ID: <201309061811.r86IB6xT079079@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Fri Sep 6 18:11:06 2013 New Revision: 326533 URL: http://svnweb.freebsd.org/changeset/ports/326533 Log: Work around a bug in libcpp that pulls in the optional system iconv if present (even if the libiconv port is present) and fails using that. 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. libstdc++ does not seem to require adjustments, so PR 161417 may not be relevant in full. PR: 161417 Added: head/lang/gcc42/files/patch-libcpp (contents, props changed) Added: head/lang/gcc42/files/patch-libcpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/gcc42/files/patch-libcpp Fri Sep 6 18:11:06 2013 (r326533) @@ -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?201309061811.r86IB6xT079079>