From ce5b4c9af3d4a64e2a0206b6457bdf3a90ae4275 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 15 Dec 2021 15:56:28 -0800 Subject: qtbase: Fix ptest compilation with clang Fixes fakeplugin.cpp:36:39: error: 'message' causes a section type conflict with 'pluginSection' QT_PLUGIN_METADATA_SECTION const char message[] = "QTMETADATA"; ^ fakeplugin.cpp:32:40: note: declared here QT_PLUGIN_METADATA_SECTION void *const pluginSection = (void*)(0xc0ffeec0ffeeL); Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtbase_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-qt/qt5/qtbase_git.bb') diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 43bd9819..1de95cca 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -36,6 +36,7 @@ SRC_URI += "\ file://0020-Revert-Fix-workaround-in-pthread-destructor.patch \ file://0021-qfloat16-Include-limits-header.patch \ file://0022-fix_timezone_dst.patch \ + file://0023-tst_QPluginLoader-Simplify-creating-a-fake-pointer-i.patch \ " # Disable LTO for now, QT5 patches are being worked upstream, perhaps revisit with -- cgit v1.2.3