summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-08-05 22:14:38 +0000
committerAlex Kozlov <ak@FreeBSD.org>2012-08-05 22:14:38 +0000
commite90dd95c4a9159c1ef0747f3213136106f632068 (patch)
tree83fe739841069097297725da63dcbe20d5506dea
parentRemove a comment that is spurious now that local rc.d files are included (diff)
- Fix build with clang
PR: ports/169179 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=302137
-rw-r--r--games/netrek-client-cow/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/netrek-client-cow/Makefile b/games/netrek-client-cow/Makefile
index d0fcd0566506..036bccb7048f 100644
--- a/games/netrek-client-cow/Makefile
+++ b/games/netrek-client-cow/Makefile
@@ -25,6 +25,8 @@ CONFIGURE_ARGS+= NORSA='\#'
post-patch:
${REINPLACE_CMD} -e 's|ushort damage|unsigned short damage|' \
${WRKSRC}/short.c
+ ${REINPLACE_CMD} -e 's|inline void|void|' \
+ ${WRKSRC}/local.[ch]
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/x11sprite.c ${WRKSRC}/netrek-client-cow.desktop
${REINPLACE_CMD} -e 's|games|bin|' \