From nobody Sun Jul 30 23:02:07 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 4RDcMj1xPSz4pYXc; Sun, 30 Jul 2023 23:02:10 +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 4RDcMN2gqGz3xmq; Sun, 30 Jul 2023 23:02:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690758128; 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=cDsdsPA5IpqsMD9ZnKj6FXwPvYno3yB4IGgypzlTxUw=; b=hAd8rXxMnXeTXFU3Lia9qYp2zqqgex3d3L+jm7pWoUBeFFdIO6LAHnaGsBZG5T0ZVyUw0m pAprQV7mGPOxxSNJNe8UhP9pkTJK8CVpxtX03CfE1qeTAlVBtSex3nSct1nCWQ3LgaOLNf gP5LO4Lt9G50A6wYWJLmGC9fwHFxCpihlG/H+a2Tu0taafDrH3sE42b/6cjpF3F2P6e2sK t00QBZOc28vUpwkVFvHr18F0YqfQYFW4y8IfABvgjgSRPR467ogdojWWAb/vpept50AXgW j+25nnwQWf8Qob+EOBfNDRWMPfXGh/ntEPOgfS8Qv2H5jt/aklfSS95p8c5kJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690758128; 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=cDsdsPA5IpqsMD9ZnKj6FXwPvYno3yB4IGgypzlTxUw=; b=NwAhPow6k9qkhoB850MXB2sipzFsRH7PGtlJ1UKUfAeFKV+FLwDyVhw/ZSR5UY5OBaNQoh +iytHfvdDLjjtxHz35aBoDcgkfXdsF6tGUzAQhIRAP4Urj+gxko9KHIJL3lu1piSHXMiYY PXmpTT9P17VnE7UZfyS/OB5jmE27XnN7EHWs6GEPHrTJXrUfOD/D04SPd8k8GQwy4Sw0l5 N83uysjis/94GMJrubrdvUxpaVMzX/xK6XcHd6R+u/0EHXekRp19eS8zR1QUNe1naFIOhB d4abf55gA4UApnq1TydvHTt0O/hJAOs1ZA/Hp375i/Tv/dV4COKWVSXkMoCIVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690758128; a=rsa-sha256; cv=none; b=lgey/nidhqmihjtXZuMq3pqXIrP23WQI1hgAxfmKbgByhaHClxQfSjxhyeryCW684L62r0 0VYGge5YKt891upRLaG6iyMgGHmn/yIgtEXzBR1UqTf7lcmT4b56Dq3/cqVlp2Op26GQoH a0rY81f9QAVFN7B6FSrK7WhHzYRPXqlvGKz58xPV6plYNnMIptOgot3HDgGRv/oNajzybU UA1MGhaSORyRTxBt+lmA8ssMeV8jSrOsO8NFOc4pejRJoO0RmTyPG88Ad3WX+cSpocv20z YpEbJKCrMqUc+x+LBYO5W7c3EIkf1AoZfwP6/NbAuWDT1cpSAI6aR+FvoCY56Q== 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 4RDcMM6dH9zXnt; Sun, 30 Jul 2023 23:02:07 +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 36UN274w017565; Sun, 30 Jul 2023 23:02:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36UN27Z4017564; Sun, 30 Jul 2023 23:02:07 GMT (envelope-from git) Date: Sun, 30 Jul 2023 23:02:07 GMT Message-Id: <202307302302.36UN27Z4017564@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Clausecker Subject: git: 80acbe76a9c7 - 2023Q3 - 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/2023Q3 X-Git-Reftype: branch X-Git-Commit: 80acbe76a9c788a618dab42c2051e7a4bb08ba00 Auto-Submitted: auto-generated The branch 2023Q3 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=80acbe76a9c788a618dab42c2051e7a4bb08ba00 commit 80acbe76a9c788a618dab42c2051e7a4bb08ba00 Author: Robert Clausecker AuthorDate: 2023-07-28 20:07:02 +0000 Commit: Robert Clausecker CommitDate: 2023-07-30 23:01:41 +0000 graphics/gmt: fix build on armv7 Fix wrong code for armv7 mcontext_t PC retrieval. Approved by: portmgr (build fix blanket) MFH: 2023Q3 (cherry picked from commit a5783589a611edd6c2e15a71bdd740a0206058e6) --- 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__)