summaryrefslogtreecommitdiff
path: root/debian/patches/02tr_TR.dpatch
diff options
context:
space:
mode:
authordpash <dpash@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-07-15 21:54:15 +0000
committerdpash <dpash@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-07-15 21:54:15 +0000
commitae62c8f9c7eaf43ebf3c0ee5714420c04d447c1d (patch)
treed10340687143a5e82686683b11bbc667e898d3e0 /debian/patches/02tr_TR.dpatch
parenta06efdc97cb11b87d4397d33e0ece8e50f4e9cc5 (diff)
downloadirssi-ae62c8f9c7eaf43ebf3c0ee5714420c04d447c1d.zip
Massively overhaul the debian packaging to bring it up to 0.8.10rc5
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3855 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'debian/patches/02tr_TR.dpatch')
-rwxr-xr-xdebian/patches/02tr_TR.dpatch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/02tr_TR.dpatch b/debian/patches/02tr_TR.dpatch
new file mode 100755
index 00000000..5e010925
--- /dev/null
+++ b/debian/patches/02tr_TR.dpatch
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02tr_TR.dpatch by David Pashley <david@davidpashley.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./src/perl/perl-common.c /tmp/dpep-work.uNmkb9/irssi-0.8.10~rc5/src/perl/perl-common.c
+--- ./src/perl/perl-common.c 2004-01-20 12:08:41.000000000 +0200
++++ /tmp/dpep-work.uNmkb9/irssi-0.8.10~rc5/src/perl/perl-common.c 2005-07-15 22:10:34.000000000 +0300
+@@ -566,8 +566,13 @@
+ chat_type = chat_protocol_lookup(rec->name);
+ g_return_if_fail(chat_type >= 0);
+
++#if GLIB_MAJOR_VERSION < 2
+ name = g_strdup(rec->name);
+ g_strdown(name+1);
++#else
++ name = g_ascii_strdown(rec->name,-1);
++ *name = *(rec->name);
++#endif
+
+ /* window items: channel, query */
+ type = module_get_uniq_id_str("WINDOW ITEM TYPE", "CHANNEL");