- Unbreak with gcc 4.2

This commit is contained in:
Rong-En Fan 2007-12-30 14:06:14 +00:00
parent 55bdca20b5
commit 71a858c07c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204709

View File

@ -39,8 +39,12 @@ LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
post-patch:
@${REINPLACE_CMD} -e 's,Settings::getUUID,getUUID,' \
${WRKSRC}/src/settings.h
@${REINPLACE_CMD} -e 's,Sound::error,error,' \
${WRKSRC}/src/sound.h
@${REINPLACE_CMD} -e 's,User::setStatus,setStatus,' \
${WRKSRC}/src/user.h
.include <bsd.port.post.mk>