From 332f0fa398e296b4b810a358e4d9f93dba32e5dd Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 2 Apr 2005 08:46:36 +0000 Subject: Fix the build on 4.X. Reported by: pointyhat via kris --- net-im/meanwhile-gaim/files/patch-src_mwgaim.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 net-im/meanwhile-gaim/files/patch-src_mwgaim.c (limited to 'net-im/meanwhile-gaim') 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..59de63728382 --- /dev/null +++ b/net-im/meanwhile-gaim/files/patch-src_mwgaim.c @@ -0,0 +1,19 @@ +--- src/mwgaim.c.orig Thu Mar 24 12:49:15 2005 ++++ src/mwgaim.c Thu Mar 24 12:49:50 2005 +@@ -1651,6 +1651,7 @@ static void im_recv_mime(struct mwConver + GString *atstr; + gsize len = (end - start); + char *tt; ++ gsize mov; + + atstr = g_string_new(""); + if(alt) g_string_append_printf(atstr, " alt=\"%s\"", alt); +@@ -1661,7 +1662,7 @@ static void im_recv_mime(struct mwConver + DEBUG_INFO("rewriting IMG\n{%s}\n", tt); + g_free(tt); + +- gsize mov = g_snprintf(start, len, "str, img); + while(mov < len) start[mov++] = ' '; + -- cgit v1.2.3