diff --git a/openal-soft-fcommon-fix.patch b/openal-soft-fcommon-fix.patch new file mode 100644 index 0000000..b299006 --- /dev/null +++ b/openal-soft-fcommon-fix.patch @@ -0,0 +1,16 @@ +diff -up openal-soft-1.19.1/Alc/bformatdec.h~ openal-soft-1.19.1/Alc/bformatdec.h +--- openal-soft-1.19.1/Alc/bformatdec.h~ 2018-10-12 00:05:31.000000000 +0200 ++++ openal-soft-1.19.1/Alc/bformatdec.h 2020-02-16 16:11:57.105035079 +0100 +@@ -24,9 +24,9 @@ + /* NOTE: These are scale factors as applied to Ambisonics content. Decoder + * coefficients should be divided by these values to get proper N3D scalings. + */ +-const ALfloat N3D2N3DScale[MAX_AMBI_COEFFS]; +-const ALfloat SN3D2N3DScale[MAX_AMBI_COEFFS]; +-const ALfloat FuMa2N3DScale[MAX_AMBI_COEFFS]; ++extern const ALfloat N3D2N3DScale[MAX_AMBI_COEFFS]; ++extern const ALfloat SN3D2N3DScale[MAX_AMBI_COEFFS]; ++extern const ALfloat FuMa2N3DScale[MAX_AMBI_COEFFS]; + + + struct AmbDecConf; diff --git a/openal-soft.spec b/openal-soft.spec index d67484a..a5bbc9e 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -1,12 +1,13 @@ Name: openal-soft Version: 1.19.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Open Audio Library License: LGPLv2+ URL: http://openal-soft.org/ Source0: http://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2 Patch0: openal-soft-arm_neon-only-for-32bit.patch +Patch1: openal-soft-fcommon-fix.patch BuildRequires: alsa-lib-devel BuildRequires: cmake @@ -105,6 +106,9 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \ %{_bindir}/alsoft-config %changelog +* Sun Feb 16 2020 Hans de Goede - 1.19.1-5 +- Fix FTBFS (rhbz#1799829) + * Wed Jan 29 2020 Fedora Release Engineering - 1.19.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild