Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 02:33:58 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471073 - in head/emulators/ppsspp: . files
Message-ID:  <201805290233.w4T2XwZJ002343@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue May 29 02:33:58 2018
New Revision: 471073
URL: https://svnweb.freebsd.org/changeset/ports/471073

Log:
  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();
          ^

Added:
  head/emulators/ppsspp/files/patch-no-egl   (contents, props changed)
Modified:
  head/emulators/ppsspp/Makefile   (contents, props changed)

Modified: head/emulators/ppsspp/Makefile
==============================================================================
--- head/emulators/ppsspp/Makefile	Mon May 28 23:56:01 2018	(r471072)
+++ head/emulators/ppsspp/Makefile	Tue May 29 02:33:58 2018	(r471073)
@@ -36,7 +36,6 @@ EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
 USE_GL=		gl glew glu
 USE_SDL=	sdl2 # joystick
 CMAKE_ON=	USE_SYSTEM_FFMPEG USE_SYSTEM_LIBZIP
-CMAKE_OFF=	USING_EGL
 SUB_FILES=	pkg-message
 PORTDATA=	assets ${PORTNAME}
 

Added: head/emulators/ppsspp/files/patch-no-egl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/ppsspp/files/patch-no-egl	Tue May 29 02:33:58 2018	(r471073)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805290233.w4T2XwZJ002343>