games/pcgen: Add missing patch file.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-03-07 23:21:06 +13:00 committed by Willy Sudiarto Raharjo
parent d625e2fe22
commit 3026ea95d2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

19
games/pcgen/pcgen.patch Normal file
View file

@ -0,0 +1,19 @@
--- pcgen 2020-11-14 22:10:16.000000000 +1300
+++ pcgen-slackware 2022-03-06 19:54:07.786181861 +1300
@@ -19,13 +19,13 @@
PRG=`dirname "$PRG"`"/$link"
fi
done
-SAVED="`pwd`"
+SAVED="/opt/pcgen"
cd "`dirname \"$PRG\"`/" >/dev/null
-APP_HOME="`pwd -P`"
+APP_HOME="/opt/pcgen"
cd "$SAVED" >/dev/null
APP_NAME="pcgen"
-APP_BASE_NAME=`basename "$0"`
+APP_BASE_NAME=pcgen
# Add default JVM options here. You can also use JAVA_OPTS and PCGEN_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Dsun.java2d.d3d=false"'