summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-04-06 22:27:39 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-04-06 22:27:39 +0000
commitbd69ab27702cb911db720211ede379cbe584d640 (patch)
treec6f94ba3a3b4f2a213e029c9f6792af1fe3241e6 /app-text/acroread/files
parentFix #128806. (diff)
downloadgentoo-2-bd69ab27702cb911db720211ede379cbe584d640.tar.gz
gentoo-2-bd69ab27702cb911db720211ede379cbe584d640.tar.bz2
gentoo-2-bd69ab27702cb911db720211ede379cbe584d640.zip
Adding langpack patch and whitespace cleanups
(Portage version: 2.1_pre7-r3)
Diffstat (limited to 'app-text/acroread/files')
-rw-r--r--app-text/acroread/files/acroread-langpack.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-text/acroread/files/acroread-langpack.patch b/app-text/acroread/files/acroread-langpack.patch
new file mode 100644
index 000000000000..ebd133d44467
--- /dev/null
+++ b/app-text/acroread/files/acroread-langpack.patch
@@ -0,0 +1,23 @@
+--- ./bin/acroread.orig 2006-04-07 00:00:30.996206000 +0200
++++ ./bin/acroread 2006-03-15 00:41:39.000000000 +0100
+@@ -1,6 +1,10 @@
+ #!/bin/sh
+ #
+
++LANGPATH=~/.adobe/Acrobat/
++LANGPACK=${LANGPATH}/.acrobat7-langpack-deu
++[ ! -e ${LANGPACK} ] && rm -rf ~/.adobe
++
+ FC=~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
+ [ -s ${FC} ] && rm ${FC} && touch ${FC}
+
+@@ -680,6 +684,9 @@
+ export GTK_IM_MODULE
+ fi
+
++# mark used langpack
++mkdir -p ${LANGPATH} && touch ${LANGPACK}
++
+ if [ "$1" = "-DEBUG" ] ; then
+ if [ $# = 1 ] ; then
+ export ACRO_EXEC_CMD