aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-07 19:11:16 +0800
committergahr <gahr@FreeBSD.org>2008-07-07 19:11:16 +0800
commitbc6067767c56734ef4c20c163ec5e54fb028bda2 (patch)
tree5609caa6a5431fbd6b06484d86bbec3247931b04 /net
parent2b8c0786c9c261865c64ce31bb4d99f6a4587dd4 (diff)
downloadfreebsd-ports-gnome-bc6067767c56734ef4c20c163ec5e54fb028bda2.tar.gz
freebsd-ports-gnome-bc6067767c56734ef4c20c163ec5e54fb028bda2.tar.zst
freebsd-ports-gnome-bc6067767c56734ef4c20c163ec5e54fb028bda2.zip
- Fix build with GCC 4.2
PR: 125220 Submitted by: Alex Miller <asm@asm.kiev.ua> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/frickin/Makefile5
-rw-r--r--net/frickin/files/patch-session.cpp11
2 files changed, 12 insertions, 4 deletions
diff --git a/net/frickin/Makefile b/net/frickin/Makefile
index f33abb0b6ace..fc0ecbc2a76d 100644
--- a/net/frickin/Makefile
+++ b/net/frickin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= frickin
DISTVERSION= 2.0BETA2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@@ -43,8 +44,4 @@ do-install:
IGNORE= does not compile with old version of pf
.endif
-.if ${OSVERSION} >= 700042
-BROKEN= does not compile with gcc 4.2
-.endif
-
.include <bsd.port.post.mk>
diff --git a/net/frickin/files/patch-session.cpp b/net/frickin/files/patch-session.cpp
new file mode 100644
index 000000000000..886d180c22f5
--- /dev/null
+++ b/net/frickin/files/patch-session.cpp
@@ -0,0 +1,11 @@
+--- src/session.cpp.orig 2007-01-13 19:28:47.000000000 +0200
++++ src/session.cpp 2008-07-03 16:33:51.000000000 +0300
+@@ -130,7 +130,7 @@
+
+ Session* Session::detatch(Client* a_Client)
+ {
+- list<Client*>::iterator clientIter = NULL;
++ list<Client*>::iterator clientIter = m_ClientList.end();
+
+ assert(a_Client);
+ clientIter = find(m_ClientList.begin(), m_ClientList.end(), a_Client);