summaryrefslogtreecommitdiff
path: root/emulators/ppsspp/files/patch-no-egl-plus-warnings-fix
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ppsspp/files/patch-no-egl-plus-warnings-fix')
-rw-r--r--emulators/ppsspp/files/patch-no-egl-plus-warnings-fix33
1 files changed, 0 insertions, 33 deletions
diff --git a/emulators/ppsspp/files/patch-no-egl-plus-warnings-fix b/emulators/ppsspp/files/patch-no-egl-plus-warnings-fix
deleted file mode 100644
index 14da15c4d6e8..000000000000
--- a/emulators/ppsspp/files/patch-no-egl-plus-warnings-fix
+++ /dev/null
@@ -1,33 +0,0 @@
-EGL hangs on X11 and doesn't build without GLESv2.
-https://github.com/hrydgard/ppsspp/issues/10626
-
---- CMakeLists.txt.orig 2024-11-04 16:16:10 UTC
-+++ CMakeLists.txt
-@@ -79,12 +79,6 @@ endif()
- set(USE_SYSTEM_FFMPEG ON)
- endif()
-
--if(NOT ANDROID AND NOT IOS)
-- if(ARM_DEVICE OR SIMULATOR)
-- set(USING_EGL ON)
-- endif()
--endif()
--
- if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND NOT USE_LIBNX)
- set(LINUX ON)
- add_definitions(-D__STDC_CONSTANT_MACROS)
-@@ -383,8 +377,12 @@ if(NOT MSVC)
- add_definitions(-DPNG_ARM_NEON_OPT=0)
-
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror=return-type -Wno-unused-function -Wno-sign-compare -Wno-unused-but-set-variable -Wno-reorder -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-variable")
-- # This one is very useful but has many false positives.
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-class-memaccess")
-+ if(NOT CLANG)
-+ # This one is very useful but has many false positives.
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-class-memaccess")
-+ else()
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
-+ endif()
-
- if(ANDROID)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++17")