commit:     95dc28cd8feecf8fd7e7d9d9310ccfa08a2e8ec8
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 14 15:08:31 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jun 14 15:09:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95dc28cd

www-client/chromium: backport fix for missing includes

Bug: https://bugs.gentoo.org/908432
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 www-client/chromium/chromium-114.0.5735.133.ebuild |  1 +
 .../chromium/files/chromium-114-iwyu-gcc-13.patch  | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/www-client/chromium/chromium-114.0.5735.133.ebuild 
b/www-client/chromium/chromium-114.0.5735.133.ebuild
index 2775c0204444..0c1897d84b89 100644
--- a/www-client/chromium/chromium-114.0.5735.133.ebuild
+++ b/www-client/chromium/chromium-114.0.5735.133.ebuild
@@ -360,6 +360,7 @@ src_prepare() {
                "${FILESDIR}/chromium-114-compiler.patch"
                "${FILESDIR}/chromium-114-gcc12.patch"
                "${FILESDIR}/chromium-114-sigsegv-dom.patch"
+               "${FILESDIR}/chromium-114-iwyu-gcc-13.patch"
        )
 
        if use ppc64 ; then

diff --git a/www-client/chromium/files/chromium-114-iwyu-gcc-13.patch 
b/www-client/chromium/files/chromium-114-iwyu-gcc-13.patch
new file mode 100644
index 000000000000..564a9ee75843
--- /dev/null
+++ b/www-client/chromium/files/chromium-114-iwyu-gcc-13.patch
@@ -0,0 +1,75 @@
+From 75c57b5f810d6ac6f393459d2884877c7fcf774c Mon Sep 17 00:00:00 2001
+From: Bruno Pitrus <brunopit...@hotmail.com>
+Date: Mon, 05 Jun 2023 21:22:55 +0000
+Subject: [PATCH] IWYU: Add missing standard includes for GCC13
+
+Bug: 957519
+Change-Id: Ie327653083173b41dfd5a456f82ccb490c305c26
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4547709
+Commit-Queue: Nico Weber <tha...@chromium.org>
+Auto-Submit: Bruno Pitrus <brunopit...@hotmail.com>
+Reviewed-by: Nico Weber <tha...@chromium.org>
+Reviewed-by: Eric Orth <erico...@chromium.org>
+Cr-Commit-Position: refs/heads/main@{#1153468}
+---
+
+diff --git a/base/cpu.h b/base/cpu.h
+index 10450e9..2ac00e9 100644
+--- a/base/cpu.h
++++ b/base/cpu.h
+@@ -5,6 +5,7 @@
+ #ifndef BASE_CPU_H_
+ #define BASE_CPU_H_
+ 
++#include <cstdint>
+ #include <string>
+ 
+ #include "base/base_export.h"
+diff --git a/components/services/app_service/public/cpp/intent_filter.h 
b/components/services/app_service/public/cpp/intent_filter.h
+index 9c83ccf..48724963 100644
+--- a/components/services/app_service/public/cpp/intent_filter.h
++++ b/components/services/app_service/public/cpp/intent_filter.h
+@@ -5,6 +5,7 @@
+ #ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_INTENT_FILTER_H_
+ #define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_INTENT_FILTER_H_
+ 
++#include <memory>
+ #include <set>
+ #include <string>
+ #include <utility>
+diff --git a/components/services/app_service/public/cpp/permission.h 
b/components/services/app_service/public/cpp/permission.h
+index 82d323a..ede8540 100644
+--- a/components/services/app_service/public/cpp/permission.h
++++ b/components/services/app_service/public/cpp/permission.h
+@@ -5,6 +5,7 @@
+ #ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_PERMISSION_H_
+ #define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_PERMISSION_H_
+ 
++#include <memory>
+ #include <utility>
+ #include <vector>
+ 
+diff --git a/components/viz/common/view_transition_element_resource_id.h 
b/components/viz/common/view_transition_element_resource_id.h
+index 17ae568..44f980f 100644
+--- a/components/viz/common/view_transition_element_resource_id.h
++++ b/components/viz/common/view_transition_element_resource_id.h
+@@ -7,6 +7,7 @@
+ 
+ #include <stdint.h>
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ 
+diff --git a/net/cert/pki/string_util.h b/net/cert/pki/string_util.h
+index b18f716..7340408 100644
+--- a/net/cert/pki/string_util.h
++++ b/net/cert/pki/string_util.h
+@@ -9,6 +9,7 @@
+ 
+ #include <stdint.h>
+ 
++#include <cstdint>
+ #include <string_view>
+ #include <vector>
+ 

Reply via email to