commit: 3985b22f517b17d7d503f1ebf798d757658dbc16 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Mar 4 15:39:22 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Mar 4 15:46:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3985b22f
dev-qt/qtwebengine: backport another missing cstdint for gcc+musl Merging with the other cstdint patch to re-use the description. Believe 6.9 patchset is missing 1 bit of that patch that I forgot about when rebasing it, but will update the patchset for 6.9.0-rc later rather than make a separate patch here. Closes: https://bugs.gentoo.org/950579 Thanks-to: Anthony G. Basile <blueness <AT> gentoo.org> Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> .../files/qtwebengine-6.8.1-cstdint.patch | 26 ------------------ .../files/qtwebengine-6.8.2-cstdint.patch | 32 ++++++++++++++++++++++ dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild | 2 +- dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild | 2 +- 4 files changed, 34 insertions(+), 28 deletions(-) diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.8.1-cstdint.patch b/dev-qt/qtwebengine/files/qtwebengine-6.8.1-cstdint.patch deleted file mode 100644 index 10f410856032..000000000000 --- a/dev-qt/qtwebengine/files/qtwebengine-6.8.1-cstdint.patch +++ /dev/null @@ -1,26 +0,0 @@ -Patch status: fixed in >=chromium-133.0.6892.0 - -IWYU issue, only manifests with gcc+musl (clang+musl or gcc+glibc are fine). -Backport of [1] (>=chromium-133.0.6892.0) and [2] (>=chromium-128.0.6571.0) - -Note have not tested USE=-jumbo-build which may expose more of these issues. - -TODO: merge in patchset's cstdint.patch and keep a note to review for 128/133 -given a lot of commits been adding cstdint/stdint.h and all hunks may not -necessarily fail to apply when fixed given headers being added differently - -[1] https://chromium.googlesource.com/external/webrtc/+/000f04375b67e6139a1dc88d832d2da65c7acb29 -[2] https://crrev.com/0d3d5062f7d5ff83f38685bf864c71dd5bd9d460 ---- a/src/3rdparty/chromium/content/public/browser/mhtml_generation_result.h -+++ b/src/3rdparty/chromium/content/public/browser/mhtml_generation_result.h -@@ -7,2 +7,3 @@ - -+#include <cstdint> - #include <optional> ---- a/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/neteq/reorder_optimizer.cc -+++ b/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/neteq/reorder_optimizer.cc -@@ -12,2 +12,4 @@ - -+#include <stdint.h> -+ - #include <algorithm> diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.8.2-cstdint.patch b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-cstdint.patch new file mode 100644 index 000000000000..817b9ee949db --- /dev/null +++ b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-cstdint.patch @@ -0,0 +1,32 @@ +Patch status: fixed in >=chromium-133.0.6892.0 + +IWYU issue, only manifests with gcc+musl[1] (clang+musl or gcc+glibc are fine). +Backport of [2] (>=chromium-133.0.6892.0) + [3][4] (>=chromium-128.0.6571.0). + +TODO: [2] likely needs to be kept Qt6.9.0, but the rest is already present + +[1] https://bugs.gentoo.org/950579 +[2] https://chromium.googlesource.com/external/webrtc/+/000f04375b67e6139a1dc88d832d2da65c7acb29 +[3] https://crrev.com/0d3d5062f7d5ff83f38685bf864c71dd5bd9d460 +[4] https://crrev.com/26f3c318377ab31c2b317b656613e2d3c11ce513 +--- a/src/3rdparty/chromium/content/public/browser/mhtml_generation_result.h ++++ b/src/3rdparty/chromium/content/public/browser/mhtml_generation_result.h +@@ -7,2 +7,3 @@ + ++#include <cstdint> + #include <optional> +--- a/src/3rdparty/chromium/extensions/browser/path_util.h ++++ b/src/3rdparty/chromium/extensions/browser/path_util.h +@@ -7,2 +7,5 @@ + ++#include <cstdint> ++#include <string> ++ + #include "base/files/file_path.h" +--- a/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/neteq/reorder_optimizer.cc ++++ b/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/neteq/reorder_optimizer.cc +@@ -12,2 +12,4 @@ + ++#include <stdint.h> ++ + #include <algorithm> diff --git a/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild b/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild index 9f63f5d27431..62c463abe8da 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild @@ -109,7 +109,7 @@ PATCHES=( "${WORKDIR}"/patches/${PN} ) PATCHES+=( # add extras as needed here, may merge in set if carries across versions "${FILESDIR}"/${PN}-6.8.1-aarch64-xnnpack.patch - "${FILESDIR}"/${PN}-6.8.1-cstdint.patch + "${FILESDIR}"/${PN}-6.8.2-cstdint.patch "${FILESDIR}"/${PN}-6.8.2-glibc2.41.patch ) diff --git a/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild index b41603e45458..7483978a7750 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild @@ -109,7 +109,7 @@ PATCHES=( "${WORKDIR}"/patches/${PN} ) PATCHES+=( # add extras as needed here, may merge in set if carries across versions "${FILESDIR}"/${PN}-6.8.1-aarch64-xnnpack.patch - "${FILESDIR}"/${PN}-6.8.1-cstdint.patch + "${FILESDIR}"/${PN}-6.8.2-cstdint.patch "${FILESDIR}"/${PN}-6.8.2-glibc2.41.patch )
