From 66c757dc0edcdd4514650c0fd571161cc4031ddc Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Wed, 11 Jun 2014 16:33:10 +0200 Subject: [PATCH] fix filename of SDL_config.h for ppc64le --- SDL2.spec | 5 ++++- SDL_config.h | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/SDL2.spec b/SDL2.spec index 92adb5f..a74881c 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -1,6 +1,6 @@ Name: SDL2 Version: 2.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A cross-platform multimedia library Group: System Environment/Libraries URL: http://www.libsdl.org/ @@ -116,6 +116,9 @@ rm -f %{buildroot}%{_libdir}/*.a %{_datadir}/aclocal/* %changelog +* Wed Jun 11 2014 Karsten Hopp 2.0.3-3 +- fix filename of SDL_config.h for ppc64le + * Fri Jun 06 2014 Fedora Release Engineering - 2.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/SDL_config.h b/SDL_config.h index 2eb810f..2537ad4 100644 --- a/SDL_config.h +++ b/SDL_config.h @@ -43,7 +43,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__)