aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/centericq
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-23 10:26:26 +0800
committerclsung <clsung@FreeBSD.org>2006-08-23 10:26:26 +0800
commit2654e649f8ca9ca5350bae38ea4883367f6e1c38 (patch)
treee18b7a60bad56818536f92cfe44ac443e035c55a /net-im/centericq
parent5a85ff27cf940d5f49fa52ee0c3b115668aca7c1 (diff)
downloadfreebsd-ports-gnome-2654e649f8ca9ca5350bae38ea4883367f6e1c38.tar.gz
freebsd-ports-gnome-2654e649f8ca9ca5350bae38ea4883367f6e1c38.tar.zst
freebsd-ports-gnome-2654e649f8ca9ca5350bae38ea4883367f6e1c38.zip
- fix signal 11 problem on amd64 when trying to join irc channel. [1]
- Fix yet one bug in libicq code. We don't need to free "it", since it was never allocated. This tends to core dumps. [2] PR: ports/102203 [1], ports/102405 [2] Submitted by: pasear <wchunhao_AT_cs dot nctu dot edu dot tw> [1], Stanislav Sedov <ssedov_AT_mbsd dot msk dot ru> [2]
Diffstat (limited to 'net-im/centericq')
-rw-r--r--net-im/centericq/Makefile2
-rw-r--r--net-im/centericq/files/patch-libicq2000-0.1_libicq2000_sigslot.h10
-rw-r--r--net-im/centericq/files/patch-src_icqdialogs.cc23
3 files changed, 34 insertions, 1 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 810baf94c53f..df065af7d3f1 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -8,7 +8,7 @@
PORTNAME= centericq
PORTVERSION= 4.21.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net-im
MASTER_SITES= http://centericq.de/archive/source/releases/ \
http://thekonst.net/download/
diff --git a/net-im/centericq/files/patch-libicq2000-0.1_libicq2000_sigslot.h b/net-im/centericq/files/patch-libicq2000-0.1_libicq2000_sigslot.h
new file mode 100644
index 000000000000..81f384b377aa
--- /dev/null
+++ b/net-im/centericq/files/patch-libicq2000-0.1_libicq2000_sigslot.h
@@ -0,0 +1,10 @@
+--- ./libicq2000-0.1/libicq2000/sigslot.h.orig Wed Aug 23 01:30:57 2006
++++ ./libicq2000-0.1/libicq2000/sigslot.h Wed Aug 23 01:34:04 2006
+@@ -616,7 +616,6 @@
+ if((*it)->getdest() == pslot)
+ {
+ m_connected_slots.erase(it);
+- delete *it;
+ }
+
+ it = itNext;
diff --git a/net-im/centericq/files/patch-src_icqdialogs.cc b/net-im/centericq/files/patch-src_icqdialogs.cc
new file mode 100644
index 000000000000..626a9f15bb9f
--- /dev/null
+++ b/net-im/centericq/files/patch-src_icqdialogs.cc
@@ -0,0 +1,23 @@
+--- src/icqdialogs.cc Fri Aug 18 04:42:04 2006
++++ src/icqdialogs.cc.new Fri Aug 18 04:44:07 2006
+@@ -210,17 +210,17 @@
+ switch(subj) {
+ case fsuser:
+ db.setbar(new horizontalbar(conf.getcolor(cp_dialog_text), conf.getcolor(cp_dialog_selected),
+- _("lOad"), _("sAve"), _("cLear"), _("Change"), _("Search/Add"), 0));
++ _("lOad"), _("sAve"), _("cLear"), _("Change"), _("Search/Add"), 0L));
+ break;
+
+ case fschannel:
+ db.setbar(new horizontalbar(conf.getcolor(cp_dialog_text), conf.getcolor(cp_dialog_selected),
+- _("cLear"), _("Change"), _("Join/Create"), 0));
++ _("cLear"), _("Change"), _("Join/Create"), 0L));
+ break;
+
+ case fsrss:
+ db.setbar(new horizontalbar(conf.getcolor(cp_dialog_text), conf.getcolor(cp_dialog_selected),
+- _("cLear"), _("Change"), _("lInk"), 0));
++ _("cLear"), _("Change"), _("lInk"), 0L));
+ break;
+ }
+