Fix FTBFS (rhbz#1799829)
This commit is contained in:
parent
884b3c46dc
commit
3505dbc3c3
16
openal-soft-fcommon-fix.patch
Normal file
16
openal-soft-fcommon-fix.patch
Normal file
@ -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;
|
@ -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 <hdegoede@redhat.com> - 1.19.1-5
|
||||
- Fix FTBFS (rhbz#1799829)
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user