[rcssserver] handle AArch64 as 64-bit

Peter Robinson pbrobinson at fedoraproject.org
Fri Jul 4 06:29:33 UTC 2014


commit a6fa7e77f0f3d454d8818a0671031cf2ebf6568d
Author: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
Date:   Thu Jul 3 15:32:41 2014 +0200

    handle AArch64 as 64-bit

 rcsserver-boost-detect-aarch64.patch |   25 +++++++++++++++++++++++++
 rcssserver.spec                      |    9 +++++++--
 2 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/rcsserver-boost-detect-aarch64.patch b/rcsserver-boost-detect-aarch64.patch
new file mode 100644
index 0000000..4db25e8
--- /dev/null
+++ b/rcsserver-boost-detect-aarch64.patch
@@ -0,0 +1,25 @@
+From 6815a402ae8e30f0c865157ccfefdc50d0e8f6c3 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
+Date: Thu, 3 Jul 2014 14:47:21 +0200
+Subject: [PATCH] AArch64 is also 64-bit
+
+---
+ m4/ax_boost_base.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/m4/ax_boost_base.m4 b/m4/ax_boost_base.m4
+index 54a2a1b..62f6b57 100644
+--- a/m4/ax_boost_base.m4
++++ b/m4/ax_boost_base.m4
+@@ -91,7 +91,7 @@ if test "x$want_boost" = "xyes"; then
+     dnl are found, e.g. when only header-only libraries are installed!
+     libsubdirs="lib"
+     ax_arch=`uname -m`
+-    if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
++    if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64 -o $ax_arch = aarch64; then
+         libsubdirs="lib64 lib lib64"
+     fi
+ 
+-- 
+2.0.0
+
diff --git a/rcssserver.spec b/rcssserver.spec
index 495f414..ad31ad8 100644
--- a/rcssserver.spec
+++ b/rcssserver.spec
@@ -1,6 +1,6 @@
 Name:           rcssserver
 Version:        15.2.2
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Robocup 2D Soccer Simulation Server
 
 Group:          Applications/System
@@ -11,8 +11,9 @@ Source0:        http://downloads.sourceforge.net/sserver/%{name}-%{version}.tar.
 # Source 1 is created by me.
 Source1:        %{name}.desktop
 Patch0:         rcssserver-15.2.2-bison3fix.patch
+Patch1:         rcsserver-boost-detect-aarch64.patch
 
-BuildRequires:  automake libtool boost-devel zlib-devel
+BuildRequires:  autoconf automake libtool boost-devel zlib-devel
 BuildRequires:  desktop-file-utils flex bison git
 Provides:       rcssbase = %{version}-%{release}
 Obsoletes:      rcssbase < 13.0.0-1
@@ -58,6 +59,7 @@ sed -i.rpath -e '/sys_lib_\(dl\)\?search_path_spec/s| /usr/lib| /lib64 /usr/lib6
     configure
 
 %build
+autoconf
 %configure
 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
 #%{?_smp_mflags} doesn't work
@@ -87,6 +89,9 @@ desktop-file-install \
 %{_datadir}/applications/*
 
 %changelog
+* Thu Jul 03 2014 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 15.2.2-8
+- handle AArch64 as 64-bit
+
 * Thu Jun 12 2014 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 15.2.2-7
 - Fix build errors with bison 3.0
 


More information about the scm-commits mailing list