summaryrefslogtreecommitdiffstats
path: root/games/pcgen
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-03-07 23:21:06 +1300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 09:46:12 +0700
commit3026ea95d270bd36249b9bd9b4dbc7f1471142f5 (patch)
treed8addf8100dbf4a7f76c2b020adefd9f5ef3f5aa /games/pcgen
parentd625e2fe2237ddd5efba694d5449ea745f522210 (diff)
downloadslackbuilds-3026ea95d270bd36249b9bd9b4dbc7f1471142f5.tar.gz
slackbuilds-3026ea95d270bd36249b9bd9b4dbc7f1471142f5.tar.xz
games/pcgen: Add missing patch file.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pcgen')
-rw-r--r--games/pcgen/pcgen.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/pcgen/pcgen.patch b/games/pcgen/pcgen.patch
new file mode 100644
index 0000000000..2bbdd907bd
--- /dev/null
+++ b/games/pcgen/pcgen.patch
@@ -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"'