aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);