SHA256
1
0
forked from pool/0ad

- Apply Boost patch only for versions 1.74 and newer. Older Boost

doesn't have copy_options that has been removed with Boost 1.85.

OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=135
This commit is contained in:
Aaron Puchert 2024-04-26 02:01:15 +00:00 committed by Git OBS Bridge
parent 73223a258f
commit 1a52b63676

View File

@ -105,11 +105,13 @@ flexible game engine.
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
%if %{with system_mozjs}
%patch -P 1 -p1
%patch -P 2 -p1
%endif
%if %{pkg_vcmp libboost_filesystem-devel >= 1.74}
%patch -P 6 -p1
%endif
%build
export CFLAGS="%{optflags}"