diff options
author | marcus <marcus@FreeBSD.org> | 2005-04-02 16:46:36 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-04-02 16:46:36 +0800 |
commit | 538ff8640fd1664f273cd56a5e5b66279b60ddda (patch) | |
tree | 276cba9ecb803dcfc35ec62ad027fc3c902b0a1c /net-im/meanwhile-gaim | |
parent | 5bfa9cdf6b2c386d35cff8ae4086f93bfe57ba40 (diff) | |
download | freebsd-ports-gnome-538ff8640fd1664f273cd56a5e5b66279b60ddda.tar.gz freebsd-ports-gnome-538ff8640fd1664f273cd56a5e5b66279b60ddda.tar.zst freebsd-ports-gnome-538ff8640fd1664f273cd56a5e5b66279b60ddda.zip |
Fix the build on 4.X.
Reported by: pointyhat via kris
Diffstat (limited to 'net-im/meanwhile-gaim')
-rw-r--r-- | net-im/meanwhile-gaim/files/patch-src_mwgaim.c | 19 |
1 files changed, 19 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..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, "<img%s id=\"%i\"", ++ mov = g_snprintf(start, len, "<img%s id=\"%i\"", + atstr->str, img); + while(mov < len) start[mov++] = ' '; + |