summaryrefslogtreecommitdiff
path: root/emulators/ppsspp/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-05-29 02:33:58 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-05-29 02:33:58 +0000
commitbb08e4a3ac9becb6727a94ffa6817140fc490992 (patch)
tree956f3a5f0749912f771137bbb22cefef17e50337 /emulators/ppsspp/files
parentemulators/citra: update to s20180528 (diff)
emulators/ppsspp: unbreak on armv6/armv7
SDL/SDLGLGraphicsContext.cpp:88:2: error: use of undeclared identifier 'EGL_Init' EGL_Init(); ^ SDL/SDLGLGraphicsContext.cpp:122:18: error: use of undeclared identifier 'g_eglDisplay' eglSwapBuffers(g_eglDisplay, g_eglSurface); ^ SDL/SDLGLGraphicsContext.cpp:122:32: error: use of undeclared identifier 'g_eglSurface' eglSwapBuffers(g_eglDisplay, g_eglSurface); ^ SDL/SDLGLGraphicsContext.cpp:139:2: error: use of undeclared identifier 'EGL_Close' EGL_Close(); ^
Diffstat (limited to 'emulators/ppsspp/files')
-rw-r--r--emulators/ppsspp/files/patch-no-egl18
1 files changed, 18 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..962d800fc960
--- /dev/null
+++ b/emulators/ppsspp/files/patch-no-egl
@@ -0,0 +1,18 @@
+EGL hangs on X11 and doesn't build without GLESv2.
+https://github.com/hrydgard/ppsspp/issues/10626
+
+--- CMakeLists.txt.orig 2017-12-05 13:51:51 UTC
++++ CMakeLists.txt
+@@ -56,12 +56,6 @@ include(ccache)
+ # Remove soon?
+ set(USE_FFMPEG ON)
+
+-if(NOT ANDROID AND NOT IOS)
+- if(ARM OR SIMULATOR)
+- set(USING_EGL ON)
+- endif()
+-endif()
+-
+ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ set(LINUX ON)
+ add_definitions(-D__STDC_CONSTANT_MACROS)