diff --git a/mingw-SDL2.spec b/mingw-SDL2.spec index bcdb165..a2dc754 100644 --- a/mingw-SDL2.spec +++ b/mingw-SDL2.spec @@ -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 - 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 - 2.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild