From 5a8f7ce4218cf59d117cc1d2c1f52165b9e68bd7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Aug 2017 11:14:56 +0100 Subject: app-emulation/wine : version bump --- .../wine/files/wine-2.0-multislot-apploader.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app-emulation/wine/files/wine-2.0-multislot-apploader.patch (limited to 'app-emulation/wine/files/wine-2.0-multislot-apploader.patch') diff --git a/app-emulation/wine/files/wine-2.0-multislot-apploader.patch b/app-emulation/wine/files/wine-2.0-multislot-apploader.patch new file mode 100644 index 00000000..b336c4f5 --- /dev/null +++ b/app-emulation/wine/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 -- cgit v1.2.3