aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-02-06 20:29:24 +0800
committerdanfe <danfe@FreeBSD.org>2012-02-06 20:29:24 +0800
commit2c4ea7f13c605e58060af46fdd77f65550e095e4 (patch)
tree2a35de88899f62a9d821cfc92fe92f704eb3d883 /audio
parent6afa7fea3b01e1990a38a91a97d897bb328d6a12 (diff)
downloadfreebsd-ports-graphics-2c4ea7f13c605e58060af46fdd77f65550e095e4.tar.gz
freebsd-ports-graphics-2c4ea7f13c605e58060af46fdd77f65550e095e4.tar.zst
freebsd-ports-graphics-2c4ea7f13c605e58060af46fdd77f65550e095e4.zip
Fix the build with Clang.
Submitted by: Cyril Roelandt
Diffstat (limited to 'audio')
-rw-r--r--audio/tta/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/tta/Makefile b/audio/tta/Makefile
index fa502bd386b..e285c237e8c 100644
--- a/audio/tta/Makefile
+++ b/audio/tta/Makefile
@@ -27,6 +27,7 @@ PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
${WRKSRC}/ttaenc.h
+ @${REINPLACE_CMD} -e 's|__inline void|static &|' ${WRKSRC}/ttaenc.c
@${REINPLACE_CMD} -e 's|gcc|${CC}| ; /strip/d ; \
s|install -m 755|${INSTALL_PROGRAM}|' ${WRKSRC}/Makefile