]> git.pld-linux.org Git - packages/acroread.git/commitdiff
- patches stolen from ArchLinux to fix expr syntax error on run and some GTK stuff
authorczarny <czarny@pld-linux.org>
Fri, 27 Oct 2006 19:33:49 +0000 (19:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- builds and runns

Changed files:
    acroread-expr.patch -> 1.1
    acroread-scim.patch -> 1.1

acroread-expr.patch [new file with mode: 0644]
acroread-scim.patch [new file with mode: 0644]

diff --git a/acroread-expr.patch b/acroread-expr.patch
new file mode 100644 (file)
index 0000000..247cc37
--- /dev/null
@@ -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
diff --git a/acroread-scim.patch b/acroread-scim.patch
new file mode 100644 (file)
index 0000000..57db484
--- /dev/null
@@ -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
This page took 0.101772 seconds and 4 git commands to generate.