summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch')
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
new file mode 100644
index 0000000000..4116ae7d14
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
@@ -0,0 +1,24 @@
1Index: git/framework/delibs/dethread/CMakeLists.txt
2===================================================================
3--- git.orig/framework/delibs/dethread/CMakeLists.txt
4+++ git/framework/delibs/dethread/CMakeLists.txt
5@@ -39,6 +39,7 @@ include_directories(
6
7 if (DE_OS_IS_UNIX)
8 add_definitions(-D_GNU_SOURCE)
9+ add_definitions(-D_XOPEN_SOURCE=600)
10 set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread)
11 endif ()
12
13Index: git/framework/qphelper/CMakeLists.txt
14===================================================================
15--- git.orig/framework/qphelper/CMakeLists.txt
16+++ git/framework/qphelper/CMakeLists.txt
17@@ -28,6 +28,7 @@ set(QPHELPER_LIBS
18 if (DE_OS_IS_UNIX OR DE_OS_IS_QNX)
19 # For vsnprintf()
20 add_definitions(-D_XOPEN_SOURCE=600)
21+ set(QPHELPER_LIBS ${QPHELPER_LIBS} execinfo)
22 endif ()
23
24 if (DE_OS_IS_WIN32 AND DE_COMPILER_IS_MSC)