Date: Tue, 26 Aug 2014 07:16:22 +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: r366193 - head/graphics/Coin Message-ID: <201408260716.s7Q7GMM0017351@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Tue Aug 26 07:16:21 2014 New Revision: 366193 URL: http://svnweb.freebsd.org/changeset/ports/366193 QAT: https://qat.redports.org/buildarchive/r366193/ Log: Fix the build with GCC 4.8. Coin mixes stdlib.h (the C header) and cstdlib (the C++ header) quite freely, which results in conflicts and fails with recent compilers. Address this via a post-patch substitution to avoid some 70 individual patches. PR: 192133 Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> Modified: head/graphics/Coin/Makefile Modified: head/graphics/Coin/Makefile ============================================================================== --- head/graphics/Coin/Makefile Tue Aug 26 06:58:19 2014 (r366192) +++ head/graphics/Coin/Makefile Tue Aug 26 07:16:21 2014 (r366193) @@ -28,6 +28,7 @@ MAKE_ENV= LANG=C post-patch: @${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} \( -name \*.cpp -o -name \*.h -a \! -name expat.h \) -a -print0 | ${XARGS} -0 ${REINPLACE_CMD} 's/<stdlib.h>/<cstdlib>/g' post-build: @${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' ${WRKSRC}/coin-default.cfg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408260716.s7Q7GMM0017351>