diff options
author | marcus <marcus@FreeBSD.org> | 2004-06-25 08:58:04 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-06-25 08:58:04 +0800 |
commit | 1e879f5b0150d8dd84b07f14dd9243172395df02 (patch) | |
tree | 1ef44a9a6a766280e6c8229985eecf8944aa6703 /net-im | |
parent | fbac97c8c924d98a07a61aee8d76db7fd63c854f (diff) | |
download | freebsd-ports-gnome-1e879f5b0150d8dd84b07f14dd9243172395df02.tar.gz freebsd-ports-gnome-1e879f5b0150d8dd84b07f14dd9243172395df02.tar.zst freebsd-ports-gnome-1e879f5b0150d8dd84b07f14dd9243172395df02.zip |
Fix build on 4.X.
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/meanwhile-gaim/files/patch-src_mwgaim.c | 20 | ||||
-rw-r--r-- | net-im/meanwhile/files/patch-src_srvc_im.c | 19 |
2 files changed, 39 insertions, 0 deletions
diff --git a/net-im/meanwhile-gaim/files/patch-src_mwgaim.c b/net-im/meanwhile-gaim/files/patch-src_mwgaim.c new file mode 100644 index 000000000000..e6aa8438cc82 --- /dev/null +++ b/net-im/meanwhile-gaim/files/patch-src_mwgaim.c @@ -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; + } + diff --git a/net-im/meanwhile/files/patch-src_srvc_im.c b/net-im/meanwhile/files/patch-src_srvc_im.c new file mode 100644 index 000000000000..47d70264e8b6 --- /dev/null +++ b/net-im/meanwhile/files/patch-src_srvc_im.c @@ -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) || |