From d62970fb75780eb7af32dcc2093f26d39d175b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 30 Mar 2024 18:17:08 +0700 Subject: [PATCH] electron24: patch for musl --- srcpkgs/electron24/patches/fix-include.patch | 90 ++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/srcpkgs/electron24/patches/fix-include.patch b/srcpkgs/electron24/patches/fix-include.patch index 2a8b26b84c8..cd0e605641c 100644 --- a/srcpkgs/electron24/patches/fix-include.patch +++ b/srcpkgs/electron24/patches/fix-include.patch @@ -301,3 +301,93 @@ namespace pdfium { namespace annotation_flags { +--- a/src/third_party/openscreen/src/platform/base/error.h ++++ b/src/third_party/openscreen/src/platform/base/error.h +@@ -6,6 +6,7 @@ + #define PLATFORM_BASE_ERROR_H_ + + #include ++#include + #include + #include + #include +--- a/src/third_party/dawn/src/tint/reader/wgsl/token.h ++++ b/src/third_party/dawn/src/tint/reader/wgsl/token.h +@@ -15,6 +15,7 @@ + #ifndef SRC_TINT_READER_WGSL_TOKEN_H_ + #define SRC_TINT_READER_WGSL_TOKEN_H_ + ++#include + #include + #include + #include +--- a/src/third_party/webrtc/rtc_base/system/file_wrapper.h ++++ b/src/third_party/webrtc/rtc_base/system/file_wrapper.h +@@ -12,6 +12,7 @@ + #define RTC_BASE_SYSTEM_FILE_WRAPPER_H_ + + #include ++#include + #include + + #include +--- a/src/components/dom_distiller/core/url_utils.h ++++ b/src/components/dom_distiller/core/url_utils.h +@@ -5,6 +5,7 @@ + #ifndef COMPONENTS_DOM_DISTILLER_CORE_URL_UTILS_H_ + #define COMPONENTS_DOM_DISTILLER_CORE_URL_UTILS_H_ + ++#include + #include + + #include "base/strings/string_piece_forward.h" +--- a/src/gpu/config/gpu_driver_bug_workarounds.h ++++ b/src/gpu/config/gpu_driver_bug_workarounds.h +@@ -5,6 +5,7 @@ + #ifndef GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_ + #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_ + ++#include + #include + + #include "build/build_config.h" +--- a/src/media/base/video_transformation.h ++++ b/src/media/base/video_transformation.h +@@ -5,6 +5,7 @@ + #ifndef MEDIA_BASE_VIDEO_TRANSFORMATION_H_ + #define MEDIA_BASE_VIDEO_TRANSFORMATION_H_ + ++#include + #include + + #include "base/numerics/math_constants.h" +--- a/src/third_party/blink/public/common/page_state/page_state.h ++++ b/src/third_party/blink/public/common/page_state/page_state.h +@@ -5,6 +5,7 @@ + #ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_PAGE_STATE_PAGE_STATE_H_ + #define THIRD_PARTY_BLINK_PUBLIC_COMMON_PAGE_STATE_PAGE_STATE_H_ + ++#include + #include + #include + +--- a/src/components/autofill/core/browser/strike_databases/strike_database_base.h ++++ b/src/components/autofill/core/browser/strike_databases/strike_database_base.h +@@ -5,6 +5,7 @@ + #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_STRIKE_DATABASES_STRIKE_DATABASE_BASE_H_ + #define COMPONENTS_AUTOFILL_CORE_BROWSER_STRIKE_DATABASES_STRIKE_DATABASE_BASE_H_ + ++#include + #include + #include + #include +--- a/src/ui/accessibility/ax_text_attributes.h ++++ b/src/ui/accessibility/ax_text_attributes.h +@@ -5,6 +5,7 @@ + #ifndef UI_ACCESSIBILITY_AX_TEXT_ATTRIBUTES_H_ + #define UI_ACCESSIBILITY_AX_TEXT_ATTRIBUTES_H_ + ++#include + #include + #include +