diff options
author | pawel <pawel@FreeBSD.org> | 2011-10-21 23:22:07 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2011-10-21 23:22:07 +0800 |
commit | ff1402415c12b752bb54fe9d4e6bfdd8b654f279 (patch) | |
tree | cbda76612e51b8fe2616b72c723195423f820b52 /devel | |
parent | f69a2eb17705f43d20d246001f21a97b66998504 (diff) | |
download | freebsd-ports-gnome-ff1402415c12b752bb54fe9d4e6bfdd8b654f279.tar.gz freebsd-ports-gnome-ff1402415c12b752bb54fe9d4e6bfdd8b654f279.tar.zst freebsd-ports-gnome-ff1402415c12b752bb54fe9d4e6bfdd8b654f279.zip |
Fix build with clang
PR: ports/161527
Submitted by: Nali Toja <nalitoja@gmail.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ragel/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/ragel/Makefile b/devel/ragel/Makefile index 3b3701936f9a..8eacca4940ba 100644 --- a/devel/ragel/Makefile +++ b/devel/ragel/Makefile @@ -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 |