summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-10-05 10:28:20 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-10-05 15:38:36 -0400
commitf0b3fbf765c8b98cffe91574d8a9f03d5326563d (patch)
tree4f57523d02ee15f5ea071628b546df98813f27f3 /dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch
parentf2326cd048ca4606f01423167df0c8005521aa8d (diff)
downloadgentoo-f0b3fbf765c8b98cffe91574d8a9f03d5326563d.tar.gz
gentoo-f0b3fbf765c8b98cffe91574d8a9f03d5326563d.tar.bz2
gentoo-f0b3fbf765c8b98cffe91574d8a9f03d5326563d.zip
dev-qt/qtwebengine: fix build with gcc13+musl
Primarily been testing musl on a llvm-musl profile, so overlooked this. Does not manifest as an issue if use any of gcc12, clang, or glibc. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch b/dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch
new file mode 100644
index 000000000000..cf8e55c556c6
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.5.2-cstdint.patch
@@ -0,0 +1,27 @@
+Patch status: limbo, partially needs upstreaming
+
+Only manifests as an issue with gcc-13+musl which does not transitively
+include cstdint / stdint.h for the int32/64_t usage.
+
+Partially fixed by [1] (>=chromium-110.0.5434.0) given it removes the
+int64_t usage altogether in seed_response.h.
+
+[1] https://crrev.com/01e21a077a0354d85e8359195613c2781f67a3a2
+--- a/src/3rdparty/chromium/components/variations/seed_response.h
++++ b/src/3rdparty/chromium/components/variations/seed_response.h
+@@ -7,2 +7,3 @@
+
++#include <cstdint>
+ #include <string>
+--- a/src/3rdparty/chromium/gpu/config/gpu_driver_bug_workarounds.h
++++ b/src/3rdparty/chromium/gpu/config/gpu_driver_bug_workarounds.h
+@@ -7,2 +7,3 @@
+
++#include <cstdint>
+ #include <vector>
+--- a/src/3rdparty/chromium/third_party/webrtc/rtc_base/system/file_wrapper.h
++++ b/src/3rdparty/chromium/third_party/webrtc/rtc_base/system/file_wrapper.h
+@@ -16,2 +16,3 @@
+
++#include <cstdint>
+ #include <string>