New version 1.9.1

This commit is contained in:
Andrey Bondrov 2016-01-13 19:18:32 +10:00
parent e6f9d1dcd1
commit 3578668816
3 changed files with 1 additions and 38 deletions

View file

@ -2,3 +2,4 @@ sources:
wine-1.9.1.tar.bz2: eaa62c1ed48eb3cdf5ef82a2405161d89a34a6b9
wine-1.9.1.tar.bz2.sign: c9a3e4e5ec85630eaebf5d2b262afa1aed5d3105
wine-staging-1.9.1.tar.gz: cac4c7591c7364488ae70ee6fb5bd8b6e01d881d
wine-d3d9-patches-wine-d3d9-1.9.1.tar.gz: 697640f4da1feccc2233d059bb0a10a5562e06bb

View file

@ -1,38 +0,0 @@
--- b/tools/wineapploader.in 2012-06-15 23:17:00.000000000 +0400
+++ a/tools/wineapploader.in 2012-09-14 13:10:17.235533949 +0400
@@ -21,12 +21,20 @@
# determine the app Winelib library name
appname=`basename "$0" .exe`.exe
+compbit=`uname -m`
# first try explicit WINELOADER
if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi
# then default bin directory
-if [ -x "@bindir@/wine" ]; then exec "@bindir@/wine" "$appname" "$@"; fi
+if [ -x "@bindir@/wine" ]; then
+ if [ $compbit = "x86_64" ] && [ -x "@bindir@/wine64" ]
+ then
+ exec "@bindir@/wine64" "$appname" "$@"
+ else
+ exec "@bindir@/wine" "$appname" "$@"
+ fi
+fi
# now try the directory containing $0
appdir=""
@@ -46,7 +54,12 @@
done
;;
esac
-if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi
+if [ -x "$appdir/wine64" ] && [ $compbit = "x86_64" ]
+ then
+ exec "$appdir/wine64" "$appname" "$@"
+ else
+ exec "$appdir/wine" "$appname" "$@"
+fi
# finally look in PATH
exec wine "$appname" "$@"