aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-27 06:31:48 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:36:58 +0800
commit7dda95312d2dcc124dbcdd8db9551331749adf43 (patch)
treedae799b12bb789fef5100525b1b5c278048a6cf8 /emulators
parenteeb09bc1c89d6ff195ff5bcca965435af3afc0df (diff)
downloadfreebsd-ports-gnome-7dda95312d2dcc124dbcdd8db9551331749adf43.tar.gz
freebsd-ports-gnome-7dda95312d2dcc124dbcdd8db9551331749adf43.tar.zst
freebsd-ports-gnome-7dda95312d2dcc124dbcdd8db9551331749adf43.zip
emulators/{mame,mess}: unbreak after r450461
../../../../../src/osd/modules/render/drawbgfx.c:174:8: error: no member named 'sdlSetWindow' in namespace 'bgfx' bgfx::sdlSetWindow(window().sdl_window()); ~~~~~~^ Reported by: pkg-fallout
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/files/patch-3rdparty_bgfx_include_bgfxplatform.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/mame/files/patch-3rdparty_bgfx_include_bgfxplatform.h b/emulators/mame/files/patch-3rdparty_bgfx_include_bgfxplatform.h
new file mode 100644
index 000000000000..f93e002d243f
--- /dev/null
+++ b/emulators/mame/files/patch-3rdparty_bgfx_include_bgfxplatform.h
@@ -0,0 +1,13 @@
+Catch up with https://hg.libsdl.org/SDL/rev/d11daa346140
+
+--- 3rdparty/bgfx/include/bgfxplatform.h.orig 2015-09-30 06:29:01 UTC
++++ 3rdparty/bgfx/include/bgfxplatform.h
+@@ -186,7 +186,7 @@ namespace bgfx
+
+ #endif // BX_PLATFORM_
+
+-#if defined(_SDL_syswm_h)
++#if defined(_SDL_syswm_h) || defined(SDL_syswm_h_)
+ // If SDL_syswm.h is included before bgfxplatform.h we can enable SDL window
+ // interop convenience code.
+