Fix FTBFS against latest mingw-w64

epel9
Erik van Pienbroek 10 years ago
parent f8ece4bcca
commit f888e80eda

@ -2,7 +2,7 @@
Name: mingw-SDL2
Version: 2.0.3
Release: 4%{?dist}
Release: 5%{?dist}
Summary: MinGW Windows port of SDL2 cross-platform multimedia library
License: LGPLv2+
@ -28,6 +28,12 @@ BuildRequires: mingw64-gcc
BuildRequires: nasm
%endif
# Don't try to re-implement D3D11 pieces which are already part of mingw-w64
Patch0: SDL2-prevent-duplicate-d3d11-declarations.patch
# Workaround a gcc compatibility issue
Patch1: SDL2-fix-gcc-compatibility.patch
%description
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
@ -59,6 +65,8 @@ device.
%prep
%setup -q -n SDL2-%{version}
%patch0 -p0 -b .d3d11
%patch1 -p0 -b .gcc
dos2unix COPYING.txt README.txt
@ -104,6 +112,10 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%changelog
* Sun Mar 29 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.0.3-5
- Don't try to re-implement D3D11 pieces which are already part of mingw-w64
- Workaround a gcc compatibility issue
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Loading…
Cancel
Save