svn commit: r493876 - head/graphics/gmt5/files
Mark Linimon
linimon at FreeBSD.org
Mon Feb 25 15:23:27 UTC 2019
Author: linimon
Date: Mon Feb 25 15:23:26 2019
New Revision: 493876
URL: https://svnweb.freebsd.org/changeset/ports/493876
Log:
powerpc* platforms use uc_mcontext.mc_srr0 to access PC.
Upstream PR at https://github.com/GenericMappingTools/gmt/pull/444 .
PR: 236016
Submitted by: Piotr Kubaj
Approved by: maintainer
Added:
head/graphics/gmt5/files/patch-src_common__sighandler.c (contents, props changed)
Added: head/graphics/gmt5/files/patch-src_common__sighandler.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/gmt5/files/patch-src_common__sighandler.c Mon Feb 25 15:23:26 2019 (r493876)
@@ -0,0 +1,11 @@
+--- src/common_sighandler.c.orig 2019-02-25 06:44:38 UTC
++++ src/common_sighandler.c
+@@ -69,6 +69,8 @@ void backtrace_symbols_fd(void *const *buffer, int siz
+ # define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_rip)
+ # elif defined( __arm__)
+ # define UC_IP(uc) ((void *) (uc)->uc_mcontext.arm_pc)
++# elif defined( __ppc__)
++# define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_srr0)
+ # else
+ # define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_eip)
+ # endif
More information about the svn-ports-all
mailing list