aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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