Date: Sun, 29 Nov 2020 15:40:36 +0000 (UTC) From: Mikael Urankar <mikael@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r556575 - head/graphics/gmt/files Message-ID: <202011291540.0ATFeaDL029612@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mikael Date: Sun Nov 29 15:40:36 2020 New Revision: 556575 URL: https://svnweb.freebsd.org/changeset/ports/556575 Log: graphics/gmt: Fix build on aarch64 Approved by: portmgr (tier-2 blanket) Added: head/graphics/gmt/files/patch-src_gmt__common__sighandler.c (contents, props changed) Added: head/graphics/gmt/files/patch-src_gmt__common__sighandler.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gmt/files/patch-src_gmt__common__sighandler.c Sun Nov 29 15:40:36 2020 (r556575) @@ -0,0 +1,11 @@ +--- src/gmt_common_sighandler.c.orig 2020-11-28 18:05:26 UTC ++++ src/gmt_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( __aarch64__) ++# define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_gpregs.gp_elr) + # elif defined(__ppc__) + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_srr0) + # else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011291540.0ATFeaDL029612>