mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-qt/qttools: fix 6.12.x build with libcxx23
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
This worked for older qttools with libcxx23 because el_font.cpp used to
|
||||
include html.h rather than document.h, which then transitively included
|
||||
stdlib.
|
||||
--- a/src/assistant/qlitehtml/src/3rdparty/litehtml/src/el_font.cpp
|
||||
+++ b/src/assistant/qlitehtml/src/3rdparty/litehtml/src/el_font.cpp
|
||||
@@ -1,2 +1,3 @@
|
||||
+#include <cstdlib>
|
||||
#include "el_font.h"
|
||||
#include "document.h"
|
||||
@@ -68,6 +68,7 @@ DEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.12.0-litehtml-no-unity.patch
|
||||
"${FILESDIR}"/${PN}-6.12.0-litehtml-libcxx23.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -68,6 +68,7 @@ DEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.12.0-litehtml-no-unity.patch
|
||||
"${FILESDIR}"/${PN}-6.12.0-litehtml-libcxx23.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -68,6 +68,7 @@ DEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.12.0-litehtml-no-unity.patch
|
||||
"${FILESDIR}"/${PN}-6.12.0-litehtml-libcxx23.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user