diff options
author | johans <johans@FreeBSD.org> | 2013-07-19 22:29:56 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2013-07-19 22:29:56 +0800 |
commit | 61f2cd6218942bdf1f9d58aec8386fd0a924958c (patch) | |
tree | de95e6d49860c12134aecfc2190eaac8b78c7743 | |
parent | 507d1d1a0f78c4caa61a38dbf96a0d50094c411c (diff) | |
download | freebsd-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
-rw-r--r-- | games/ltris/Makefile | 2 |
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} |