mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
ppsspp: fix build for x86 arch
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 02f40b6c7717c85e482ae3af11c850364148f15a Mon Sep 17 00:00:00 2001
|
||||
From 19a5742fc19c0c7eebd98485d502ad531fd8861e Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Mon, 17 Jul 2023 21:02:15 +1000
|
||||
Subject: Fix for Haiku
|
||||
@@ -120,7 +120,7 @@ index 338dfa1..41c9175 100644
|
||||
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#include <pthread_np.h>
|
||||
diff --git a/Core/Config.cpp b/Core/Config.cpp
|
||||
index 7ab6710..c99fbb0 100644
|
||||
index 7ab6710..979f383 100644
|
||||
--- a/Core/Config.cpp
|
||||
+++ b/Core/Config.cpp
|
||||
@@ -279,7 +279,7 @@ static const ConfigSetting cpuSettings[] = {
|
||||
@@ -367,3 +367,26 @@ index aeecc38..34852f7 100644
|
||||
--
|
||||
2.37.3
|
||||
|
||||
|
||||
From 8240f9ef740993ebf820ece05e9d253f2da505c3 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Tue, 18 Jul 2023 19:31:40 +1000
|
||||
Subject: Fix build for x86 arch
|
||||
|
||||
|
||||
diff --git a/ext/cmake/cpu_features/CMakeLists.txt b/ext/cmake/cpu_features/CMakeLists.txt
|
||||
index 31446d9..759f722 100644
|
||||
--- a/ext/cmake/cpu_features/CMakeLists.txt
|
||||
+++ b/ext/cmake/cpu_features/CMakeLists.txt
|
||||
@@ -58,7 +58,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)")
|
||||
set(PROCESSOR_IS_AARCH64 TRUE)
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
|
||||
set(PROCESSOR_IS_ARM TRUE)
|
||||
-elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)|(AMD64|amd64)|(^i.86$)")
|
||||
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64)|(AMD64|amd64)|(^i.86$)|(x86)")
|
||||
set(PROCESSOR_IS_X86 TRUE)
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
|
||||
set(PROCESSOR_IS_POWER TRUE)
|
||||
--
|
||||
2.37.3
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ Android or PC device."
|
||||
HOMEPAGE="https://www.ppsspp.org/"
|
||||
COPYRIGHT="2012-2023 PPSSPP Project"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/hrydgard/ppsspp/releases/download/v${portVersion}/ppsspp-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="a20bd27b4cda811d6cd2182fbfcd16f7092d6a5d07fcbbd00cc7230530bdf68c"
|
||||
SOURCE_FILENAME="ppsspp-$portVersion.tar.xz"
|
||||
|
||||
Reference in New Issue
Block a user