summaryrefslogtreecommitdiff
path: root/emulators/ppsspp/files/patch-no-egl
diff options
context:
space:
mode:
authorKevin Reinholz <kreinholz@gmail.com>2025-06-06 18:24:02 +0200
committerDaniel Engberg <diizzy@FreeBSD.org>2025-06-06 18:51:54 +0200
commiteca93dbd6df6782a46d51ec7707380a0beb58461 (patch)
tree7649a6ac9b3369670eb27aeb1b3df1613f2a8970 /emulators/ppsspp/files/patch-no-egl
parentgraphics/gimp3-app: Fix plist when HEIF option is enabled (diff)
emulators/ppsspp: Update to 1.19
* Fix build with system miniupnpc * Properly use ${LOCALBASE} instead of hardcoding /usr/local for multimedia/ffmpeg3 build dependency * Misc cleanup (missing USES= flag for desktop-file-utils, correct typo in rapidjson external module commit tag) Changelog: https://www.ppsspp.org/news/release-1.19/
Diffstat (limited to 'emulators/ppsspp/files/patch-no-egl')
-rw-r--r--emulators/ppsspp/files/patch-no-egl27
1 files changed, 27 insertions, 0 deletions
diff --git a/emulators/ppsspp/files/patch-no-egl b/emulators/ppsspp/files/patch-no-egl
new file mode 100644
index 000000000000..9ddc70081066
--- /dev/null
+++ b/emulators/ppsspp/files/patch-no-egl
@@ -0,0 +1,27 @@
+EGL hangs on X11 and doesn't build without GLESv2.
+https://github.com/hrydgard/ppsspp/issues/10626
+
+--- CMakeLists.txt.orig 2025-05-30 21:23:20 UTC
++++ CMakeLists.txt
+@@ -83,12 +83,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_compile_definitions(__STDC_CONSTANT_MACROS)
+@@ -1009,6 +1003,8 @@ if(USE_FFMPEG)
+ elseif(X86)
+ set(PLATFORM_ARCH "Windows/x86")
+ endif()
++ else()
++ set(PLATFORM_ARCH "FreeBSD/%%ARCH%%")
+ endif()
+ if(PLATFORM_ARCH)
+ set(FFMPEG_DIR "ffmpeg/${PLATFORM_ARCH}")