aboutsummaryrefslogtreecommitdiff
path: root/games/ltris
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-07-19 14:29:56 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-07-19 14:29:56 +0000
commit77281cb4b8f6ca50993963940d30929257fe084b (patch)
treede95e6d49860c12134aecfc2190eaac8b78c7743 /games/ltris
parent52b5fab34e89483ef1e4a3c20c56da77877ae2d6 (diff)
downloadports-77281cb4b8f6ca50993963940d30929257fe084b.tar.gz
ports-77281cb4b8f6ca50993963940d30929257fe084b.zip
Don't use "inline" keyword in header files for external functions
Fixes compilation with clang
Notes
Notes: svn path=/head/; revision=323298
Diffstat (limited to 'games/ltris')
-rw-r--r--games/ltris/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index f0a591d35ba1..b1fb0664dd6b 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -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}