diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 1c326e0..7b0d64c 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 4 13:47:59 UTC 2020 - Michel Normand + +- avoid build error PowerPC, using gnu++14 (not gnu++11) + https://bugzilla.opensuse.org/show_bug.cgi?id=1171045 + ------------------------------------------------------------------- Thu Apr 30 14:46:25 UTC 2020 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 47d386b..5885a45 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -753,6 +753,12 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \ mv "%{_sourcedir}/temp" "%{_sourcedir}/baselibs.conf" %endif +# Avoid build error for PowerPC +# https://bugzilla.opensuse.org/show_bug.cgi?id=1171045 +%ifarch ppc64 ppc64le +sed -i -e s/cpp_std=gnu++11/cpp_std=gnu++14/g meson.build +%endif + %build egl_platforms=x11,drm,surfaceless,wayland diff --git a/Mesa.changes b/Mesa.changes index 1c326e0..7b0d64c 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 4 13:47:59 UTC 2020 - Michel Normand + +- avoid build error PowerPC, using gnu++14 (not gnu++11) + https://bugzilla.opensuse.org/show_bug.cgi?id=1171045 + ------------------------------------------------------------------- Thu Apr 30 14:46:25 UTC 2020 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 190a726..385bb21 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -752,6 +752,12 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \ mv "%{_sourcedir}/temp" "%{_sourcedir}/baselibs.conf" %endif +# Avoid build error for PowerPC +# https://bugzilla.opensuse.org/show_bug.cgi?id=1171045 +%ifarch ppc64 ppc64le +sed -i -e s/cpp_std=gnu++11/cpp_std=gnu++14/g meson.build +%endif + %build egl_platforms=x11,drm,surfaceless,wayland