[Git][debian-gis-team/gmt][master] Add patch by wuruilong to fix FTBFS on loong64. (closes: #1068614)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Apr 8 04:58:10 BST 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / gmt


Commits:
d484ca01 by Bas Couwenberg at 2024-04-08T05:47:00+02:00
Add patch by wuruilong to fix FTBFS on loong64. (closes: #1068614)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/loong64.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+gmt (6.5.0+dfsg-4) UNRELEASED; urgency=medium
+
+  * Add patch by wuruilong to fix FTBFS on loong64.
+    (closes: #1068614)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 08 Apr 2024 05:41:33 +0200
+
 gmt (6.5.0+dfsg-3) unstable; urgency=medium
 
   * Add dpkg-dev (>= 1.22.5) to build dependencies for t64 changes.


=====================================
debian/patches/loong64.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Add support for loong64.
+Author: wuruilong <wuruilong at loongson.cn>
+Forwarded: https://github.com/GenericMappingTools/gmt/pull/8429
+
+--- a/src/gmt_common_sighandler.c
++++ b/src/gmt_common_sighandler.c
+@@ -109,6 +109,8 @@ GMT_LOCAL void backtrace_symbols_fd(void
+ #  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( __loongarch__)
++#  define UC_IP(uc) ((void *) (uc)->uc_mcontext.__pc)
+ # elif defined( __hppa__)
+ #  define UC_IP(uc) ((void *) (uc)->uc_mcontext.sc_iaoq[0])
+ # elif defined(__m68k__)


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ disable-triangle.patch
 incorrect-path-for-interpreter.patch
 no-docs.patch
 spelling-errors.patch
+loong64.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/gmt/-/commit/d484ca01c0d6dca1afcbc28fda4aca0bdee3336b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/gmt/-/commit/d484ca01c0d6dca1afcbc28fda4aca0bdee3336b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240408/5240d9ce/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list