mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Fix build on 4.X.
This commit is contained in:
parent
a1abb3f3f0
commit
8139d3292d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112184
20
net-im/meanwhile-gaim/files/patch-src_mwgaim.c
Normal file
20
net-im/meanwhile-gaim/files/patch-src_mwgaim.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/mwgaim.c.orig Thu Jun 24 20:55:29 2004
|
||||
+++ src/mwgaim.c Thu Jun 24 20:56:30 2004
|
||||
@@ -723,11 +723,14 @@
|
||||
|
||||
|
||||
static char *mw_list_status_text(GaimBuddy *b) {
|
||||
+ struct mw_plugin_data *pd;
|
||||
+ struct mwIdBlock i = { b->name, NULL };
|
||||
+ const char *t;
|
||||
+
|
||||
g_return_val_if_fail(b, NULL);
|
||||
|
||||
- struct mw_plugin_data *pd = PLUGIN_DATA(b->account->gc);
|
||||
- struct mwIdBlock i = { b->name, NULL };
|
||||
- const char *t = mwServiceAware_getText(pd->srvc_aware, &i);
|
||||
+ pd = PLUGIN_DATA(b->account->gc);
|
||||
+ t = mwServiceAware_getText(pd->srvc_aware, &i);
|
||||
return t? g_strdup(t): NULL;
|
||||
}
|
||||
|
19
net-im/meanwhile/files/patch-src_srvc_im.c
Normal file
19
net-im/meanwhile/files/patch-src_srvc_im.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/srvc_im.c.orig Thu Jun 24 20:53:09 2004
|
||||
+++ src/srvc_im.c Thu Jun 24 20:53:33 2004
|
||||
@@ -160,12 +160,14 @@
|
||||
struct mwSession *s;
|
||||
struct mwChannelSet *cs;
|
||||
unsigned int a, b;
|
||||
+ char *buf;
|
||||
+ gsize n;
|
||||
|
||||
s = chan->session;
|
||||
cs = s->channels;
|
||||
|
||||
- char *buf = msg->addtl.data;
|
||||
- gsize n = msg->addtl.len;
|
||||
+ buf = msg->addtl.data;
|
||||
+ n = msg->addtl.len;
|
||||
|
||||
if( (msg->service != Service_IM) ||
|
||||
(msg->proto_type != Protocol_IM) ||
|
20
net/meanwhile-gaim/files/patch-src_mwgaim.c
Normal file
20
net/meanwhile-gaim/files/patch-src_mwgaim.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/mwgaim.c.orig Thu Jun 24 20:55:29 2004
|
||||
+++ src/mwgaim.c Thu Jun 24 20:56:30 2004
|
||||
@@ -723,11 +723,14 @@
|
||||
|
||||
|
||||
static char *mw_list_status_text(GaimBuddy *b) {
|
||||
+ struct mw_plugin_data *pd;
|
||||
+ struct mwIdBlock i = { b->name, NULL };
|
||||
+ const char *t;
|
||||
+
|
||||
g_return_val_if_fail(b, NULL);
|
||||
|
||||
- struct mw_plugin_data *pd = PLUGIN_DATA(b->account->gc);
|
||||
- struct mwIdBlock i = { b->name, NULL };
|
||||
- const char *t = mwServiceAware_getText(pd->srvc_aware, &i);
|
||||
+ pd = PLUGIN_DATA(b->account->gc);
|
||||
+ t = mwServiceAware_getText(pd->srvc_aware, &i);
|
||||
return t? g_strdup(t): NULL;
|
||||
}
|
||||
|
19
net/meanwhile/files/patch-src_srvc_im.c
Normal file
19
net/meanwhile/files/patch-src_srvc_im.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/srvc_im.c.orig Thu Jun 24 20:53:09 2004
|
||||
+++ src/srvc_im.c Thu Jun 24 20:53:33 2004
|
||||
@@ -160,12 +160,14 @@
|
||||
struct mwSession *s;
|
||||
struct mwChannelSet *cs;
|
||||
unsigned int a, b;
|
||||
+ char *buf;
|
||||
+ gsize n;
|
||||
|
||||
s = chan->session;
|
||||
cs = s->channels;
|
||||
|
||||
- char *buf = msg->addtl.data;
|
||||
- gsize n = msg->addtl.len;
|
||||
+ buf = msg->addtl.data;
|
||||
+ n = msg->addtl.len;
|
||||
|
||||
if( (msg->service != Service_IM) ||
|
||||
(msg->proto_type != Protocol_IM) ||
|
Loading…
Reference in New Issue
Block a user