pbrobinson pushed to IBSimu (f22). "add aarch64 support"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 13 16:18:01 UTC 2015
>From 53c48b588e42e22125a7a8c80203a88c068d043e Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson at gmail.com>
Date: Mon, 13 Apr 2015 16:49:08 +0100
Subject: add aarch64 support
diff --git a/IBSimu-1.0.5b-aarch64.patch b/IBSimu-1.0.5b-aarch64.patch
new file mode 100644
index 0000000..d8cc9b7
--- /dev/null
+++ b/IBSimu-1.0.5b-aarch64.patch
@@ -0,0 +1,17 @@
+Index: src/error.cpp
+===================================================================
+--- a/src/error.cpp
++++ b/src/error.cpp
+@@ -163,7 +163,11 @@ void SignalHandler::signal_handler_SIGSE
+ std::cerr << "info.si_errno = " << info->si_errno << "\n";
+ std::cerr << "info.si_code = " << info->si_code << "(" << si_codes[info->si_code] << ")\n";
+ std::cerr << "info.si_addr = 0x" << std::hex << info->si_addr << "\n";
+-#if not defined(__arm__)
++#if defined(__aarch64__)
++ for( int i = 0; i < 31; i++ )
++ std::cerr << "reg[" << std::setw(2) << i << "] = 0x"
++ << std::hex << ucontext->uc_mcontext.regs[i] << "\n";
++#elif not defined(__arm__)
+ for( int i = 0; i < NGREG; i++ )
+ std::cerr << "reg[" << std::setw(2) << i << "] = 0x"
+ << std::hex << ucontext->uc_mcontext.gregs[i] << "\n";
diff --git a/IBSimu.spec b/IBSimu.spec
index 8db9a81..2bf9ba0 100644
--- a/IBSimu.spec
+++ b/IBSimu.spec
@@ -2,7 +2,7 @@
Name: IBSimu
Version: 1.0.5
-Release: 9.b%{?dist}
+Release: 10.b%{?dist}
Summary: Ion beam simulator
Group: System Environment/Libraries
@@ -28,6 +28,7 @@ Patch0 : libibsimu-lower-cairo.patch
Patch1: libibsimu-remove-gtk_widget_set_tooltip_text.patch
Patch2: IBSimu-1.0.5b-arm.patch
Patch3: IBSimu-1.0.5b-secondary.patch
+Patch4: IBSimu-1.0.5b-aarch64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -85,7 +86,8 @@ developing applications that use %{name}.
%patch1 -p1
%endif
%patch2 -p0 -b .arm
-%patch3 -p1 -b .secondary
+%patch3 -p1 -b .secondary
+%patch4 -p1 -b .aarch64
# Copy in missing doc files
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} doc/
@@ -126,6 +128,9 @@ make check
%doc doc/html
%changelog
+* Mon Apr 13 2015 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 1.0.5-10.b
+- add aarch64 support
+
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.5-9.b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/IBSimu.git/commit/?h=f22&id=53c48b588e42e22125a7a8c80203a88c068d043e
More information about the scm-commits
mailing list