From nobody Sun Jul 30 22:59:52 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RDcK04M9jz4pYb9; Sun, 30 Jul 2023 22:59:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RDcJn0LZLz3xDt; Sun, 30 Jul 2023 22:59:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690757993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lEhYlLD7W0FI1cTfLgCR0xLrvmZBFLa906UTLkAxN4U=; b=hwg8DMvuMYmYa6nSiyDRAcN4DNRrQ5BNLhgfEbooVwouIt3sYLBIaxN12+5GRP9/gmD+bA p4tGcIwFm78AQ1VOAuObZ0jfkolTmVZfDfd0uAUVMINyV1rqd0YgshuvZ8AIe02a5VzgRb mq2igr1IPfTKK4ez9QLSnpVbnMh5uitnoFoqSdLYQlqMfSFqkNDKkRzG76neSTwIsHuy5c 6OLYehfCzL/bioxFtQbhgQAP7K7pj7poza9qa5SGpQ2112IBbh/GmemnGhV46r0Ci1Htng Es1bwO+n6NbQgjB18Sv/8aktM9HkctuAGYB271bgqHMRylHDmKGJNCgrXO6JeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690757993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lEhYlLD7W0FI1cTfLgCR0xLrvmZBFLa906UTLkAxN4U=; b=rhrH/1+lJ5n0NA9BwdDAftDnpp8d38B9bWuPa//+Xr6oq7oQ4aS8exuMMbBWENSQl+LL06 4gj2pIkbLprh4EGEqqEY+BUzpVgAFKQP1sfkpLSsoDWq0OYN87+9wKRBXAw89cY8P6zrOH vuzndnOaQK5EReKKU9y4ogfyAA9/iJpEdEuK8pV9lDX4Pj3oar1hxlLvhTeO0Zt+5M751G 0e28oqZ9Vd9IzeRS3BiZZdAO5LrzKSIzUqA1UHVqHk8ESOsDJXWcBUxQrjnZsXxQJHwx1y keHUo+bBPOseisiQnKlNp7vJDebuBwA58chGo8IhmuTQnCu0V33R74tz58nJ9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690757993; a=rsa-sha256; cv=none; b=aC82HcmfVs+w2LtJli7JU0lNDJzl5lz65xaImYTpTCezafWmVJfhQNBShskMWJHlT+E30L c4jFsdr11JXTs3LEbTVFVzWN6DUhh+kW7R9PRiWNP4GU2wNPdaX+Abg/tHNI75Rcu3gaG4 LpVyw1Jjwer5/lWT4F9EqhkCEHWEuQvT2+W0B2lkT7kimDhPHfu4QXKzlREMNARxdQ+8ij 4KAuZ+ChNHmVPTI1Wh/ZwqLTLveVHZkNgIp7Ttb6jVL+LQ2xpDdhFr5yKToad0zVEfyiWZ y4WcyT0dXZhDjkUmOsp/Z0iDaAz3Yhu9p7XlDG2VkcIXSDoEhAwPk0H56YhjmA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RDcJm5QVNzXQZ; Sun, 30 Jul 2023 22:59:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36UMxq2G001450; Sun, 30 Jul 2023 22:59:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36UMxqx3001449; Sun, 30 Jul 2023 22:59:52 GMT (envelope-from git) Date: Sun, 30 Jul 2023 22:59:52 GMT Message-Id: <202307302259.36UMxqx3001449@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: a5783589a611 - main - graphics/gmt: fix build on armv7 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5783589a611edd6c2e15a71bdd740a0206058e6 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5783589a611edd6c2e15a71bdd740a0206058e6 commit a5783589a611edd6c2e15a71bdd740a0206058e6 Author: Robert Clausecker AuthorDate: 2023-07-28 20:07:02 +0000 Commit: Robert Clausecker CommitDate: 2023-07-30 22:59:08 +0000 graphics/gmt: fix build on armv7 Fix wrong code for armv7 mcontext_t PC retrieval. Approved by: portmgr (build fix blanket) MFH: 2023Q3 --- graphics/gmt/files/patch-src_gmt__common__sighandler.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphics/gmt/files/patch-src_gmt__common__sighandler.c b/graphics/gmt/files/patch-src_gmt__common__sighandler.c new file mode 100644 index 000000000000..f4368e5d2fa8 --- /dev/null +++ b/graphics/gmt/files/patch-src_gmt__common__sighandler.c @@ -0,0 +1,11 @@ +--- src/gmt_common_sighandler.c.orig 2023-07-28 19:57:48 UTC ++++ src/gmt_common_sighandler.c +@@ -84,7 +84,7 @@ void backtrace_symbols_fd(void *const *buffer, int siz + # ifdef __x86_64__ + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_rip) + # elif defined( __arm__) +-# define UC_IP(uc) ((void *) (uc)->uc_mcontext.arm_pc) ++# define UC_IP(uc) ((void *) (uc)->uc_mcontext.__gregs[_REG_PC]) + # elif defined( __aarch64__) + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_gpregs.gp_elr) + # elif defined(__ppc__)