- 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]
This commit is contained in:
Cheng-Lung Sung 2006-08-23 02:26:26 +00:00
parent ae7dae5b0f
commit 344e230f22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171231
3 changed files with 34 additions and 1 deletions

View File

@ -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/

View File

@ -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;

View File

@ -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;
}