[gmt] 03/04: Add patch to fix build on alpha.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Nov 21 20:11:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository gmt.
commit 68856aa538237c4bacc25843d89006c6cbe24ac0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Nov 21 20:06:48 2015 +0100
Add patch to fix build on alpha.
---
debian/changelog | 1 +
debian/patches/alpha-sighandler.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f22c70e..9dce13f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ gmt (5.2.1+dfsg-3) UNRELEASED; urgency=medium
* Add patch to fix build on HPPA.
Thanks to John David Anglin for the patch.
(closes: #805731)
+ * Add patch to fix build on alpha.
-- Bas Couwenberg <sebastic at debian.org> Sat, 21 Nov 2015 19:26:33 +0100
diff --git a/debian/patches/alpha-sighandler.patch b/debian/patches/alpha-sighandler.patch
new file mode 100644
index 0000000..5e15c94
--- /dev/null
+++ b/debian/patches/alpha-sighandler.patch
@@ -0,0 +1,15 @@
+Description: Fix build on alpha.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: http://gmt.soest.hawaii.edu/issues/819
+
+--- a/src/common_sighandler.c
++++ b/src/common_sighandler.c
+@@ -77,6 +77,8 @@ void backtrace_symbols_fd(void *const *b
+ # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_RIP])
+ # elif defined(__aarch64__) || defined(__mips__)
+ # define UC_IP(uc) ((void *) (uc)->uc_mcontext.pc)
++# elif defined( __alpha__)
++# define UC_IP(uc) ((void *) (uc)->uc_mcontext.sc_pc)
+ # elif defined( __arm__)
+ # define UC_IP(uc) ((void *) (uc)->uc_mcontext.arm_pc)
+ # elif defined( __hppa__)
diff --git a/debian/patches/series b/debian/patches/series
index fe48b41..3e57e68 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ disable-triangle.patch
disable-examples.patch
manpage-section.patch
hppa-sighandler.patch
+alpha-sighandler.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.git
More information about the Pkg-grass-devel
mailing list