summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2024-08-25 18:44:49 +0200
committerMaciej Mrozowski <reavertm@gentoo.org>2024-08-25 19:06:37 +0200
commit46642f1ba7c59a58356e93664741cbfcaad02f54 (patch)
tree6df8a8200ff923db6ac5a55ec9d83648a27840dc /dev-qt
parentsci-libs/brial: keyword 1.2.12 for ~riscv (diff)
downloadgentoo-46642f1ba7c59a58356e93664741cbfcaad02f54.tar.gz
gentoo-46642f1ba7c59a58356e93664741cbfcaad02f54.tar.bz2
gentoo-46642f1ba7c59a58356e93664741cbfcaad02f54.zip
dev-qt/qtbase: add missing include, bug 938475
Bug: https://bugs.gentoo.org/938475 Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtbase/files/qtbase-6.7.2-qcontiguouscache.patch11
-rw-r--r--dev-qt/qtbase/qtbase-6.7.2-r3.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-qt/qtbase/files/qtbase-6.7.2-qcontiguouscache.patch b/dev-qt/qtbase/files/qtbase-6.7.2-qcontiguouscache.patch
new file mode 100644
index 000000000000..d010222e09da
--- /dev/null
+++ b/dev-qt/qtbase/files/qtbase-6.7.2-qcontiguouscache.patch
@@ -0,0 +1,11 @@
+diff '--color=auto' -ruN qtbase-everywhere-src-6.7.2/src/corelib/tools/qcontiguouscache.h my/src/corelib/tools/qcontiguouscache.h
+--- qtbase-everywhere-src-6.7.2/src/corelib/tools/qcontiguouscache.h 2024-05-07 01:06:44.000000000 +0200
++++ my/src/corelib/tools/qcontiguouscache.h 2024-08-25 18:20:13.958793266 +0200
+@@ -8,6 +8,7 @@
+ #include <QtCore/qassert.h>
+ #include <QtCore/qtclasshelpermacros.h>
+ #include <QtCore/qtcoreexports.h>
++#include <QtCore/qglobal.h>
+ #include <QtCore/qtypeinfo.h>
+
+ #include <climits>
diff --git a/dev-qt/qtbase/qtbase-6.7.2-r3.ebuild b/dev-qt/qtbase/qtbase-6.7.2-r3.ebuild
index ff2eb438c253..2782f8186d06 100644
--- a/dev-qt/qtbase/qtbase-6.7.2-r3.ebuild
+++ b/dev-qt/qtbase/qtbase-6.7.2-r3.ebuild
@@ -149,6 +149,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.7.2-gcc15-odr.patch
"${FILESDIR}"/${PN}-6.7.2-float16-sse2.patch
"${FILESDIR}"/${PN}-6.7.2-qwindowprivate-crash.patch
+ "${FILESDIR}"/${PN}-6.7.2-qcontiguouscache.patch
)
src_prepare() {