diff --git a/SDL.spec b/SDL.spec index 554ffe5..243f95a 100644 --- a/SDL.spec +++ b/SDL.spec @@ -10,7 +10,7 @@ Name: SDL Version: 1.2.15 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A cross-platform multimedia library Group: System Environment/Libraries URL: http://www.libsdl.org/ @@ -177,6 +177,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_libdir}/lib*.a %changelog +* Fri Jan 17 2014 Petr Pisar - 1.2.15-13 +- Add support for ppc64le architecture (bug #1054397) + * Thu Dec 05 2013 Petr Pisar - 1.2.15-12 - Ignore joystick axis events if they aren't in a sane range (bug #990677) diff --git a/SDL_config.h b/SDL_config.h index 109f879..1f75138 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -40,7 +40,11 @@ #elif defined(__ia64__) #include "SDL_config-ia64.h" #elif defined(__powerpc64__) +#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ #include "SDL_config-ppc64.h" +#else +#include "SDL_config-ppc64le.h" +#endif #elif defined(__powerpc__) #include "SDL_config-ppc.h" #elif defined(__s390x__)