media-libs/libsdl2: enable cocoa on osx
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 29 Apr 2018 12:43:51 +0000 (07:43 -0500)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 7 May 2018 20:56:25 +0000 (21:56 +0100)
commitc70c727c98b24ad8b44e05285b8785be15062af0
tree0571b71e50e1f23cb1c9324eb162edb85c10e6a8
parent5f25b107a225e0820086bc481d5cf9a6744872b9
media-libs/libsdl2: enable cocoa on osx

Required for building on osx prefix, otherwise you get the following
build failures:

Undefined symbols for architecture x86_64:
  "_Cocoa_IsWindowInFullscreenSpace", referenced from:
      _SDL_UpdateFullscreenMode in SDL_video.o
      _SDL_OnWindowFocusLost in SDL_video.o
  "_Cocoa_Mtl_AddMetalView", referenced from:
      _METAL_CreateRenderer in SDL_render_metal.o
  "_Cocoa_SetWindowFullscreenSpace", referenced from:
      _SDL_UpdateFullscreenMode in SDL_video.o
ld: symbol(s) not found for architecture x86_64
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8200
media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild