SHA256
1
0
forked from pool/wine

Accepting request 969865 from Emulators

- Fix build on aarch64 - boo#1197233 (forwarded request 969860 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/969865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wine?expand=0&rev=375
This commit is contained in:
Dominique Leuenberger 2022-04-13 19:06:12 +00:00 committed by Git OBS Bridge
commit 9745e9809f
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 13 07:32:06 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on aarch64 - boo#1197233
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 11 15:34:23 UTC 2022 - Martin Hauke <mardnh@gmx.de> Mon Apr 11 15:34:23 UTC 2022 - Martin Hauke <mardnh@gmx.de>

View File

@ -45,6 +45,8 @@ BuildRequires: autoconf
BuildRequires: bison BuildRequires: bison
%ifarch aarch64 %ifarch aarch64
BuildRequires: clang >= 5 BuildRequires: clang >= 5
BuildRequires: lld
BuildRequires: llvm
%endif %endif
BuildRequires: cups-devel BuildRequires: cups-devel
%if 0%{?suse_version} >= 1550 %if 0%{?suse_version} >= 1550
@ -348,6 +350,11 @@ mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {} + find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {} +
%endif %endif
%ifarch aarch64
# Do not ship static *.a libs
rm %{buildroot}%{_libdir}/wine/*-windows/*.a
%endif
tar -xjf %{SOURCE5} tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff # Copied from Ubuntu Wine out of debian.diff
# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages # https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages
@ -477,6 +484,9 @@ chmod 755 %winedir/my-find-requires.sh
%{_libdir}/wine/*-windows/*.[b-z]* %{_libdir}/wine/*-windows/*.[b-z]*
%{_libdir}/wine/*-windows/*.ax %{_libdir}/wine/*-windows/*.ax
%{_libdir}/wine/*-windows/*.acm %{_libdir}/wine/*-windows/*.acm
%ifarch aarch64
%{_libdir}/wine/*-windows/st*
%endif
%dir %{_libdir}/wine/*-unix %dir %{_libdir}/wine/*-unix
%{_libdir}/wine/*-unix/*.so* %{_libdir}/wine/*-unix/*.so*