summaryrefslogtreecommitdiff
path: root/recipes/scim/files/gcc-4.4-const-char.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/scim/files/gcc-4.4-const-char.dpatch')
-rw-r--r--recipes/scim/files/gcc-4.4-const-char.dpatch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/scim/files/gcc-4.4-const-char.dpatch b/recipes/scim/files/gcc-4.4-const-char.dpatch
new file mode 100644
index 0000000000..b53a7b4d9c
--- /dev/null
+++ b/recipes/scim/files/gcc-4.4-const-char.dpatch
@@ -0,0 +1,17 @@
+upstream: Laibsch will push upstream soon
+origin: the original patch was prepared by Jari Aalto <jari.aalto@cante.net> for the Debian distribution
+ http://bugs.debian.org/560486
+
+Index: scim-1.4.9/src/ltdl.cpp
+===================================================================
+--- scim-1.4.9.orig/src/ltdl.cpp 2010-01-17 02:39:44.000000000 +0100
++++ scim-1.4.9/src/ltdl.cpp 2010-01-17 02:39:54.000000000 +0100
+@@ -3361,7 +3361,7 @@
+ {
+ lt_dlhandle handle = 0;
+ char * tmp = 0;
+- char * ext = 0;
++ const char * ext = 0;
+ size_t len;
+ int errors = 0;
+