svn commit: r323298 - head/games/ltris
Johan van Selst
johans at FreeBSD.org
Fri Jul 19 14:29:56 UTC 2013
Author: johans
Date: Fri Jul 19 14:29:56 2013
New Revision: 323298
URL: http://svnweb.freebsd.org/changeset/ports/323298
Log:
Don't use "inline" keyword in header files for external functions
Fixes compilation with clang
Modified:
head/games/ltris/Makefile
Modified: head/games/ltris/Makefile
==============================================================================
--- head/games/ltris/Makefile Fri Jul 19 14:28:59 2013 (r323297)
+++ head/games/ltris/Makefile Fri Jul 19 14:29:56 2013 (r323298)
@@ -31,6 +31,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/icons|/pixmaps|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|= @mixer_flag@|= @INTLLIBS@ @mixer_flag@|g ; \
s|--mode=666||g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's/^inline //' \
+ ${WRKSRC}/src/sdl.h ${WRKSRC}/src/tools.h
post-install:
@${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
More information about the svn-ports-head
mailing list