[SDL2] fix filename of SDL_config.h for ppc64le
Karsten Hopp
karsten at fedoraproject.org
Wed Jun 11 14:33:23 UTC 2014
commit 66c757dc0edcdd4514650c0fd571161cc4031ddc
Author: Karsten Hopp <karsten at redhat.com>
Date: Wed Jun 11 16:33:10 2014 +0200
fix filename of SDL_config.h for ppc64le
SDL2.spec | 5 ++++-
SDL_config.h | 4 ++++
2 files changed, 8 insertions(+), 1 deletions(-)
---
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 <karsten at redhat.com> 2.0.3-3
+- fix filename of SDL_config.h for ppc64le
+
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 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__)
More information about the scm-commits
mailing list