aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-12-30 22:06:14 +0800
committerrafan <rafan@FreeBSD.org>2007-12-30 22:06:14 +0800
commit8ad353cea1ae6c2442862eed7e892896601e1c68 (patch)
tree1ecf809c22be44158cc4bf0f68dab2007373095e /net
parent2665091308f3848c0262f16b25b4ed0c59b1f2ac (diff)
downloadfreebsd-ports-gnome-8ad353cea1ae6c2442862eed7e892896601e1c68.tar.gz
freebsd-ports-gnome-8ad353cea1ae6c2442862eed7e892896601e1c68.tar.zst
freebsd-ports-gnome-8ad353cea1ae6c2442862eed7e892896601e1c68.zip
- Unbreak with gcc 4.2
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>