Date: Wed, 12 Oct 2011 22:22:11 +0000 From: Nali Toja <nalitoja@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161527: [patch] devel/ragel: clang build fails (foo vs. this->foo) Message-ID: <86y5wpsve4.fsf@gmail.com> Resent-Message-ID: <201110122230.p9CMU9MO007124@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161527 >Category: ports >Synopsis: [patch] devel/ragel: clang build fails (foo vs. this->foo) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 12 22:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Nali Toja >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- clang.diff begins here --- Index: devel/ragel/Makefile =================================================================== RCS file: /a/.csup/ports/devel/ragel/Makefile,v retrieving revision 1.40 diff -u -p -r1.40 Makefile --- devel/ragel/Makefile 2 Jul 2011 16:09:17 -0000 1.40 +++ devel/ragel/Makefile 12 Oct 2011 22:08:23 -0000 @@ -28,6 +28,11 @@ PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's|^CXXFLAGS=|#CXXFLAGS=|g' ${WRKSRC}/configure + @${REINPLACE_CMD} '/[:.]c/!s/compare/this->&/' \ + ${WRKSRC}/aapl/avlcommon.h \ + ${WRKSRC}/aapl/bstcommon.h \ + ${WRKSRC}/aapl/bubblesort.h \ + ${WRKSRC}/aapl/mergesort.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ragel/${PORTNAME} ${PREFIX}/bin --- clang.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y5wpsve4.fsf>