diff --git a/SDL2.spec b/SDL2.spec index fb36a6c..cab5c97 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A cross-platform multimedia library Group: System Environment/Libraries URL: http://www.libsdl.org/ @@ -119,6 +119,9 @@ rm -f %{buildroot}%{_libdir}/*.a %{_datadir}/aclocal/* %changelog +* Fri Sep 04 2015 Michal Toman - 2.0.3-7 +- Add support for MIPS architecture to SDL_config.h + * Tue Jun 16 2015 Fedora Release Engineering - 2.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/SDL_config.h b/SDL_config.h index 2537ad4..62177fb 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -66,6 +66,14 @@ #include "SDL_config-sparc.h" #elif defined(__aarch64__) #include "SDL_config-aarch64.h" +#elif defined(__mips64) && defined(__MIPSEL__) +#include "SDL_config-mips64el.h" +#elif defined(__mips64) +#include "SDL_config-mips64.h" +#elif defined(__mips) && defined(__MIPSEL__) +#include "SDL_config-mipsel.h" +#elif defined(__mips) +#include "SDL_config-mips.h" #else #error "The SDL2-devel package is not usable with the architecture." #endif