fix filename of SDL_config.h for ppc64le

This commit is contained in:
Karsten Hopp 2014-06-11 16:33:10 +02:00
parent 8780c6f356
commit 66c757dc0e
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: SDL2 Name: SDL2
Version: 2.0.3 Version: 2.0.3
Release: 2%{?dist} Release: 3%{?dist}
Summary: A cross-platform multimedia library Summary: A cross-platform multimedia library
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.libsdl.org/ URL: http://www.libsdl.org/
@ -116,6 +116,9 @@ rm -f %{buildroot}%{_libdir}/*.a
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%changelog %changelog
* Wed Jun 11 2014 Karsten Hopp <karsten@redhat.com> 2.0.3-3
- fix filename of SDL_config.h for ppc64le
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -43,7 +43,11 @@
#elif defined(__ia64__) #elif defined(__ia64__)
#include "SDL_config-ia64.h" #include "SDL_config-ia64.h"
#elif defined(__powerpc64__) #elif defined(__powerpc64__)
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#include "SDL_config-ppc64.h" #include "SDL_config-ppc64.h"
# else
#include "SDL_config-ppc64le.h"
# endif
#elif defined(__powerpc__) #elif defined(__powerpc__)
#include "SDL_config-ppc.h" #include "SDL_config-ppc.h"
#elif defined(__s390x__) #elif defined(__s390x__)