summaryrefslogtreecommitdiff
path: root/extra/sdl2/directfb-cflags.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
committerdavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
commit606bc59d0f8f67815c6a717843835477d44db6b3 (patch)
tree687b3fe5bc844b90a3841e1ea543aa9f9934a93a /extra/sdl2/directfb-cflags.patch
parent1084afc3c4d9c83e61620de60ba59a4393a33cb0 (diff)
added ungoogled chromium
Diffstat (limited to 'extra/sdl2/directfb-cflags.patch')
-rw-r--r--extra/sdl2/directfb-cflags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/sdl2/directfb-cflags.patch b/extra/sdl2/directfb-cflags.patch
new file mode 100644
index 0000000..037667d
--- /dev/null
+++ b/extra/sdl2/directfb-cflags.patch
@@ -0,0 +1,10 @@
+--- a/cmake/sdlchecks.cmake
++++ b/cmake/sdlchecks.cmake
+@@ -745,6 +745,7 @@
+ set(SDL_VIDEO_DRIVER_DIRECTFB 1)
+ set(SDL_VIDEO_RENDER_DIRECTFB 1)
+ list(APPEND EXTRA_CFLAGS ${PKG_DIRECTFB_CFLAGS})
++ list(JOIN PKG_DIRECTFB_CFLAGS " " SDL_CFLAGS)
+ if(SDL_DIRECTFB_SHARED AND NOT HAVE_SDL_LOADSO)
+ message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")
+ endif()