From nobody Tue May 31 03:13:20 2022 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 A82C61B42EDF; Tue, 31 May 2022 03:13:20 +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 4LBy5r49gTz3k4b; Tue, 31 May 2022 03:13:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653966800; 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=vtkmBEceBe3TQ+9aYQQOMYBLXCHLPeYInjBl2CQVGtg=; b=olAZTWBBMqIjL2IcuFsrW5UA+9C2d14UNr+rdZ3iij7YT3G/xsu2rzZ7lumdwj5UFKO350 D2CGyhe2pIM6od1ewFPRs+8sB/30aYd7ZO2yShaymkZneQ4yH2+NsIod3xIhMppbG3zJVf mG9OyBXF+ZqYzDpcqNSa2EtgTwROec+xFc8fV4le9yoAEpXffCi3k58tqKYtPsRySUcZ4O 6WvzCn0hZoSHVEy/xQoq/GK36dF/4xcZ1733gsCsrSCS7vR5DufHT91H1s/tuHjVh+gH20 JlOPeftbF9Lf9ksdidmu9fQglsK8jSBscS37EtzV28NV5+1ChlGEI7yp/EJlxA== 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 6F56023BAE; Tue, 31 May 2022 03:13:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24V3DKTD090100; Tue, 31 May 2022 03:13:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24V3DKjg090099; Tue, 31 May 2022 03:13:20 GMT (envelope-from git) Date: Tue, 31 May 2022 03:13:20 GMT Message-Id: <202205310313.24V3DKjg090099@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: 1ba955a74ecf - main - mes/libretro-o2em: fix build on powerpc* 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ba955a74ecf71fa1652d35465632256a98cde17 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653966800; 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=vtkmBEceBe3TQ+9aYQQOMYBLXCHLPeYInjBl2CQVGtg=; b=TunzwIyi279kg1eTT8IEYchiXhYiMOq+ZlP3L13m8A2PcZrVSHa6omMZ32jQkUhtEINt9J TGk/Kve2B/x5yFgDwXOd6A/ZJWr+jOp5O8CdVzDvEoPE9W7E1MhUNs47Ur+5fE4vGKUadE JOlBJjScTmGKT44u9O/pVIJUdHEtYA36juteluAqxZ0vaPqKNhOcz4XXkLsexLlVALaiHZ P13ZrV5WAY27cGCJlPnwJ9YcSq5Hw3ort7g+evw2aq9CVeVC4jtLT6uJvA0xGKv0LuCjdE IfEqBHOCPeCkgKL/KPXWEpw35W9R2kJyoj77xD42trqyEPwqoYEicREOuPxujQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653966800; a=rsa-sha256; cv=none; b=IDT2gZLHabe6nrT943Iv0tQLakV/ZmjRBintVCFiOjkaG3i4zHm5tEjncjfjNB7kdT10BC HH+uE2XEAYF7nHLud8o/t73sqrFwYS7Arw9auuo3g96DYSA8hBgeYRiGvojDIhUFtNxg2g /YvlMQ0FCeikWYrfQKyVdC5AJhg43mvEu1q8rXuUkfzTvN3gknlC1SK7T8XEENNIVfV3Vs LzjYRO1h9OoSpiGGh31znjnBveYsS1XuFdt6ox2GlEEUEs9MO9jSdC2kPxzanoEg6UctaL BJopEyXjTZY8vUdBmYAxLlvT5oxfCs1AE66iufJEabydjue7L9xqZfSuG9rlWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ba955a74ecf71fa1652d35465632256a98cde17 commit 1ba955a74ecf71fa1652d35465632256a98cde17 Author: Piotr Kubaj AuthorDate: 2022-05-31 03:05:55 +0000 Commit: Piotr Kubaj CommitDate: 2022-05-31 03:05:55 +0000 mes/libretro-o2em: fix build on powerpc* libretro-common/features/features_cpu.c:50:10: fatal error: 'ppu_intrinsics.h' file not found --- .../patch-libretro-common_features_features__cpu.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/games/libretro-o2em/files/patch-libretro-common_features_features__cpu.c b/games/libretro-o2em/files/patch-libretro-common_features_features__cpu.c new file mode 100644 index 000000000000..661f6ec2b4c5 --- /dev/null +++ b/games/libretro-o2em/files/patch-libretro-common_features_features__cpu.c @@ -0,0 +1,20 @@ +--- libretro-common/features/features_cpu.c.orig 2022-02-01 14:08:50 UTC ++++ libretro-common/features/features_cpu.c +@@ -46,7 +46,7 @@ + #if defined(_XBOX360) + #include + #elif !defined(__MACH__) && (defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__) || defined(__PPC64__) || defined(__powerpc64__)) +-#ifndef _PPU_INTRINSICS_H ++#if !defined(_PPU_INTRINSICS_H) && defined(__linux__) + #include + #endif + #elif defined(_POSIX_MONOTONIC_CLOCK) || defined(ANDROID) || defined(__QNX__) || defined(DJGPP) +@@ -175,7 +175,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(_XBOX360) + time_ticks = __mftb(); + #elif (defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK > 0) || defined(__QNX__) || defined(ANDROID) + struct timespec tv = {0};