From nobody Tue Nov 21 21:34:24 2023 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 4SZd1Y1lqDz52KwC; Tue, 21 Nov 2023 21:34:25 +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 4SZd1Y1LFSz3cml; Tue, 21 Nov 2023 21:34:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700602465; 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=s5GiUSTo8PYngutgFYA+kImDi+s8SyR3yCURzFL4ktI=; b=O94bQqA3fCkWFqCd5VVPrL8ht8jVCPUugtRyMo/iQYIbZ7264xotlrhulClAKxQ2bU7dd/ KrduLP9cdrLU63L3h7iH7lI/1LNMOim2LlisCexM5V+Oc6OXKthw8yadsyPTU2LG2rI1o1 p5X2GU1mw7lo8U4URdZ0r6lJznngLQKIF6qnbDw3djLDrhLUuaEiQ6DTTjkYCnrD8mK2O/ 1Od6WBLfWXRqcLyRPpQth5rSXa9+ZOmCK31gtpaWna//y2d2Rgk0c7pGiZ3/h3/v6U1OPh iSUMRK823x85bnD0iDAmhqtJTg9VP3Emmw5IdFxbhmKY5k5G3J9NRE8PKtO5CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700602465; 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=s5GiUSTo8PYngutgFYA+kImDi+s8SyR3yCURzFL4ktI=; b=mI2qmVU4RmwSwRxJTMwESEFCBxcAM5MdVqrDZAkB6u4z+/ML769TymsOQgq011hIpvsM7a 52SzWnF1QWMcWtxsDQjYXhrgIC4N20XuMuO9wChokGo0ROYk6Y+ZpWBa9/gQmq/J4MLRHK +atvcAFul57mLFl7Rvsaird23ndxLZGOVtl/axUCnfYM6cdCEUFJlBF6Orn8GbhuJsrIe7 tN9ss2kH2qSyAyhSYKG0ZTAwJ4kzIYpbYGCSkuozvI++hjhvtBQ/wtbH7l6NBlE+FmwadV qO0fP9mzWZY5O8G/1FegUYH1xT6X0SwgbBWPtqonCd7lgRsRplluqbGatUNapw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700602465; a=rsa-sha256; cv=none; b=AIfNkH9hnrfmGpixPMWhXdyyT0+Xond7z+Gsh+Ee0BxinHnZOoAwAPbB39bwueJXZGNbYQ 5FoVdJ+7EhpohcBdmsHfcI4nkT6+jD8mfBehKg/tbiE+5RTtIX9pLv/QJGrSYKOoFl6l51 7pIbELk0Zuc/NW913PjPvEd0JhRaFXiqlk0mwH42YCuMRnNH+yD//+grwzVZtFGrPlc7uA Dcc0rxb8RVExFAMQmjViB7FZ7e5ow/SWWqir691D7Bdw7yA+RjhQ+9QlrR75/mNFy4FBRS dhDQUVmiKxfzfJSiqOdTRsLFSSNGHyuXGtAuJl/bHLPJN0MkGL0OKQiQ38SqdQ== 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 4SZd1Y08KPzs1m; Tue, 21 Nov 2023 21:34:25 +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 3ALLYOvR046884; Tue, 21 Nov 2023 21:34:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ALLYOPZ046881; Tue, 21 Nov 2023 21:34:24 GMT (envelope-from git) Date: Tue, 21 Nov 2023 21:34:24 GMT Message-Id: <202311212134.3ALLYOPZ046881@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: 98705ae2cb67 - main - games/libretro-tyrquake: 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: 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: 98705ae2cb67143fe24035c3df7f7c5aa99e29c1 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=98705ae2cb67143fe24035c3df7f7c5aa99e29c1 commit 98705ae2cb67143fe24035c3df7f7c5aa99e29c1 Author: Piotr Kubaj AuthorDate: 2023-11-21 21:32:18 +0000 Commit: Piotr Kubaj CommitDate: 2023-11-21 21:34:22 +0000 games/libretro-tyrquake: fix build on powerpc* libretro-common/features/features_cpu.c:50:10: fatal error: 'ppu_intrinsics.h' file not found ^~~~~~~~~~~~~~~~~~ 1 error generated. --- .../patch-libretro-common_features_features__cpu.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/games/libretro-tyrquake/files/patch-libretro-common_features_features__cpu.c b/games/libretro-tyrquake/files/patch-libretro-common_features_features__cpu.c new file mode 100644 index 000000000000..a4d61092e763 --- /dev/null +++ b/games/libretro-tyrquake/files/patch-libretro-common_features_features__cpu.c @@ -0,0 +1,20 @@ +--- libretro-common/features/features_cpu.c.orig 2023-11-21 21:30:09 UTC ++++ libretro-common/features/features_cpu.c +@@ -45,7 +45,7 @@ + + #if defined(_XBOX360) + #include +-#elif !defined(__MACH__) && (defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__) || defined(__PPC64__) || defined(__powerpc64__)) ++#elif !defined(__MACH__) && !defined(__FreeBSD__) && (defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__) || defined(__PPC64__) || defined(__powerpc64__)) + #ifndef _PPU_INTRINSICS_H + #include + #endif +@@ -181,7 +181,7 @@ retro_perf_tick_t cpu_features_get_perf_counter(void) + time_ticks = (1000000 * tv_sec + tv_usec); + #elif defined(GEKKO) + time_ticks = gettime(); +-#elif !defined(__MACH__) && (defined(_XBOX360) || defined(__powerpc__) || defined(__ppc__) || defined(__POWERPC__) || defined(__PSL1GHT__) || defined(__PPC64__) || defined(__powerpc64__)) ++#elif !defined(__MACH__) && !defined(__FreeBSD__) && (defined(_XBOX360) || defined(__powerpc__) || defined(__ppc__) || defined(__POWERPC__) || defined(__PSL1GHT__) || defined(__PPC64__) || defined(__powerpc64__)) + time_ticks = __mftb(); + #elif (defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK > 0) || defined(__QNX__) || defined(ANDROID) + struct timespec tv;