aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-im/gaim/Makefile1
-rw-r--r--net-im/gaim/files/patch-src::protocols::irc::irc.c24
-rw-r--r--net/gaim/Makefile1
-rw-r--r--net/gaim/files/patch-src::protocols::irc::irc.c24
4 files changed, 50 insertions, 0 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile
index 2d8941929734..b029da9c026f 100644
--- a/net-im/gaim/Makefile
+++ b/net-im/gaim/Makefile
@@ -6,6 +6,7 @@
PORTNAME= gaim
PORTVERSION= 0.66
+PORTREVISION= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net-im/gaim/files/patch-src::protocols::irc::irc.c b/net-im/gaim/files/patch-src::protocols::irc::irc.c
new file mode 100644
index 000000000000..0c972988bda3
--- /dev/null
+++ b/net-im/gaim/files/patch-src::protocols::irc::irc.c
@@ -0,0 +1,24 @@
+--- src/protocols/irc/irc.c.orig Thu Jul 17 22:55:23 2003
++++ src/protocols/irc/irc.c Wed Aug 13 08:30:08 2003
+@@ -1153,7 +1153,9 @@
+ if (*who == '+')
+ who++;
+ if (!gaim_utf8_strcasecmp(who, nick)) {
+- gaim_chat_remove_user(chat, who, reason);
++ char *tmp = g_strdup(r->data);
++ gaim_chat_remove_user(chat, tmp, reason);
++ g_free(tmp);
+ break;
+ }
+ r = r->next;
+@@ -1793,7 +1795,9 @@
+ if (*who == '+')
+ who++;
+ if (!gaim_utf8_strcasecmp(who, nick)) {
+- gaim_chat_remove_user(chat, who, reason);
++ char *tmp = g_strdup(r->data);
++ gaim_chat_remove_user(chat, tmp, reason);
++ g_free(tmp);
+ break;
+ }
+ r = r->next;
diff --git a/net/gaim/Makefile b/net/gaim/Makefile
index 2d8941929734..b029da9c026f 100644
--- a/net/gaim/Makefile
+++ b/net/gaim/Makefile
@@ -6,6 +6,7 @@
PORTNAME= gaim
PORTVERSION= 0.66
+PORTREVISION= 1
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net/gaim/files/patch-src::protocols::irc::irc.c b/net/gaim/files/patch-src::protocols::irc::irc.c
new file mode 100644
index 000000000000..0c972988bda3
--- /dev/null
+++ b/net/gaim/files/patch-src::protocols::irc::irc.c
@@ -0,0 +1,24 @@
+--- src/protocols/irc/irc.c.orig Thu Jul 17 22:55:23 2003
++++ src/protocols/irc/irc.c Wed Aug 13 08:30:08 2003
+@@ -1153,7 +1153,9 @@
+ if (*who == '+')
+ who++;
+ if (!gaim_utf8_strcasecmp(who, nick)) {
+- gaim_chat_remove_user(chat, who, reason);
++ char *tmp = g_strdup(r->data);
++ gaim_chat_remove_user(chat, tmp, reason);
++ g_free(tmp);
+ break;
+ }
+ r = r->next;
+@@ -1793,7 +1795,9 @@
+ if (*who == '+')
+ who++;
+ if (!gaim_utf8_strcasecmp(who, nick)) {
+- gaim_chat_remove_user(chat, who, reason);
++ char *tmp = g_strdup(r->data);
++ gaim_chat_remove_user(chat, tmp, reason);
++ g_free(tmp);
+ break;
+ }
+ r = r->next;