aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 12:01:14 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-20 12:01:14 +0800
commit6f01ead917ec97f75e48dcd4358b3a5f01263bc9 (patch)
treee833147122c7370619b6adb8a66228639e744f65 /net-im
parent8148334a919d132e83f5f8a64c299d325e19c601 (diff)
downloadfreebsd-ports-gnome-6f01ead917ec97f75e48dcd4358b3a5f01263bc9.tar.gz
freebsd-ports-gnome-6f01ead917ec97f75e48dcd4358b3a5f01263bc9.tar.zst
freebsd-ports-gnome-6f01ead917ec97f75e48dcd4358b3a5f01263bc9.zip
fix previous commit
Submitted by: Alan Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/centericq/Makefile2
-rw-r--r--net-im/centericq/files/patch-msnhook.cc6
2 files changed, 6 insertions, 2 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 1eeb9e11c015..d30428bc491e 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -8,7 +8,7 @@
PORTNAME= centericq
PORTVERSION= 4.8.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://konst.org.ua/download/
diff --git a/net-im/centericq/files/patch-msnhook.cc b/net-im/centericq/files/patch-msnhook.cc
index 12ceb55cf702..1e4940bb8926 100644
--- a/net-im/centericq/files/patch-msnhook.cc
+++ b/net-im/centericq/files/patch-msnhook.cc
@@ -39,7 +39,7 @@
em.store(immessage(ic, imevent::incoming, text));
if(c)
-@@ -453,3 +456,117 @@
+@@ -453,3 +456,121 @@
clist.get(contactroot)->playsound(imevent::email);
}
}
@@ -98,6 +98,7 @@
+ iconv_t handle = iconv_open( "utf-8", guess_current_locale_charset() );
+ ret = safe_iconv( handle, (const char **) &inbuf, &length, &outbuf, &outmaxlength );
+
++ *outbuf = '\0';
+ iconv_close( handle );
+
+ return outbuf_save;
@@ -115,6 +116,7 @@
+ iconv_t handle = iconv_open( "utf-8", guess_current_locale_charset() );
+ ret = safe_iconv( handle, (const char **) &inbuf, &length, &outbuf, &outmaxlength );
+
++ *outbuf = '\0';
+ iconv_close( handle );
+
+ std::string return_me = outbuf_save;
@@ -133,6 +135,7 @@
+
+ ret = safe_iconv( handle, (const char **) &inbuf, &length, &outbuf, &outmaxlength );
+
++ *outbuf = '\0';
+ iconv_close( handle );
+
+ return outbuf_save;
@@ -151,6 +154,7 @@
+
+ ret = safe_iconv( handle, (const char **) &inbuf, &length, &outbuf, &outmaxlength );
+
++ *outbuf = '\0';
+ iconv_close( handle );
+
+ std::string return_me = outbuf_save;