aboutsummaryrefslogtreecommitdiffstats
path: root/community/sdl2/directfb-cflags.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-26 21:46:53 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-26 23:36:04 -0300
commit6ea7e4ea6aa36df39331953550c3a2810e05c103 (patch)
tree1bc36c65f87dfd9a78e83e1c31c971714bfadd46 /community/sdl2/directfb-cflags.patch
parent567cd9aabfa2dfc438ac7c193e275513c72f5cd9 (diff)
downloadaports-6ea7e4ea6aa36df39331953550c3a2810e05c103.tar.bz2
aports-6ea7e4ea6aa36df39331953550c3a2810e05c103.tar.xz
community/sdl2: move from main
Diffstat (limited to 'community/sdl2/directfb-cflags.patch')
-rw-r--r--community/sdl2/directfb-cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/sdl2/directfb-cflags.patch b/community/sdl2/directfb-cflags.patch
new file mode 100644
index 0000000000..77f2398201
--- /dev/null
+++ b/community/sdl2/directfb-cflags.patch
@@ -0,0 +1,12 @@
+diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
+index 4a2c3ed..c863d38 100644
+--- a/cmake/sdlchecks.cmake
++++ b/cmake/sdlchecks.cmake
+@@ -732,6 +732,7 @@ macro(CheckDirectFB)
+ 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(DIRECTFB_SHARED)
+ if(NOT HAVE_DLOPEN)
+ message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")