diff --git a/wine-staging-3.14-arm-2.patch b/wine-staging-3.14-arm-2.patch new file mode 100644 index 0000000..4d418cf --- /dev/null +++ b/wine-staging-3.14-arm-2.patch @@ -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; diff --git a/wine.spec b/wine.spec index 2a7909f..c07e75e 100644 --- a/wine.spec +++ b/wine.spec @@ -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