aboutsummaryrefslogtreecommitdiffstats
path: root/net/meanwhile-gaim
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-25 08:58:04 +0800
committermarcus <marcus@FreeBSD.org>2004-06-25 08:58:04 +0800
commit1e879f5b0150d8dd84b07f14dd9243172395df02 (patch)
tree1ef44a9a6a766280e6c8229985eecf8944aa6703 /net/meanwhile-gaim
parentfbac97c8c924d98a07a61aee8d76db7fd63c854f (diff)
downloadfreebsd-ports-graphics-1e879f5b0150d8dd84b07f14dd9243172395df02.tar.gz
freebsd-ports-graphics-1e879f5b0150d8dd84b07f14dd9243172395df02.tar.zst
freebsd-ports-graphics-1e879f5b0150d8dd84b07f14dd9243172395df02.zip
Fix build on 4.X.
Diffstat (limited to 'net/meanwhile-gaim')
-rw-r--r--net/meanwhile-gaim/files/patch-src_mwgaim.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/meanwhile-gaim/files/patch-src_mwgaim.c b/net/meanwhile-gaim/files/patch-src_mwgaim.c
new file mode 100644
index 00000000000..e6aa8438cc8
--- /dev/null
+++ b/net/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;
+ }
+