ports/161527: [patch] devel/ragel: clang build fails (foo vs. this->foo)
Nali Toja
nalitoja at gmail.com
Wed Oct 12 22:30:10 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list