summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-13 06:58:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-13 06:58:21 +0000
commit0bd1d15402a8d3f870b4c02dfedf7aa285b8ad83 (patch)
tree76af09f1849f478476b29308699e3ea4584cb371 /net
parentBump PORTREVISION (devel/newt shlib bump) (diff)
Fix a segfault in the Yahoo! module.
Reported by: Kenneth W Cochran <kwc@TheWorld.com> Obtained from: gaim CVS
Notes
Notes: svn path=/head/; revision=67953
Diffstat (limited to 'net')
-rw-r--r--net/gaim-snapshot/Makefile2
-rw-r--r--net/gaim-snapshot/files/patch-temp12
-rw-r--r--net/gaim/Makefile2
-rw-r--r--net/gaim/files/patch-temp12
4 files changed, 26 insertions, 2 deletions
diff --git a/net/gaim-snapshot/Makefile b/net/gaim-snapshot/Makefile
index 5fb47908dde0..f7adace4035d 100644
--- a/net/gaim-snapshot/Makefile
+++ b/net/gaim-snapshot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gaim
PORTVERSION= 0.59.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net/gaim-snapshot/files/patch-temp b/net/gaim-snapshot/files/patch-temp
new file mode 100644
index 000000000000..39073683ae61
--- /dev/null
+++ b/net/gaim-snapshot/files/patch-temp
@@ -0,0 +1,12 @@
+--- src/protocols/yahoo/yahoo.c.orig Sun Oct 13 02:50:25 2002
++++ src/protocols/yahoo/yahoo.c Sun Oct 13 02:50:58 2002
+@@ -525,6 +525,9 @@
+ l = l->next;
+ }
+
++ if (!msg)
++ return;
++
+ if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) {
+ if (*stat == '1')
+ serv_got_typing(gc, from, 0);
diff --git a/net/gaim/Makefile b/net/gaim/Makefile
index 5fb47908dde0..f7adace4035d 100644
--- a/net/gaim/Makefile
+++ b/net/gaim/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gaim
PORTVERSION= 0.59.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net/gaim/files/patch-temp b/net/gaim/files/patch-temp
new file mode 100644
index 000000000000..39073683ae61
--- /dev/null
+++ b/net/gaim/files/patch-temp
@@ -0,0 +1,12 @@
+--- src/protocols/yahoo/yahoo.c.orig Sun Oct 13 02:50:25 2002
++++ src/protocols/yahoo/yahoo.c Sun Oct 13 02:50:58 2002
+@@ -525,6 +525,9 @@
+ l = l->next;
+ }
+
++ if (!msg)
++ return;
++
+ if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) {
+ if (*stat == '1')
+ serv_got_typing(gc, from, 0);