1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Unbreak with CLANG/GCC46

PR:		163368
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer timeout
This commit is contained in:
Martin Wilke 2012-01-14 19:16:49 +00:00
parent 8df6c0e0e2
commit c50b196845
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289220

View File

@ -24,4 +24,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/id3ed ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/id3ed.1 ${MANPREFIX}/man/man1
post-patch:
@${REINPLACE_CMD} '/main/s/unsigned int/int/' \
${WRKSRC}/examples/demo_*.cpp
@${REINPLACE_CMD} 's/\(iomanip\)\.h/\1/' ${WRKSRC}/configure
@${REINPLACE_CMD} '/include.*/{ p; s//include <cstring>/; n;n;n; }' \
${WRKSRC}/include/id3/id3lib_strings.h \
${WRKSRC}/include/id3/writers.h
.include <bsd.port.mk>