1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build with clang

PR:	ports/169179
Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (maintainer)
This commit is contained in:
Alex Kozlov 2012-08-05 22:14:38 +00:00
parent e0ff1d9fd9
commit e90dd95c4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302137

View File

@ -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|' \