aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2010-01-17 17:09:48 +0100
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2010-01-17 18:57:40 +0100
commit2d3315393289290d009884649c2a76e41c3b7c87 (patch)
tree4203a150e213c99f6894d0180f5ed922e84aaee3 /recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch
parent08008989b6fbd7e6227f5f5b8425bac77c87b025 (diff)
downloadopenembedded-2d3315393289290d009884649c2a76e41c3b7c87.tar.gz
scim: add a couple of patches from Ubuntu, Debian and Gentoo.
* all relevant patches have been pushed to and committed upstream only relevant patch for the next release will be the generic, OE-only "configure.patch"
Diffstat (limited to 'recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch')
-rw-r--r--recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch b/recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch
new file mode 100644
index 0000000000..7fc7db3ae9
--- /dev/null
+++ b/recipes/scim/files/54_scim-1.4.7-xim-wrong-format.dpatch
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 54_scim-1.4.7-xim-wrong-format.dpatch by Ikuya Awashiro <ikuya@fruitsbasket.info>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix incorrect XIM_QUERY_EXTENSION_REPLY message
+## DP: https://bugzilla.redhat.com/show_bug.cgi?id=457566
+
+@DPATCH@
+diff -urNad scim-1.4.9~/modules/FrontEnd/IMdkit/i18nIMProto.c scim-1.4.9/modules/FrontEnd/IMdkit/i18nIMProto.c
+--- scim-1.4.9~/modules/FrontEnd/IMdkit/i18nIMProto.c 2008-11-02 06:42:13.000000000 +0000
++++ scim-1.4.9/modules/FrontEnd/IMdkit/i18nIMProto.c 2009-07-20 11:55:05.000000000 +0000
+@@ -106,11 +106,11 @@
+
+ static XimFrameRec ext_fr[] =
+ {
+- _FRAME(BIT16), /* extension major-opcode */
+- _FRAME(BIT16), /* extension minor-opcode */
++ _FRAME(BIT8), /* extension major-opcode */
++ _FRAME(BIT8), /* extension minor-opcode */
+ _FRAME(BIT16), /* length of extension name */
+ _FRAME(BARRAY), /* extension name */
+- _PAD4(2),
++ _PAD4(1),
+ _FRAME(EOL),
+ };
+