diff --git a/0001-Disable-autoselect-for-PPC-dynarec-since-it-s-broken.patch b/0001-Disable-autoselect-for-PPC-dynarec-since-it-s-broken.patch new file mode 100644 index 0000000..c7627e7 --- /dev/null +++ b/0001-Disable-autoselect-for-PPC-dynarec-since-it-s-broken.patch @@ -0,0 +1,30 @@ +From eac8516c484029b6a94a6783f7a051743d8173bc Mon Sep 17 00:00:00 2001 +From: Mystro256 +Date: Wed, 13 Feb 2019 10:45:30 -0500 +Subject: [PATCH] Disable autoselect for PPC dynarec since it's broken + +--- + libpcsxcore/CMakeLists.txt | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/libpcsxcore/CMakeLists.txt b/libpcsxcore/CMakeLists.txt +index a0477aac..b8caef4c 100644 +--- a/libpcsxcore/CMakeLists.txt ++++ b/libpcsxcore/CMakeLists.txt +@@ -37,8 +37,11 @@ set(CMAKE_POSITION_INDEPENDENT_CODE OFF) #for x86 + + if (${DYNAREC} STREQUAL "auto") + if (_ARCH_PPC) +- set(DYNAREC_PPC 1) +- message(STATUS "Autodetected PPC dynarec.") ++#if anyone ever fixes ppc dynarec ++# set(DYNAREC_PPC 1) ++# message(STATUS "Autodetected PPC dynarec.") ++ message(STATUS "Autodetected PPC dynarec is broken, sorry.") ++ add_definitions(-DNOPSXREC) + elseif(_ARCH_64) + set(DYNAREC_64 1) + message(STATUS "Autodetected x86_64 dynarec.") +-- +2.20.1 + diff --git a/pcsxr.spec b/pcsxr.spec index 1b097a1..8a2d999 100644 --- a/pcsxr.spec +++ b/pcsxr.spec @@ -17,6 +17,8 @@ Url: https://github.com/iCatButler/pcsxr Source0: https://github.com/iCatButler/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz #Appdata: Source1: %{name}.appdata.xml +#Fix PPC builds: https://github.com/iCatButler/pcsxr/pull/11 +Patch0: 0001-Disable-autoselect-for-PPC-dynarec-since-it-s-broken.patch BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel