The package rpms/wine.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/wine.git/commit/?id=85f25c8c1cfbd...
https://src.fedoraproject.org/cgit/rpms/wine.git/commit/?id=84981987dcd43....
Change:
+%ifnarch %{arm} aarch64
-%ifnarch %{arm} aarch64
Thanks.
Full change:
============
commit 84981987dcd43781fe5aea0f38a363318d394fe5
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Tue Mar 3 14:11:25 2020 -0600
Set activeds.tlb extension as this is not an arch problem
diff --git a/wine.spec b/wine.spec
index a1fd9b0..b8f5dcb 100644
--- a/wine.spec
+++ b/wine.spec
@@ -1204,6 +1204,7 @@ fi
%{_libdir}/wine/acledit.%{winedll}
%{_libdir}/wine/aclui.%{winedll}
%{_libdir}/wine/activeds.%{winedll}
+%{_libdir}/wine/activeds.%{winetlb}
%{_libdir}/wine/actxprxy.%{winedll}
%{_libdir}/wine/adsldp.%{winedll}
%{_libdir}/wine/adsldpc.%{winedll}
@@ -2008,10 +2009,6 @@ fi
%endif
%endif
-%ifnarch %{arm} aarch64
-%{_libdir}/wine/activeds.tlb
-%endif
-
# 16 bit and other non 64bit stuff
%ifnarch x86_64 %{arm} aarch64
%{_libdir}/wine/winevdm.exe.so
commit 85f25c8c1cfbda0aaaeb726f347a51e44865f017
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Tue Mar 3 12:32:30 2020 -0600
Don't ship activeds.tlb on ARM arches
diff --git a/wine.spec b/wine.spec
index ed7832c..a1fd9b0 100644
--- a/wine.spec
+++ b/wine.spec
@@ -1204,7 +1204,6 @@ fi
%{_libdir}/wine/acledit.%{winedll}
%{_libdir}/wine/aclui.%{winedll}
%{_libdir}/wine/activeds.%{winedll}
-%{_libdir}/wine/activeds.tlb
%{_libdir}/wine/actxprxy.%{winedll}
%{_libdir}/wine/adsldp.%{winedll}
%{_libdir}/wine/adsldpc.%{winedll}
@@ -2009,6 +2008,10 @@ fi
%endif
%endif
+%ifnarch %{arm} aarch64
+%{_libdir}/wine/activeds.tlb
+%endif
+
# 16 bit and other non 64bit stuff
%ifnarch x86_64 %{arm} aarch64
%{_libdir}/wine/winevdm.exe.so
commit c1f860d9509a452321307444de4880813b733daf
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Tue Mar 3 11:00:00 2020 -0600
Apply patch for arm
diff --git a/wine-5.3-msvcrt-arm.patch b/wine-5.3-msvcrt-arm.patch
new file mode 100644
index 0000000..67948c7
--- /dev/null
+++ b/wine-5.3-msvcrt-arm.patch
@@ -0,0 +1,41 @@
+From: Jacek Caban <jacek(a)codeweavers.com>
+Subject: [PATCH] stdio.h: Fix calling convention of variadic inline functions.
+Message-Id: <bc92fe4e-2b7c-e139-fcf3-736d723db401(a)codeweavers.com>
+Date: Tue, 3 Mar 2020 14:37:00 +0100
+
+
+Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=48697
+Signed-off-by: Jacek Caban <jacek(a)codeweavers.com>
+---
+ include/msvcrt/corecrt_wstdio.h | 2 +-
+ include/msvcrt/stdio.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/msvcrt/corecrt_wstdio.h b/include/msvcrt/corecrt_wstdio.h
+index 3951a1c829..c1779fb81a 100644
+--- a/include/msvcrt/corecrt_wstdio.h
++++ b/include/msvcrt/corecrt_wstdio.h
+@@ -115,7 +115,7 @@ static inline int __cdecl _vsnwprintf_s(wchar_t *buffer, size_t size,
size_t cou
+ return ret < 0 ? -1 : ret;
+ }
+
+-static inline int __cdecl _snwprintf_s(wchar_t *buffer, size_t size, size_t count, const
wchar_t *format, ...)
++static inline int WINAPIV _snwprintf_s(wchar_t *buffer, size_t size, size_t count, const
wchar_t *format, ...)
+ {
+ int ret;
+ __ms_va_list args;
+diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h
+index e184704eb9..f2aef46e6f 100644
+--- a/include/msvcrt/stdio.h
++++ b/include/msvcrt/stdio.h
+@@ -174,7 +174,7 @@ static inline int __cdecl _vsnprintf_s(char *buffer, size_t size,
size_t count,
+ return ret < 0 ? -1 : ret;
+ }
+
+-static inline int __cdecl _snprintf_s(char *buffer, size_t size, size_t count, const
char *format, ...)
++static inline int WINAPIV _snprintf_s(char *buffer, size_t size, size_t count, const
char *format, ...)
+ {
+ int ret;
+ __ms_va_list args;
+
+
diff --git a/wine.spec b/wine.spec
index a6fac00..ed7832c 100644
--- a/wine.spec
+++ b/wine.spec
@@ -72,6 +72,8 @@ Source109: wine-oleview.desktop
Source150: wine.appdata.xml
# wine bugs
+#
https://bugs.winehq.org/show_bug.cgi?id=48697
+Patch100: wine-5.3-msvcrt-arm.patch
# desktop dir
Source200: wine.menu
@@ -678,6 +680,7 @@ This package adds the opencl driver for wine.
%prep
%setup -q -n wine-%{version}
+%patch100 -p1 -b.mscvrt
%patch511 -p1 -b.cjk
%if 0%{?wine_staging}