From nobody Mon Jul 29 15:10:26 2024 X-Original-To: dev-commits-ports-main@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 4WXhcg456Nz5RQRV; Mon, 29 Jul 2024 15:10:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXhcf629gz3y0b; Mon, 29 Jul 2024 15:10:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722265826; 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=xHWEQFU+zILl3FG8sbKAJ4WCTtR+TekMiV5ynkb6Sxc=; b=LC3Im8uOjiHOlNc34QUgg4+IKkKBfcHc3n8DrFm0SSQa/1rcBcEXyZziwmd2BFSrtyfxEe qR91Rl0ivmQv4Fj+hXNyyV4cybUlxtwSfAXuSHW8Os0G2rfc64o0lv+1m2gPDFWGi6ld2b OFJ8ff1J4lRgRBtDwfJzQyPkupw2SENAKRpRsyaJo0ozopzzrKbeNqb1RIhmH1VxnNcLYS nZuG1z0jRVdjK+o37U2n3pzef63d2t4xzAaIiogtRD0BuXvTi76dD30eL61vFTt/gquH2Q bd76nn2eryiMsweEockBKpRk+kmYaJqTM9+k5QMcPbIhgpvfNx86Mssk9taNFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722265826; a=rsa-sha256; cv=none; b=ElRcFz2EihyBye97bYUiYJBoZXKwzauV8B2wJg3eWbcFz+C1nGFTU8IrXnU64CXgXcUgAJ IPBQpMZlZdRMYp+/F45DlvCs6leAWBAAfIt02Bha7vwompDc+9AM/BZxITgoPmvqvNxzOr 0T9b7rbxIO0dtI8S5tEnc47Jx9rmWmKu0VXWKBNntAgs3G/sniWA/z/wBCf4Udqbd8B5Dc ufNd/1OcOnw6134NfncFdCtBeB3PVbt/Z3ck6Alr509d2vJTI+PFN5/Ydvinu69bngh2+U jx7Qtb0g2jj+jmfBzvXPbuhSw4Hr+bD7ak4z460WOeoLehpe0UfKJT+iBFMdtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722265826; 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=xHWEQFU+zILl3FG8sbKAJ4WCTtR+TekMiV5ynkb6Sxc=; b=klfrB3Orxb8gWLys5LeVWOkOEGt2K08agzawCJsaSgEdGTkeoD89wn9lhJmVoL1HmmtmG4 v5Q4KtH0ckkm1sigZ1iDFh4zhB0qg3HyhB9ffVh1yHXXNWPtsya6Pmu6eGpT+DzGleX1Cy hsZba8qoFpXGg+2cZuwzwclr7QklSfanx7lsaPT+cLfFuyfv4vL83zPktBL/o4euspjNvu HBeJJiF11TVlp0/31uTTVbZeUjMu49QJjGpq+qT0zSJymdoxY8eWFRPQ9FDp+eM0XIoNPz 2y8cysLI86TahSEU0cQA0Ut3ZYJilLID1QiVSY8LUUzT5Sql7HVf7q6gdvKAog== 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 4WXhcf5Y70zfdb; Mon, 29 Jul 2024 15:10:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46TFAQVN061149; Mon, 29 Jul 2024 15:10:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46TFAQ8D061146; Mon, 29 Jul 2024 15:10:26 GMT (envelope-from git) Date: Mon, 29 Jul 2024 15:10:26 GMT Message-Id: <202407291510.46TFAQ8D061146@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 1cf43b016ea1 - main - graphics/openxr: fix build on powerpc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1cf43b016ea1707a5e5634f407e4b6a6547cc958 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=1cf43b016ea1707a5e5634f407e4b6a6547cc958 commit 1cf43b016ea1707a5e5634f407e4b6a6547cc958 Author: Piotr Kubaj AuthorDate: 2024-07-29 12:50:26 +0000 Commit: Piotr Kubaj CommitDate: 2024-07-29 15:10:14 +0000 graphics/openxr: fix build on powerpc /wrkdirs/usr/ports/graphics/openxr/work/OpenXR-SDK-release-1.1.38/src/common/platform_utils.hpp:75:2: error: "No architecture string known!" 75 | #error "No architecture string known!" | ^ --- graphics/openxr/files/patch-src_common_platform__utils.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphics/openxr/files/patch-src_common_platform__utils.hpp b/graphics/openxr/files/patch-src_common_platform__utils.hpp new file mode 100644 index 000000000000..25c21871e799 --- /dev/null +++ b/graphics/openxr/files/patch-src_common_platform__utils.hpp @@ -0,0 +1,11 @@ +--- src/common/platform_utils.hpp.orig 2024-07-29 12:32:33 UTC ++++ src/common/platform_utils.hpp +@@ -55,6 +55,8 @@ + #define XR_ARCH_ABI "mips" + #elif defined(__powerpc64__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ + #define XR_ARCH_ABI "ppc64" ++#elif defined(__powerpc__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ++#define XR_ARCH_ABI "ppc" + #elif defined(__powerpc__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ + #define XR_ARCH_ABI "ppc64el" + #elif defined(__s390x__) || defined(__zarch__)