This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository gmt.
commit 4157c85622e2a79b59280518744957ee6fd374f8 Author: Bas Couwenberg <[email protected]> Date: Fri Feb 19 02:09:45 2016 +0100 Add patch to fix build on sparc64. --- debian/changelog | 1 + debian/patches/series | 1 + debian/patches/sparc-sighandler.patch | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+) diff --git a/debian/changelog b/debian/changelog index d9e61de..a535629 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ gmt (5.2.1+dfsg-4) UNRELEASED; urgency=medium * Add lintian override for old-style-config-script-multiarch-path. See: https://lists.debian.org/debian-devel/2016/01/msg00688.html * Drop unused FLOCK CMake option. + * Add patch to fix build on sparc64. -- Bas Couwenberg <[email protected]> Sat, 06 Feb 2016 21:06:05 +0100 diff --git a/debian/patches/series b/debian/patches/series index b6c8417..4b18930 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ alpha-sighandler.patch supported-typo.patch overridden-typo.patch written-typo.patch +sparc-sighandler.patch diff --git a/debian/patches/sparc-sighandler.patch b/debian/patches/sparc-sighandler.patch new file mode 100644 index 0000000..824bebc --- /dev/null +++ b/debian/patches/sparc-sighandler.patch @@ -0,0 +1,18 @@ +Description: Fix build on sparc64. +Author: Bas Couwenberg <[email protected]> + +--- a/src/common_sighandler.c ++++ b/src/common_sighandler.c +@@ -85,6 +85,12 @@ void backtrace_symbols_fd(void *const *b + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.sc_iaoq[0]) + # elif defined(__s390__) + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.psw.addr) ++# elif defined(__sparc__) ++# if defined (__arch64__) ++# define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_gregs[MC_PC]) ++# else ++# define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_PC]) ++# endif + # else + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) + # endif -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

