[gmt] 02/04: Add patch to fix build on HPPA.

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 f53b534d20e1f0c20d8564f2565601f3be9254c0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Nov 21 19:27:18 2015 +0100

    Add patch to fix build on HPPA.
    
    Thanks to John David Anglin for the patch.
---
 debian/changelog                     |  8 ++++++++
 debian/patches/hppa-sighandler.patch | 17 +++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8439f28..f22c70e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+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)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 21 Nov 2015 19:26:33 +0100
+
 gmt (5.2.1+dfsg-2) unstable; urgency=medium
 
   * Add Breaks/Replaces for files moved from gmt-doc-pdf to gmt-doc.
diff --git a/debian/patches/hppa-sighandler.patch b/debian/patches/hppa-sighandler.patch
new file mode 100644
index 0000000..6049fb1
--- /dev/null
+++ b/debian/patches/hppa-sighandler.patch
@@ -0,0 +1,17 @@
+Description: Fix build on HPPA.
+Author: John David Anglin <dave.anglin at bell.net>
+Bug-Debian: https://bugs.debian.org/805731
+Forwarded: http://gmt.soest.hawaii.edu/issues/818
+Applied-Upstream: http://gmt.soest.hawaii.edu/projects/gmt/repository/revisions/15265
+
+--- a/src/common_sighandler.c
++++ b/src/common_sighandler.c
+@@ -79,6 +79,8 @@ void backtrace_symbols_fd(void *const *b
+ #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.pc)
+ # elif defined( __arm__)
+ #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.arm_pc)
++# elif defined( __hppa__)
++#  define UC_IP(uc) ((void *) (uc)->uc_mcontext.sc_iaoq[0])
+ # elif defined(__s390__)
+ #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.psw.addr)
+ # else
diff --git a/debian/patches/series b/debian/patches/series
index 637a358..fe48b41 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 disable-triangle.patch
 disable-examples.patch
 manpage-section.patch
+hppa-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