From nobody Tue Dec 12 12:18:49 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 4SqHhn4FZFz53tPk; Tue, 12 Dec 2023 12:18:49 +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 4SqHhn3BWmz3bZL; Tue, 12 Dec 2023 12:18:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702383529; 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=uxtRCpz9zRv7/Rzwb9sIAC5MxUZh6qoOvNpRm/kDm/A=; b=jzqpkiTNkdBg/AXY/pDXjyiuIQiycvjM7mUXCnvmlhOPhIVAnYD3mBgDbopXqPZ7EES9Hd 8Dks09vai9O5Q7u7ATP790q5AlHR++KOwMHbHdlY6SFtTWYekkR1SlHdx11S9JC8+4rBH3 Xk0zyW3ZfprqUS5FZW2xaNLtlZ1M+NZZYJm6u14GS6kGi2uZwe054L7TtycuqU/WgQull5 7hhn1ZtBc0/cUDqDTYWzsx1Zqfa4gtEYnsETUj5ygsnwFV6qtZmea53T80vK9qe9lEPOuJ NucGLGCGbCmAXbB+kCDi7U5kLueT711IWqHNEu/rRaPjCQtdvaE7PKqxlY4xdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702383529; a=rsa-sha256; cv=none; b=MjscfVtMHYHBckOtH41FgdGb3a8E21wiJ6mGCGDKl5wbzRm4Vnzb9Mjlvf7WUMFoUqQBof acTnpzmdH7oV5fbXw2zJVEluD1tdH658GkoVDDkd1/zmDl4J/sQ1hAI69kHRBVvIFr7RhV jDjioT9E2AIpUlgfgOd1y7iD4wPdbvcJErNg62WDqNduc1bYUb/PIgAlY73UXDzwPpR6zi HI3VdzvWi87GAcK6isWqpWpMNqQDjpDK6dD7zjE3MDiwcCrImspURNpeKg829uUO8T1GFv yfeet6xBbwzXbDnfZup08lzE7luG+UlsFrmBufKWIHLkVxFF0PbxRFTX4LFuZA== 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=1702383529; 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=uxtRCpz9zRv7/Rzwb9sIAC5MxUZh6qoOvNpRm/kDm/A=; b=OZwT38TyVnhIkFGAGmi+fiNuQxdEHy+/GnXeNL4YI0XVjTKb/yze31GomlGEtNdn8fcMax 8uKOVe2PLHFHuc3w83JwONaWSvWPWXiJa/gpwsDQ4corqGnWV9a55JTKhQMqM449OLi2hT 8B6mLHklm4sC3Z/jYTSyWlYpfP8bZpMlhfatINEAohyH0m5cxK8Y88BQBJeAaamOEGG53K Z8AO6VVjrSH6aIHso2m7v9wFG9vZh8liVdLDlhEBK3MMTX7SSG7BESigHRdtynEIMKQG6A 2B6WwCpqUhkuEtpcIapUSGjvOp73WQnr4nmwLcY9lzScvqqGzWi1ZJUrbsQ61Q== 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 4SqHhn2HK1zZH; Tue, 12 Dec 2023 12:18:49 +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 3BCCInwQ084153; Tue, 12 Dec 2023 12:18:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BCCInbs084150; Tue, 12 Dec 2023 12:18:49 GMT (envelope-from git) Date: Tue, 12 Dec 2023 12:18:49 GMT Message-Id: <202312121218.3BCCInbs084150@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: 416d29ce7d3a - main - games/retroarch: 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: 416d29ce7d3abb52036d1808330dc5758081bf1c Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=416d29ce7d3abb52036d1808330dc5758081bf1c commit 416d29ce7d3abb52036d1808330dc5758081bf1c Author: Piotr Kubaj AuthorDate: 2023-12-12 02:58:55 +0000 Commit: Piotr Kubaj CommitDate: 2023-12-12 12:12:36 +0000 games/retroarch: 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/retroarch/files/patch-libretro-common_features_features__cpu.c b/games/retroarch/files/patch-libretro-common_features_features__cpu.c new file mode 100644 index 000000000000..c724722c8534 --- /dev/null +++ b/games/retroarch/files/patch-libretro-common_features_features__cpu.c @@ -0,0 +1,20 @@ +--- libretro-common/features/features_cpu.c.orig 2023-12-12 02:50:19.541552000 +0000 ++++ libretro-common/features/features_cpu.c 2023-12-12 02:52:13.056521000 +0000 +@@ -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 @@ + 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;