Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2018 17:41:53 +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: r483903 - head/devel/sdl20
Message-ID:  <201811031741.wA3Hfrst097508@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Nov  3 17:41:53 2018
New Revision: 483903
URL: https://svnweb.freebsd.org/changeset/ports/483903

Log:
  devel/sdl20: unbreak DLOPEN=off after r450461
  
  src/video/x11/SDL_x11vulkan.c:82:28: error: use of undeclared identifier 'VK_KHR_XLIB_SURFACE_EXTENSION_NAME'
          else if(SDL_strcmp(VK_KHR_XLIB_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0)
                             ^
  src/video/x11/SDL_x11vulkan.c:82:64: error: use of undeclared identifier 'extensions'
          else if(SDL_strcmp(VK_KHR_XLIB_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0)
                                                                 ^
  src/video/x11/SDL_x11vulkan.c:85:14: error: use of undeclared identifier 'extensions'
      SDL_free(extensions);
               ^
  src/video/x11/SDL_x11vulkan.c:89:22: error: expected ')'
                       VK_KHR_SURFACE_EXTENSION_NAME " extension");
                       ^
  src/video/x11/SDL_x11vulkan.c:88:21: note: to match this '('
          SDL_SetError("Installed Vulkan doesn't implement the "
                      ^
  src/video/x11/SDL_x11vulkan.c:94:20: error: no member named 'vulkan_xlib_xcb_library' in 'struct SDL_VideoData'
          videoData->vulkan_xlib_xcb_library = NULL;
          ~~~~~~~~~  ^
  src/video/x11/SDL_x11vulkan.c:99:22: error: expected ')'
                       VK_KHR_XCB_SURFACE_EXTENSION_NAME "extension or the "
                       ^
  src/video/x11/SDL_x11vulkan.c:98:21: note: to match this '('
          SDL_SetError("Installed Vulkan doesn't implement either the "
                      ^
  src/video/x11/SDL_x11vulkan.c:108:20: error: no member named 'vulkan_xlib_xcb_library' in 'struct SDL_VideoData'
          videoData->vulkan_xlib_xcb_library = SDL_LoadObject(libX11XCBLibraryName);
          ~~~~~~~~~  ^
  src/video/x11/SDL_x11vulkan.c:109:24: error: no member named 'vulkan_xlib_xcb_library' in 'struct SDL_VideoData'
          if(!videoData->vulkan_xlib_xcb_library)
              ~~~~~~~~~  ^
  src/video/x11/SDL_x11vulkan.c:111:20: error: no member named 'vulkan_XGetXCBConnection' in 'struct SDL_VideoData'
          videoData->vulkan_XGetXCBConnection =
          ~~~~~~~~~  ^
  src/video/x11/SDL_x11vulkan.c:112:41: error: no member named 'vulkan_xlib_xcb_library' in 'struct SDL_VideoData'
              SDL_LoadFunction(videoData->vulkan_xlib_xcb_library, "XGetXCBConnection");
                               ~~~~~~~~~  ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  
  PR:		232931

Modified:
  head/devel/sdl20/Makefile   (contents, props changed)

Modified: head/devel/sdl20/Makefile
==============================================================================
--- head/devel/sdl20/Makefile	Sat Nov  3 16:45:37 2018	(r483902)
+++ head/devel/sdl20/Makefile	Sat Nov  3 17:41:53 2018	(r483903)
@@ -97,6 +97,7 @@ VIDEO_X11_DESC=		X11 display support
 
 ASM_CONFIGURE_ENABLE=		assembly
 DLOPEN_CONFIGURE_ENABLE=	sdl-dlopen
+DLOPEN_CONFIGURE_OFF=		--disable-video-vulkan
 HIDAPI_CONFIGURE_ENABLE=	hidapi
 HIDAPI_IMPLIES=			SDL_JOYSTICK
 PTHREADS_CONFIGURE_ENABLE=	pthreads pthread-sem



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