[vegastrike] Added AArch64 definitions

Peter Robinson pbrobinson at fedoraproject.org
Mon Jun 30 12:52:19 UTC 2014


commit 219fc9265b7adac24742af73ad75d224a43a876a
Author: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
Date:   Tue Jun 24 13:25:57 2014 +0200

    Added AArch64 definitions

 vegastrike-aarch64.patch |   23 +++++++++++++++++++++++
 vegastrike.spec          |    7 ++++++-
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/vegastrike-aarch64.patch b/vegastrike-aarch64.patch
new file mode 100644
index 0000000..2157f34
--- /dev/null
+++ b/vegastrike-aarch64.patch
@@ -0,0 +1,23 @@
+diff --git a/src/posh.h b/src/posh.h
+index 18b6795..a9afccf 100644
+--- a/src/posh.h
++++ b/src/posh.h
+@@ -572,6 +572,18 @@
+ #  endif
+ #endif
+ 
++/* ------------------------------------------------------------------
++** AArch64
++** ------------------------------------------------------------------
++*/
++#if defined __aarch64__ || defined __arm64__ || defined FORCE_DOXYGEN
++#  define POSH_CPU_AARCH64 /**<if defined, target CPU is AArch64 */
++#  if !defined FORCE_DOXYGEN
++#     define POSH_CPU_STRING "AArch64"
++#  endif
++#endif
++
++
+ /** @} */
+ 
+ #if !defined POSH_CPU_STRING
diff --git a/vegastrike.spec b/vegastrike.spec
index 3f3e377..9dbed52 100644
--- a/vegastrike.spec
+++ b/vegastrike.spec
@@ -1,6 +1,6 @@
 Name:           vegastrike
 Version:        0.5.1
-Release:        17.r1%{?dist}
+Release:        18.r1%{?dist}
 Summary:        3D OpenGL spaceflight simulator
 Group:          Amusements/Games
 License:        GPLv2+
@@ -24,6 +24,7 @@ Patch14:        vegastrike-0.5.1-gcc47.patch
 Patch15:        vegastrike-0.5.1-music.patch
 Patch16:        vegastrike-0.5.1-gcc48.patch
 Patch17:        vegastrike-0.5.1-boost154.patch
+Patch18:        vegastrike-aarch64.patch
 BuildRequires:  libGLU-devel freeglut-devel libXi-devel libXmu-devel gtk2-devel
 BuildRequires:  libjpeg-devel libpng-devel boost-devel expat-devel python-devel
 BuildRequires:  SDL_mixer-devel openal-soft-devel freealut-devel
@@ -53,6 +54,7 @@ Yet danger lurks in the space beyond.
 %patch15 -p3
 %patch16 -p0
 %patch17 -p1
+%patch18 -p1
 iconv -f ISO-8859-1 -t UTF-8 README > README.tmp
 touch -r README README.tmp
 mv README.tmp README
@@ -102,6 +104,9 @@ desktop-file-install            \
 
 
 %changelog
+* Tue Jun 24 2014 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 0.5.1-18.r1
+- Added AArch64 definitions
+
 * Sun Jun 08 2014 Hans de Goede <hdegoede at redhat.com> - 0.5.1-17.r1
 - Rebuild for ogre-1.9
 


More information about the scm-commits mailing list