Fix the problem where users were unable to sign on to Yahoo, or were
signed on then immediately kicked off with a "Cannot read" error. Obtained from: Gaim CVS
This commit is contained in:
parent
5b7c49f2c0
commit
7ca4597d50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72655
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.59.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
20
net-im/gaim/files/patch-src_protocols_yahoo_yahoo.c
Normal file
20
net-im/gaim/files/patch-src_protocols_yahoo_yahoo.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/protocols/yahoo/yahoo.c.orig Sat Dec 7 12:54:15 2002
|
||||
+++ src/protocols/yahoo/yahoo.c Mon Jan 6 18:48:24 2003
|
||||
@@ -87,6 +87,8 @@
|
||||
#define USEROPT_PAGERPORT 4
|
||||
#define YAHOO_PAGER_PORT 5050
|
||||
|
||||
+#define YAHOO_PROTO_VER 0x0900
|
||||
+
|
||||
enum yahoo_service { /* these are easier to see in hex */
|
||||
YAHOO_SERVICE_LOGON = 1,
|
||||
YAHOO_SERVICE_LOGOFF,
|
||||
@@ -352,7 +354,7 @@
|
||||
data = g_malloc0(len + 1);
|
||||
|
||||
memcpy(data + pos, "YMSG", 4); pos += 4;
|
||||
- pos += yahoo_put16(data + pos, 0x0600);
|
||||
+ pos += yahoo_put16(data + pos, YAHOO_PROTO_VER);
|
||||
pos += yahoo_put16(data + pos, 0x0000);
|
||||
pos += yahoo_put16(data + pos, pktlen);
|
||||
pos += yahoo_put16(data + pos, pkt->service);
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.59.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
20
net/gaim-snapshot/files/patch-src_protocols_yahoo_yahoo.c
Normal file
20
net/gaim-snapshot/files/patch-src_protocols_yahoo_yahoo.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/protocols/yahoo/yahoo.c.orig Sat Dec 7 12:54:15 2002
|
||||
+++ src/protocols/yahoo/yahoo.c Mon Jan 6 18:48:24 2003
|
||||
@@ -87,6 +87,8 @@
|
||||
#define USEROPT_PAGERPORT 4
|
||||
#define YAHOO_PAGER_PORT 5050
|
||||
|
||||
+#define YAHOO_PROTO_VER 0x0900
|
||||
+
|
||||
enum yahoo_service { /* these are easier to see in hex */
|
||||
YAHOO_SERVICE_LOGON = 1,
|
||||
YAHOO_SERVICE_LOGOFF,
|
||||
@@ -352,7 +354,7 @@
|
||||
data = g_malloc0(len + 1);
|
||||
|
||||
memcpy(data + pos, "YMSG", 4); pos += 4;
|
||||
- pos += yahoo_put16(data + pos, 0x0600);
|
||||
+ pos += yahoo_put16(data + pos, YAHOO_PROTO_VER);
|
||||
pos += yahoo_put16(data + pos, 0x0000);
|
||||
pos += yahoo_put16(data + pos, pktlen);
|
||||
pos += yahoo_put16(data + pos, pkt->service);
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.59.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
20
net/gaim/files/patch-src_protocols_yahoo_yahoo.c
Normal file
20
net/gaim/files/patch-src_protocols_yahoo_yahoo.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/protocols/yahoo/yahoo.c.orig Sat Dec 7 12:54:15 2002
|
||||
+++ src/protocols/yahoo/yahoo.c Mon Jan 6 18:48:24 2003
|
||||
@@ -87,6 +87,8 @@
|
||||
#define USEROPT_PAGERPORT 4
|
||||
#define YAHOO_PAGER_PORT 5050
|
||||
|
||||
+#define YAHOO_PROTO_VER 0x0900
|
||||
+
|
||||
enum yahoo_service { /* these are easier to see in hex */
|
||||
YAHOO_SERVICE_LOGON = 1,
|
||||
YAHOO_SERVICE_LOGOFF,
|
||||
@@ -352,7 +354,7 @@
|
||||
data = g_malloc0(len + 1);
|
||||
|
||||
memcpy(data + pos, "YMSG", 4); pos += 4;
|
||||
- pos += yahoo_put16(data + pos, 0x0600);
|
||||
+ pos += yahoo_put16(data + pos, YAHOO_PROTO_VER);
|
||||
pos += yahoo_put16(data + pos, 0x0000);
|
||||
pos += yahoo_put16(data + pos, pktlen);
|
||||
pos += yahoo_put16(data + pos, pkt->service);
|
Loading…
Reference in New Issue
Block a user