summaryrefslogtreecommitdiff
path: root/audio/tta
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-02-06 12:29:24 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-02-06 12:29:24 +0000
commit8bab7cd3d33b00dcb58a8b39a3e1f251be3174f0 (patch)
treec286d44ca0eb040c30eaacd21c658f17c8292ffe /audio/tta
parent- Chase unixODBC shlib bump (diff)
Fix the build with Clang.
Submitted by: Cyril Roelandt
Notes
Notes: svn path=/head/; revision=290491
Diffstat (limited to 'audio/tta')
-rw-r--r--audio/tta/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/tta/Makefile b/audio/tta/Makefile
index fa502bd386b5..e285c237e8ce 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