Try to fix the ARM build myself

f38
Michael Cronenworth 7 years ago
parent 0dfab9fafa
commit fff2367174

@ -0,0 +1,13 @@
--- a/patches/ntdll-RtlCreateUserThread/0001-ntdll-Refactor-RtlCreateUserThread-into-NtCreateThre.patch
+++ b/patches/ntdll-RtlCreateUserThread/0001-ntdll-Refactor-RtlCreateUserThread-into-NtCreateThre.patch
@@ -222,8 +222,8 @@
+ context.R0 = (DWORD)entry;
+ context.R1 = (DWORD)arg;
+#elif defined(__aarch64__)
-+ context.u.s.X0 = (DWORD_PTR)entry;
-+ context.u.s.X1 = (DWORD_PTR)arg;
++ context.u.X0 = (DWORD_PTR)entry;
++ context.u.X1 = (DWORD_PTR)arg;
+#elif defined(__powerpc__)
+ context.Gpr3 = (DWORD)entry;
+ context.Gpr4 = (DWORD)arg;

@ -53,6 +53,7 @@ Source109: wine-oleview.desktop
# wine bugs
# https://github.com/wine-staging/wine-staging/commit/720db34b6e2d5d4363a3fa14d8e0bcd1e0706d11
Patch1: wine-staging-3.14-arm.patch
Patch2: wine-staging-3.14-arm-2.patch
# desktop dir
Source200: wine.menu
@ -688,6 +689,7 @@ This package adds the opencl driver for wine.
gzip -dc %{SOURCE900} | tar -xf - --strip-components=1
%patch1 -p1 -b.arm
%patch2 -p1 -b.arm2
patches/patchinstall.sh DESTDIR="`pwd`" --all
# fix parallelized build

Loading…
Cancel
Save