From dcac7b73091ab5e88736f00a6843e55756bf3033 Mon Sep 17 00:00:00 2001 From: Remko van der Vossen Date: Wed, 11 Aug 2010 08:49:23 +0200 Subject: scim: glibc 2.10 patch --- i18n/scim/HISTORY | 3 +++ i18n/scim/PRE_BUILD | 3 +++ i18n/scim/scim_glibc-2.10.patch | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100755 i18n/scim/PRE_BUILD create mode 100644 i18n/scim/scim_glibc-2.10.patch (limited to 'i18n') diff --git a/i18n/scim/HISTORY b/i18n/scim/HISTORY index ab2a112e7f..cd6904e6ac 100644 --- a/i18n/scim/HISTORY +++ b/i18n/scim/HISTORY @@ -1,3 +1,6 @@ +2010-08-11 Remko van der Vossen + * PRE_BUILD, scim_glibc-2.10.patch: patch for glibc 2.10 + 2009-05-02 Andraž "ruskie" Levstik * init.d/scim: made it non-sh, bug #13702 diff --git a/i18n/scim/PRE_BUILD b/i18n/scim/PRE_BUILD new file mode 100755 index 0000000000..d6f80ac0f5 --- /dev/null +++ b/i18n/scim/PRE_BUILD @@ -0,0 +1,3 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && +patch -p1 < $SPELL_DIRECTORY/scim_glibc-2.10.patch diff --git a/i18n/scim/scim_glibc-2.10.patch b/i18n/scim/scim_glibc-2.10.patch new file mode 100644 index 0000000000..52213aacdb --- /dev/null +++ b/i18n/scim/scim_glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -Naur scim-1.4.9.orig/src/ltdl.cpp scim-1.4.9/src/ltdl.cpp +--- scim-1.4.9.orig/src/ltdl.cpp 2008-11-02 07:42:40.000000000 +0100 ++++ scim-1.4.9/src/ltdl.cpp 2010-08-11 08:46:27.000000000 +0200 +@@ -3361,7 +3361,7 @@ + { + lt_dlhandle handle = 0; + char * tmp = 0; +- char * ext = 0; ++ const char * ext = 0; + size_t len; + int errors = 0; + -- cgit v1.2.3