mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-qt/qtbase: fix unity builds with USE=io-uring
Just a quick fix, not fixed upstream yet. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
Quick workaround for the new io-uring support failing to build with unity
|
||||
due to openModeToOpenFlags() also existing in qfsfileengine_unix.cpp
|
||||
--- a/src/corelib/CMakeLists.txt
|
||||
+++ b/src/corelib/CMakeLists.txt
|
||||
@@ -758,2 +758,4 @@
|
||||
io/qioring.cpp io/qioring_linux.cpp io/qioring_p.h
|
||||
+ NO_UNITY_BUILD_SOURCES
|
||||
+ io/qioring_linux.cpp
|
||||
LIBRARIES
|
||||
@@ -188,6 +188,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.6.3-gcc14-avx512fp16.patch
|
||||
"${FILESDIR}"/${PN}-6.8.2-cross.patch
|
||||
"${FILESDIR}"/${PN}-6.9.0-no-direct-extern-access.patch
|
||||
"${FILESDIR}"/${PN}-6.11.0-iouring-unity.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user