summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-12-30 14:06:14 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-12-30 14:06:14 +0000
commit71a858c07c6e67115acd16955fcc1a2862103015 (patch)
treea4da98c34262fc876c9f057aeea75c007406c274 /net
parent- Update to 2.3.6 (diff)
- Unbreak with gcc 4.2
Notes
Notes: svn path=/head/; revision=204709
Diffstat (limited to 'net')
-rw-r--r--net/vyqchat/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/vyqchat/Makefile b/net/vyqchat/Makefile
index 60d95f81846e..36c9224b66a6 100644
--- a/net/vyqchat/Makefile
+++ b/net/vyqchat/Makefile
@@ -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>