Call 'wine64' in wine64 tools

This commit is contained in:
Denis Silakov 2012-09-06 10:30:57 +04:00
parent 69a1696b44
commit 37bdd96385
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,21 @@
diff -Naur tools.orig/wineapploader.in tools/wineapploader.in
--- tools.orig/wineapploader.in 2012-08-17 22:12:53.000000000 +0400
+++ tools/wineapploader.in 2012-08-27 12:49:37.979664330 +0400
@@ -26,7 +26,7 @@
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 exec "@bindir@/wine64" "$appname" "$@"; fi
# now try the directory containing $0
appdir=""
@@ -46,7 +46,7 @@
done
;;
esac
-if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi
+if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi
# finally look in PATH
exec wine "$appname" "$@"

View file

@ -42,6 +42,7 @@ Source1: http://ibiblio.org/pub/linux/system/emulators/wine/%{name}-%{o_ver}.tar
Source2: wine.init
Patch0: wine-1.0-rc3-fix-conflicts-with-openssl.patch
Patch1: wine-1.1.7-chinese-font-substitutes.patch
Patch2: wine-1.3.24-64bit-tools.patch
# (Anssi 05/2008) Adds:
# a: => /media/floppy (/mnt/floppy on 2007.1 and older)
# d: => $HOME (at config_dir creation time, not refreshed if $HOME changes;
@ -235,6 +236,7 @@ Wine is often updated.
%prep
%setup -q -n %name-%o_ver
%patch1 -p0 -b .chinese
%patch2 -p0 -b .tools64
%patch108 -p1 -b .conf
%patch400 -p1
%patch401 -p1