[DRE-commits] [ruby-ferret] 01/06: add support for arm64 (Closes: #770922). Thanks Edmund Grimley Evans for the patch

Cédric Boutillier boutil at moszumanska.debian.org
Tue Jun 7 15:42:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-ferret.

commit c757ecbbc234dc319131c6bc84343de28e67e283
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Jun 7 17:33:40 2016 +0200

    add support for arm64 (Closes: #770922). Thanks Edmund Grimley Evans for the patch
---
 debian/patches/add_arm64_support.patch | 20 ++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/add_arm64_support.patch b/debian/patches/add_arm64_support.patch
new file mode 100644
index 0000000..b2ab93b
--- /dev/null
+++ b/debian/patches/add_arm64_support.patch
@@ -0,0 +1,20 @@
+Description: add support for arm64
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770922
+Author:  Edmund Grimley Evans <edmund.grimley.evans at gmail.com>
+Reviewed-by: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2016-06-07
+
+--- a/ext/posh.h
++++ b/ext/posh.h
+@@ -512,6 +512,11 @@
+ #  define POSH_CPU_STRING "PA-RISC"
+ #endif
+ 
++#if defined __aarch64__
++#  define POSH_CPU_AARCH64 1
++#  define POSH_CPU_STRING "AArch64"
++#endif
++
+ #if !defined POSH_CPU_STRING
+ #  error POSH cannot determine target CPU
+ #  define POSH_CPU_STRING "Unknown" /* this is here for Doxygen's benefit */
diff --git a/debian/patches/series b/debian/patches/series
index 12c770a..db2e147 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ disable_test_causing_segfault.patch
 disable_load_path_manipulation.patch
 use_system_bzlib.patch
 fix_typos_in_source_code.patch
+add_arm64_support.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ferret.git



More information about the Pkg-ruby-extras-commits mailing list