diff options
author | Ctibor <ctibor@brancik.cz> | 2017-05-05 14:41:56 +0200 |
---|---|---|
committer | Ctibor <ctibor@brancik.cz> | 2017-05-05 14:41:56 +0200 |
commit | 9bab6b447bf583a3e59829fee736e4ee3375b9f6 (patch) | |
tree | 6da6ecbe65489260da15e5dad4ef8f8c1528ba55 /app-emulation/wine-starcraft/files/wine-2.0-multislot-apploader.patch | |
parent | 4daa5e2ef492b6fce9dfa55b56ef7b84d634bf3c (diff) | |
download | brancik-overlay-9bab6b447bf583a3e59829fee736e4ee3375b9f6.tar.gz brancik-overlay-9bab6b447bf583a3e59829fee736e4ee3375b9f6.tar.bz2 |
Add app-emulation/wine-starcraft
Diffstat (limited to 'app-emulation/wine-starcraft/files/wine-2.0-multislot-apploader.patch')
-rw-r--r-- | app-emulation/wine-starcraft/files/wine-2.0-multislot-apploader.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/wine-starcraft/files/wine-2.0-multislot-apploader.patch b/app-emulation/wine-starcraft/files/wine-2.0-multislot-apploader.patch new file mode 100644 index 0000000..b336c4f --- /dev/null +++ b/app-emulation/wine-starcraft/files/wine-2.0-multislot-apploader.patch @@ -0,0 +1,14 @@ +diff --git a/tools/wineapploader.in b/tools/wineapploader.in +index f48d552..14001a0 100755 +--- a/tools/wineapploader.in ++++ b/tools/wineapploader.in +@@ -20,7 +20,8 @@ + # + + # determine the app Winelib library name +-appname=`basename "$0" .exe`.exe ++appname=${0##*/} ++appname="${appname%%-*}.exe" + + # first try explicit WINELOADER + if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi |