summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-11-23 05:09:40 +0000
committerChuck Short <zul@gentoo.org>2003-11-23 05:09:40 +0000
commitfa0c9d9ffc57169a919f6abac64b8ef79ad8263f (patch)
treebd00c6f714e8004527ccc9e40bd7334e7828ff0f /net-irc/xchat/files
parentNew version add patches (diff)
downloadgentoo-2-fa0c9d9ffc57169a919f6abac64b8ef79ad8263f.tar.gz
gentoo-2-fa0c9d9ffc57169a919f6abac64b8ef79ad8263f.tar.bz2
gentoo-2-fa0c9d9ffc57169a919f6abac64b8ef79ad8263f.zip
New version add patches
Diffstat (limited to 'net-irc/xchat/files')
-rw-r--r--net-irc/xchat/files/digest-xchat-2.0.5-r11
-rw-r--r--net-irc/xchat/files/xc205-fix-emptyword.diff16
-rw-r--r--net-irc/xchat/files/xc205-fix64bit.diff47
3 files changed, 64 insertions, 0 deletions
diff --git a/net-irc/xchat/files/digest-xchat-2.0.5-r1 b/net-irc/xchat/files/digest-xchat-2.0.5-r1
new file mode 100644
index 000000000000..1b857ff4f118
--- /dev/null
+++ b/net-irc/xchat/files/digest-xchat-2.0.5-r1
@@ -0,0 +1 @@
+MD5 8a594ed57287a9fb212425ecba8d5401 xchat-2.0.5.tar.bz2 902581
diff --git a/net-irc/xchat/files/xc205-fix-emptyword.diff b/net-irc/xchat/files/xc205-fix-emptyword.diff
new file mode 100644
index 000000000000..3d1a1720a184
--- /dev/null
+++ b/net-irc/xchat/files/xc205-fix-emptyword.diff
@@ -0,0 +1,16 @@
+# fix skiping of "" in word[] array.
+# Side effect: fixes DCC RESUME with mIRC >= 6.1
+--- xchat-2.0.5/src/common/outbound.c 2003-09-05 21:12:52.000000000 +1000
++++ xchat-2.0.6/src/common/outbound.c 2003-10-16 14:00:52.000000000 +1000
+@@ -185,8 +185,10 @@
+ if (!handle_quotes)
+ goto def;
+ if (quote)
++ {
+ quote = FALSE;
+- else
++ space = FALSE;
++ } else
+ quote = TRUE;
+ cmd++;
+ break;
diff --git a/net-irc/xchat/files/xc205-fix64bit.diff b/net-irc/xchat/files/xc205-fix64bit.diff
new file mode 100644
index 000000000000..f41f760e2872
--- /dev/null
+++ b/net-irc/xchat/files/xc205-fix64bit.diff
@@ -0,0 +1,47 @@
+# fixes 64bit issues (where a pointer to int was given, instead of gsize).
+--- xchat-2.0.5/src/common/server.c 2003-08-11 01:40:15.000000000 +1000
++++ xchat-2.0.6/src/common/server.c 2003-10-07 14:54:26.000000000 +1000
+@@ -289,8 +289,8 @@
+ {
+ char *conv_line; /* holds a copy of the original string */
+ int conv_len; /* tells g_convert how much of line to convert */
+- int utf_len;
+- int read_len;
++ gsize utf_len;
++ gsize read_len;
+ GError *err;
+ gboolean retry;
+
+--- xchat-2.0.5/src/common/text.c 2003-09-21 20:36:15.000000000 +1000
++++ xchat-2.0.6/src/common/text.c 2003-10-07 15:01:06.000000000 +1000
+@@ -446,7 +446,7 @@
+ get_stamp_str (char *fmt, time_t tim, char **ret)
+ {
+ char dest[128];
+- int len;
++ gsize len;
+
+ len = strftime (dest, sizeof (dest), fmt, localtime (&tim));
+ if (len)
+--- xchat-2.0.5/src/fe-gtk/xtext.c 2003-09-18 15:26:52.000000000 +1000
++++ xchat-2.0.6/src/fe-gtk/xtext.c 2003-10-07 14:57:14.000000000 +1000
+@@ -2126,6 +2126,7 @@
+ char *stripped;
+ guchar *new_text;
+ int len;
++ gsize glen;
+
+ stripped = gtk_xtext_selection_get_text (xtext, &len);
+ if (!stripped)
+@@ -2158,9 +2159,9 @@
+ }
+ break;
+ default:
+- new_text = g_locale_from_utf8 (stripped, len, NULL, &len, NULL);
++ new_text = g_locale_from_utf8 (stripped, len, NULL, &glen, NULL);
+ gtk_selection_data_set (selection_data_ptr, GDK_SELECTION_TYPE_STRING,
+- 8, new_text, len);
++ 8, new_text, glen);
+ g_free (new_text);
+ }
+