aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-07-19 22:29:56 +0800
committerjohans <johans@FreeBSD.org>2013-07-19 22:29:56 +0800
commit61f2cd6218942bdf1f9d58aec8386fd0a924958c (patch)
treede95e6d49860c12134aecfc2190eaac8b78c7743 /games
parent507d1d1a0f78c4caa61a38dbf96a0d50094c411c (diff)
downloadfreebsd-ports-gnome-61f2cd6218942bdf1f9d58aec8386fd0a924958c.tar.gz
freebsd-ports-gnome-61f2cd6218942bdf1f9d58aec8386fd0a924958c.tar.zst
freebsd-ports-gnome-61f2cd6218942bdf1f9d58aec8386fd0a924958c.zip
Don't use "inline" keyword in header files for external functions
Fixes compilation with clang
Diffstat (limited to 'games')
-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}