SOURCES: acroread-expr.patch (NEW), acroread-scim.patch (NEW) - pa...
czarny
czarny at pld-linux.org
Fri Oct 27 21:33:56 CEST 2006
Author: czarny Date: Fri Oct 27 19:33:54 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patches stolen from ArchLinux to fix expr syntax error on run and some GTK stuff
- builds and runns
---- Files affected:
SOURCES:
acroread-expr.patch (NONE -> 1.1) (NEW), acroread-scim.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/acroread-expr.patch
diff -u /dev/null SOURCES/acroread-expr.patch:1.1
--- /dev/null Fri Oct 27 21:33:54 2006
+++ SOURCES/acroread-expr.patch Fri Oct 27 21:33:49 2006
@@ -0,0 +1,21 @@
+--- Acrobat7.0/bin/acroread.orig 2006-05-21 11:21:23.000000000 +0200
++++ Acrobat7.0/bin/acroread 2006-05-21 11:30:06.000000000 +0200
+@@ -424,13 +424,13 @@
+ continue
+ fi
+
+- len_version=`expr length $version`
+- base_version=`expr substr "${base_version}0000000000" 1 $len_version`
+- len_base_version=`expr length $base_version`
++ len_version=`expr length "$version"`
++ base_version=`expr substr "${base_version}0000000000" 1 "$len_version"`
++ len_base_version=`expr length "$base_version"`
+
+ while [ $len_version -gt $len_base_version ]; do
+- base_version=`expr substr "${base_version}0000000000" 1 $len_version`
+- len_base_version=`expr length $base_version`
++ base_version=`expr substr "${base_version}0000000000" 1 "$len_version"`
++ len_base_version=`expr length "$base_version"`
+ done
+
+ if [ $version -ge $base_version ]; then
================================================================
Index: SOURCES/acroread-scim.patch
diff -u /dev/null SOURCES/acroread-scim.patch:1.1
--- /dev/null Fri Oct 27 21:33:54 2006
+++ SOURCES/acroread-scim.patch Fri Oct 27 21:33:49 2006
@@ -0,0 +1,14 @@
+--- Acrobat7.0/bin/acroread 2005-05-18 09:05:35.000000000 +0200
++++ Acrobat7.0/bin/acroread 2005-05-18 09:06:29.000000000 +0200
+@@ -255,6 +255,11 @@
+ fi
+ fi
+
++if [ "$GTK_IM_MODULE" = "scim" ]; then
++ GTK_IM_MODULE=xim
++ export GTK_IM_MODULE
++fi
++
+ if [ "$1" = "-DEBUG" ] ; then
+ if [ $# = 1 ] ; then
+ export ACRO_EXEC_CMD
================================================================
More information about the pld-cvs-commit
mailing list