aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksei Urbanski <aliaksei.urbanski@gmail.com>2024-07-29 21:53:28 +0300
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-21 16:57:40 +0100
commit06b4e59da0ce482393a8bf014324e47a8bbcb33f (patch)
tree15db127b6ac2e5a10082028f4466674a46acf4bc
parentdev-qt/qtwebengine: fix build with GCC 15 (qt5) (diff)
downloadqt-06b4e59da0ce482393a8bf014324e47a8bbcb33f.tar.gz
qt-06b4e59da0ce482393a8bf014324e47a8bbcb33f.tar.bz2
qt-06b4e59da0ce482393a8bf014324e47a8bbcb33f.zip
dev-qt/qtwebengine: fix re2 compatibility
Use bundled re2 to avoid the compatibility issue for qtwebengine-5.15.14_p20240510. Bug: https://bugs.gentoo.org/913923 Bug: https://bugs.gentoo.org/936884 Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37785 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-re2.patch14
-rw-r--r--dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild3
2 files changed, 16 insertions, 1 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-re2.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-re2.patch
new file mode 100644
index 00000000..cbfa44ed
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-re2.patch
@@ -0,0 +1,14 @@
+# https://bugs.gentoo.org/913923
+
+ Fix missing {-no,}-webengine-re2 command line options
+
+--- a/src/core/configure.json
++++ b/src/core/configure.json
+@@ -16,6 +16,7 @@
+ "webengine-icu": { "type": "enum", "name": "webengine-system-icu", "values": { "system": "yes", "qt": "no" } },
+ "webengine-ffmpeg": { "type": "enum", "name": "webengine-system-ffmpeg", "values": { "system": "yes", "qt": "no" } },
+ "webengine-opus": { "type": "enum", "name": "webengine-system-opus", "values": { "system": "yes", "qt": "no" } },
++ "webengine-re2": { "type": "enum", "name": "webengine-system-re2", "values": { "system": "yes", "qt": "no" } },
+ "webengine-webp": { "type": "enum", "name": "webengine-system-libwebp", "values": { "system": "yes", "qt": "no" } },
+ "webengine-pepper-plugins": "boolean",
+ "webengine-printing-and-pdf": "boolean",
diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild
index c254ccbd..5f1cd0e4 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.14.9999.ebuild
@@ -41,7 +41,6 @@ RDEPEND="
dev-libs/libevent:=
dev-libs/libxml2[icu]
dev-libs/libxslt
- dev-libs/re2:=
=dev-qt/qtcore-${QT5_PV}*
=dev-qt/qtdeclarative-${QT5_PV}*
=dev-qt/qtgui-${QT5_PV}*
@@ -102,6 +101,7 @@ BDEPEND="${PYTHON_DEPS}
PATCHES=(
"${WORKDIR}/${PATCHSET}"
"${FILESDIR}/${PN}-5.15.13_p20240510-gcc15.patch"
+ "${FILESDIR}/${PN}-5.15.14_p20240510-re2.patch" # bug 913923
)
python_check_deps() {
@@ -231,6 +231,7 @@ src_configure() {
$(usex screencast -webengine-webrtc-pipewire '')
-qt-ffmpeg # bug 831487
$(qt_use system-icu webengine-icu)
+ -no-webengine-re2 # bug 913923
)
qt5-build_src_configure
}