Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nodejs-electron for openSUSE:Factory 
checked in at 2023-03-10 22:08:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs-electron.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs-electron"

Fri Mar 10 22:08:19 2023 rev:57 rq:1070612 version:22.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes  
2023-02-17 16:44:42.170760530 +0100
+++ 
/work/SRC/openSUSE:Factory/.nodejs-electron.new.31432/nodejs-electron.changes   
    2023-03-10 22:08:34.149457345 +0100
@@ -1,0 +2,35 @@
+Fri Mar 10 05:54:55 UTC 2023 - Bruno Pitrus <[email protected]>
+- New upstream release 22.3.2
+  * Fixed window could not go back to maximized state when restored
+  * Improved error messages for contents.takeHeapSnapshot
+- Disable some debugging code
+- Revert disablement of _package_note_file on Fedora
+- Switch to default BFD linker on aarch64 Fedora 36
+- Fix FTBFS on Rawhide
+  * angle-ShaderVars-missing-uint32_t.patch
+  * openscreen-gcc13-missing-headers.patch
+  * perfetto-uuid-missing-uint8_t.patch
+  * swiftshader-LRUCache-missing-uint64_t.patch
+  * vulkan_memory_allocator-vk_mem_alloc-missing-snprintf.patch
+  * profiler-missing-uintptr_t.patch
+  * components-gcc13-missing-headers.patch
+  * one_writer_seqlock-missing-uintptr_t.patch
+  * bluetooth_uuid-missing-uint8_t.patch
+  * broker_file_permission-missing-uint64_t.patch
+  * net-third_party-quiche-gcc13-missing-headers.patch
+  * webrtc-base64-missing-uint8_t.patch
+  * ui-gcc13-missing-headers.patch
+  * net-gcc13-missing-headers.patch
+  * extensions-gcc13-missing-headers.patch
+  * target_property-missing-uint32_t.patch
+  * gpu_feature_info-missing-uint32_t.patch
+  * blink-gcc13-missing-headers.patch
+  * effect_paint_property_node-Wchanges-meaning.patch
+
+-------------------------------------------------------------------
+Thu Feb 23 11:33:18 UTC 2023 - Bruno Pitrus <[email protected]>
+- New upstream release 22.3.1
+  * no changes
+- Actually fix -lz inserted in wrong place in the modules build command line
+
+-------------------------------------------------------------------

Old:
----
  electron-22.3.0.tar.zst

New:
----
  angle-ShaderVars-missing-uint32_t.patch
  blink-gcc13-missing-headers.patch
  bluetooth_uuid-missing-uint8_t.patch
  broker_file_permission-missing-uint64_t.patch
  components-gcc13-missing-headers.patch
  effect_paint_property_node-Wchanges-meaning.patch
  electron-22.3.2.tar.zst
  extensions-gcc13-missing-headers.patch
  gpu_feature_info-missing-uint32_t.patch
  net-gcc13-missing-headers.patch
  net-third_party-quiche-gcc13-missing-headers.patch
  one_writer_seqlock-missing-uintptr_t.patch
  openscreen-gcc13-missing-headers.patch
  perfetto-uuid-missing-uint8_t.patch
  profiler-missing-uintptr_t.patch
  swiftshader-LRUCache-missing-uint64_t.patch
  target_property-missing-uint32_t.patch
  ui-gcc13-missing-headers.patch
  vulkan_memory_allocator-vk_mem_alloc-missing-snprintf.patch
  webrtc-base64-missing-uint8_t.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.u0YlGm/_old  2023-03-10 22:08:41.925492746 +0100
+++ /var/tmp/diff_new_pack.u0YlGm/_new  2023-03-10 22:08:41.933492782 +0100
@@ -17,7 +17,6 @@
 #
 
 
-%undefine _package_note_file
 # https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck
 %undefine _auto_set_build_flags
 
@@ -45,7 +44,7 @@
 %bcond_without pipewire
 
 %bcond_without swiftshader
-%ifarch %ix86 x86_64 %arm
+%ifarch %ix86 x86_64 %x86_64 %arm
 #Use subzero as swiftshader backend instead of LLVM
 %bcond_without subzero
 %else
@@ -77,12 +76,15 @@
 # Linker selection. GCC only. Default is BFD.
 # You can try different ones if it has problems.
 # arm64 reports relocation errors with BFD.
+%if 0%{?suse_version}
 %ifarch aarch64
 %bcond_without gold
 %else
 %bcond_with gold
 %endif
-
+%else
+%bcond_with gold
+%endif
 
 %endif #with clang
 
@@ -193,7 +195,7 @@
 
 
 Name:           nodejs-electron
-Version:        22.3.0
+Version:        22.3.2
 Release:        0
 Summary:        Build cross platform desktop apps with JavaScript, HTML, and 
CSS
 License:        AFL-2.0 AND Apache-2.0 AND blessing AND BSD-2-Clause AND 
BSD-3-Clause AND BSD-Protection AND BSD-Source-Code AND bzip2-1.0.6 AND IJG AND 
ISC AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND MIT-CMU AND 
MIT-open-group AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND 
MPL-2.0 AND OpenSSL AND SGI-B-2.0 AND SUSE-Public-Domain AND X11
@@ -347,6 +349,25 @@
 Patch3099:      
crashpad-elf_image_reader-ProgramHeaderTableSpecific-expected-unqualified-id.patch
 Patch3100:      
first_party_set_parser-IssueWithMetadata-no-known-conversion.patch
 Patch3101:      print_dialog_gtk-no-kEnableOopPrintDriversJobPrint.patch
+Patch3102:      angle-ShaderVars-missing-uint32_t.patch
+Patch3103:      openscreen-gcc13-missing-headers.patch
+Patch3104:      perfetto-uuid-missing-uint8_t.patch
+Patch3105:      swiftshader-LRUCache-missing-uint64_t.patch
+Patch3106:      vulkan_memory_allocator-vk_mem_alloc-missing-snprintf.patch
+Patch3107:      profiler-missing-uintptr_t.patch
+Patch3108:      components-gcc13-missing-headers.patch
+Patch3109:      one_writer_seqlock-missing-uintptr_t.patch
+Patch3110:      bluetooth_uuid-missing-uint8_t.patch
+Patch3111:      broker_file_permission-missing-uint64_t.patch
+Patch3112:      net-third_party-quiche-gcc13-missing-headers.patch
+Patch3113:      webrtc-base64-missing-uint8_t.patch
+Patch3114:      ui-gcc13-missing-headers.patch
+Patch3115:      net-gcc13-missing-headers.patch
+Patch3116:      extensions-gcc13-missing-headers.patch
+Patch3117:      target_property-missing-uint32_t.patch
+Patch3118:      gpu_feature_info-missing-uint32_t.patch
+Patch3119:      blink-gcc13-missing-headers.patch
+Patch3120:      effect_paint_property_node-Wchanges-meaning.patch
 
 %if %{with clang}
 BuildRequires:  clang
@@ -369,7 +390,6 @@
 %endif
 BuildRequires:  double-conversion-devel
 BuildRequires:  desktop-file-utils
-BuildRequires:  fdupes
 %if 0%{?fedora}
 BuildRequires:  flatbuffers-compiler
 %endif
@@ -410,7 +430,7 @@
 %if %{with mold}
 BuildRequires:  mold
 %endif
-%ifarch %ix86 x86_64
+%ifarch %ix86 x86_64 %x86_64
 BuildRequires:  nasm
 %endif
 %if 0%{?suse_version}
@@ -431,7 +451,6 @@
 BuildRequires:  python3-mako
 BuildRequires:  python3-ply
 BuildRequires:  python3-six
-BuildRequires:  rsync
 BuildRequires:  snappy-devel
 %if 0%{?suse_version}
 BuildRequires:  update-desktop-files
@@ -770,7 +789,7 @@
 # REDUCE DEBUG for C++ as it gets TOO large due to “heavy hemplate use in 
Blink”. See symbol_level below and chromium-102-compiler.patch
 export CXXFLAGS="$(echo ${CXXFLAGS} | sed -e 's/-g / /g' -e 's/-g$//g')"
 
-%ifnarch x86_64
+%ifnarch x86_64 %x86_64
 export CFLAGS="$(echo ${CFLAGS} | sed -e 's/-g /-g1 /g' -e 's/-g$/-g1/g')"
 %endif
 
@@ -1003,7 +1022,7 @@
 %ifarch %ix86
 myconf_gn+=" host_cpu=\"x86\""
 %endif
-%ifarch x86_64
+%ifarch x86_64 %x86_64
 myconf_gn+=" host_cpu=\"x64\""
 %endif
 %ifarch aarch64
@@ -1104,6 +1123,7 @@
 myconf_gn+=" build_with_tflite_lib=false"
 myconf_gn+=" build_tflite_with_xnnpack=false"
 myconf_gn+=" safe_browsing_mode=0"
+myconf_gn+=" enable_maldoca=false"
 myconf_gn+=" enable_captive_portal_detection=false"
 myconf_gn+=" enable_browser_speech_service=false"
 myconf_gn+=" enable_speech_service=false"
@@ -1129,6 +1149,14 @@
 myconf_gn+=" enable_media_remoting=false"
 myconf_gn+=" enable_service_discovery=false"
 
+#disable some debug/tracing hooks, they increase size and we do not build 
chrome://tracing anyway (see disable-catapult.patch)
+myconf_gn+=" enable_trace_logging=false"
+myconf_gn+=" optional_trace_events_enabled=false"
+myconf_gn+=" use_runtime_vlog=false"
+myconf_gn+=" rtc_disable_logging=true"
+myconf_gn+=" rtc_disable_metrics=true"
+myconf_gn+=" rtc_disable_trace_events=true"
+
 
 
 myconf_gn+=" enable_library_cdms=false"
@@ -1240,13 +1268,9 @@
 #  https://bugs.chromium.org/p/chromium/issues/detail?id=642016
 gn gen out/Release --args="import(\"//electron/build/args/release.gn\") 
${myconf_gn}"
 
-#Build the supplementary stuff first to notice errors earlier bc building 
electron itself takes several hours.
-ninja -v %{?_smp_mflags} -C out/Release chromium_licenses
-ninja -v %{?_smp_mflags} -C out/Release copy_headers
-ninja -v %{?_smp_mflags} -C out/Release version
 
 # dump the linker command line (if any) in case of failure
-ninja -v %{?_smp_mflags} -C out/Release electron || (cat out/Release/*.rsp | 
sed 's/ /\n/g' && false)
+ninja -v %{?_smp_mflags} -C out/Release chromium_licenses copy_headers version 
electron || (cat out/Release/*.rsp | sed 's/ /\n/g' && false)
 
 
 
@@ -1267,10 +1291,11 @@
 desktop-file-install --dir %{buildroot}%{_datadir}/applications/ %{SOURCE11}
 
 pushd out/Release
-rsync -av *.bin *.pak %{buildroot}%{_libdir}/electron/
+cp -lv *.bin *.pak -t %{buildroot}%{_libdir}/electron/
 install -pm 0644 resources/default_app.asar -t 
%{buildroot}%{_libdir}/electron/resources/
 
-rsync -av --exclude '*.pak.info' locales %{buildroot}%{_libdir}/electron/
+cp -lrv locales -t %{buildroot}%{_libdir}/electron/
+rm -v %{buildroot}%{_libdir}/electron/locales/*.pak.info
 
 
 install -pm 0755 electron                -t %{buildroot}%{_libdir}/electron/
@@ -1290,7 +1315,7 @@
 mkdir -p "%{buildroot}%{_sysconfdir}/webapps"
 mkdir -p "%{buildroot}%{_datadir}/webapps"
 
-rsync -av out/Release/gen/node_headers/include/node/* 
%{buildroot}%{_includedir}/electron
+cp -lrvT out/Release/gen/node_headers/include/node 
%{buildroot}%{_includedir}/electron
 
 # Install electron.macros
 mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
@@ -1308,6 +1333,7 @@
 ln -srv third_party/libvpx -t third_party/libvpx/source/libvpx/third_party
 ln -srv third_party -t third_party/libvpx/source/libvpx/vp8
 ln -srv third_party -t third_party/libvpx/source/libvpx/vp9
+ln -srv third_party -t third_party/libvpx/source
 
 %files
 %license electron/LICENSE out/Release/LICENSES.chromium.html

++++++ angle-ShaderVars-missing-uint32_t.patch ++++++
--- src/third_party/angle/include/GLSLANG/ShaderVars.h.old
+++ src/third_party/angle/include/GLSLANG/ShaderVars.h
@@ -12,6 +12,7 @@
 
 #include <algorithm>
 #include <array>
+#include <cstdint>
 #include <string>
 #include <vector>
 

++++++ blink-gcc13-missing-headers.patch ++++++
--- src/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h.old 
2023-03-07 10:51:27.754759600 +0000
+++ src/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h     
2023-03-09 08:25:00.771159100 +0000
@@ -6,6 +6,9 @@
 #define THIRD_PARTY_BLINK_PUBLIC_COMMON_BLUETOOTH_WEB_BLUETOOTH_DEVICE_ID_H_
 
 #include <array>
+#include <cstdint>
+#include <functional>
+#include <iosfwd>
 #include <string>
 
 #include "third_party/blink/public/common/common_export.h"
--- 
src/third_party/blink/public/common/origin_trials/origin_trial_public_key.h.old 
    2023-03-07 11:51:27.758759553 +0100
+++ src/third_party/blink/public/common/origin_trials/origin_trial_public_key.h 
2023-03-09 13:54:11.881700635 +0100
@@ -6,6 +6,7 @@
 #define 
THIRD_PARTY_BLINK_PUBLIC_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_PUBLIC_KEY_H_
 
 #include <array>
+#include <cstdint>
 
 namespace blink {
 

++++++ bluetooth_uuid-missing-uint8_t.patch ++++++
--- src/device/bluetooth/public/cpp/bluetooth_uuid.h.old        2023-03-07 
11:51:25.678757600 +0100
+++ src/device/bluetooth/public/cpp/bluetooth_uuid.h    2023-03-07 
21:50:18.367030500 +0100
@@ -5,6 +5,7 @@
 #ifndef DEVICE_BLUETOOTH_PUBLIC_CPP_BLUETOOTH_UUID_H_
 #define DEVICE_BLUETOOTH_PUBLIC_CPP_BLUETOOTH_UUID_H_
 
+#include <cstdint>
 #include <ostream>
 #include <string>
 #include <vector>

++++++ broker_file_permission-missing-uint64_t.patch ++++++
--- src/sandbox/linux/syscall_broker/broker_file_permission.h.old       
2023-03-07 11:51:27.250759100 +0100
+++ src/sandbox/linux/syscall_broker/broker_file_permission.h   2023-03-07 
22:30:50.447848900 +0100
@@ -6,6 +6,7 @@
 #define SANDBOX_LINUX_SYSCALL_BROKER_BROKER_FILE_PERMISSION_H_
 
 #include <bitset>
+#include <cstdint>
 #include <string>
 
 #include "sandbox/sandbox_export.h"

++++++ components-gcc13-missing-headers.patch ++++++
--- a/components/crash/core/app/crash_reporter_client.h
+++ b/components/crash/core/app/crash_reporter_client.h
@@ -5,6 +5,7 @@
 #ifndef COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_
 #define COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_
 
+#include <cstdint>
 #include <map>
 #include <string>
 
--- src/components/feature_engagement/internal/event_storage_validator.h.old    
2023-03-07 10:51:24.306756300 +0000
+++ src/components/feature_engagement/internal/event_storage_validator.h        
2023-03-08 19:07:07.780289000 +0000
@@ -5,6 +5,7 @@
 #ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_
 #define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_
 
+#include <cstdint>
 #include <string>
 
 namespace feature_engagement {
--- a/components/password_manager/core/browser/generation/password_generator.h
+++ b/components/password_manager/core/browser/generation/password_generator.h
@@ -5,6 +5,7 @@
 #ifndef 
COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_
 #define 
COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_
 
+#include <cstdint>
 #include <string>
 
 
--- src/components/metrics/psi_memory_parser.h.old      2023-03-07 
11:51:24.394756322 +0100
+++ src/components/metrics/psi_memory_parser.h  2023-03-08 14:04:15.470128894 
+0100
@@ -5,6 +5,7 @@
 #ifndef COMPONENTS_METRICS_PSI_MEMORY_PARSER_H_
 #define COMPONENTS_METRICS_PSI_MEMORY_PARSER_H_
 
+#include <cstdint>
 #include <string>
 
 #include "base/gtest_prod_util.h"
--- src/components/soda/constants.h.old 2023-03-07 10:51:24.794756800 +0000
+++ src/components/soda/constants.h     2023-03-08 20:58:33.789967200 +0000
@@ -5,6 +5,7 @@
 #ifndef COMPONENTS_SODA_CONSTANTS_H_
 #define COMPONENTS_SODA_CONSTANTS_H_
 
+#include <cstdint>
 #include <string>
 
 #include "base/files/file_path.h"
--- src/components/viz/common/shared_element_resource_id.h.old  2023-03-07 
10:51:25.094757000 +0000
+++ src/components/viz/common/shared_element_resource_id.h      2023-03-08 
22:10:33.253309800 +0000
@@ -5,6 +5,7 @@
 #ifndef COMPONENTS_VIZ_COMMON_SHARED_ELEMENT_RESOURCE_ID_H_
 #define COMPONENTS_VIZ_COMMON_SHARED_ELEMENT_RESOURCE_ID_H_
 
+#include <cstdint>
 #include <string>
 #include <vector>
 
--- src/components/autofill/core/browser/autofill_ablation_study.h.old  
2023-03-07 11:51:24.058756000 +0100
+++ src/components/autofill/core/browser/autofill_ablation_study.h      
2023-03-09 11:39:59.131542780 +0100
@@ -5,6 +5,7 @@
 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_
 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_
 
+#include <cstdint>
 #include <string>
 
 class GURL;

++++++ create_tarball.sh ++++++
--- /var/tmp/diff_new_pack.u0YlGm/_old  2023-03-10 22:08:42.185493929 +0100
+++ /var/tmp/diff_new_pack.u0YlGm/_new  2023-03-10 22:08:42.189493948 +0100
@@ -4,7 +4,7 @@
 # Copyright (c) 2021 Andreas Schneider <[email protected]>
 # License: GPLv3
 #
-# dnf install python3-base git-core npm16 yarn python2-base moreutils
+# dnf install python3-base file findutils git-core tar yarn moreutils zstd
 
 ELECTRON_PKGVERSION="$(rpmspec -P ./*.spec | grep ^\s*Version | sed -e 
's/Version:[ ]*//g')"
 ELECTRON_PKGNAME="electron"
@@ -169,7 +169,7 @@
     third_party/angle  # ANGLE is an integral part of chrome and is not 
available as a shared library.
     third_party/angle/src/common/third_party/base #Derived code, not vendored 
dependency.
     third_party/angle/src/common/third_party/smhasher ##Derived code, not 
vendored dependency.
-    third_party/angle/src/third_party/libXNVCtrl #Not in Factory yet
+    third_party/angle/src/third_party/libXNVCtrl #Not in 15.4
     third_party/angle/src/third_party/trace_event #Does not seem to be a 
separate library.
     third_party/angle/src/third_party/volk #Not in Factory or Rawhide. Debian 
has it as vulkan-volk, CONSIDER UNBUNDLING when we have it
     third_party/blink #Integral part of chrome
@@ -212,7 +212,7 @@
     third_party/electron_node #Integral part of electron
     third_party/emoji-segmenter #not available as a shared library
     third_party/fdlibm #derived code, not vendored dep
-    third_party/highway #Not in Leap
+    third_party/highway #Not in 15.4. Needed by libjxl
     third_party/hunspell #heavily forked version
     third_party/iccjpeg #not in any distro
     third_party/inspector_protocol #integral part of chrome
@@ -250,7 +250,7 @@
     third_party/markupsafe #ImportError: cannot import name 'soft_unicode' 
from 'markupsafe' (/usr/lib64/python3.10/site-packages/markupsafe/__init__.py). 
CONSIDER UNBUNDLING when jinja is fixed
     third_party/mesa_headers #ui/gl/gl_bindings.cc depends on 
GL_KHR_robustness not being defined.
     third_party/metrics_proto #integral part of chrome
-    third_party/modp_b64 #not in any distro
+    third_party/modp_b64 #not in Factory or Rawhide. pkgconfig(stringencoders) 
Mageia, AltLinux, Debian have it
     third_party/node #javascript code
     third_party/one_euro_filter #not in any distro
     third_party/openscreen #Integral part of chrome, needed even if you're 
building without.
@@ -289,7 +289,6 @@
     third_party/vulkan-deps/spirv-headers #FC36 too old
     third_party/vulkan-deps/spirv-tools #FC36 too old
     third_party/vulkan-deps/vulkan-headers #FC36 too old. CONSIDER UNBUNDLING 
when all distros have new enough vulkan sdk
-    third_party/vulkan-deps/vulkan-tools #The mock ICD seems to be used during 
build, but is not shipped (see https://github.com/electron/electron/pull/18596)
     third_party/vulkan_memory_allocator #not in any distro
     third_party/webgpu-cts #Javascript code. Needed even if you're building 
chrome without webgpu
     third_party/webrtc #Integral part of chrome
@@ -384,9 +383,9 @@
 find . -type d -empty -print -delete
 popd || cleanup_and_exit 1
 
-echo ">>>>>> Hardlink duplicate files to reduce extraction time"
-
-/usr/lib/rpm/fdupes_wrapper src
+#echo ">>>>>> Hardlink duplicate files to reduce extraction time"
+#Disabled this — it fails to link sometimes causing tarball nondeterminism
+#/usr/lib/rpm/fdupes_wrapper src
 
 echo ">>>>>> Create tarball"
 ZSTD_CLEVEL=19 ZSTD_NBTHREADS=$(nproc) tar --zstd --sort=name -vvScf 
"${ELECTRON_PKGDIR}/${ELECTRON_PKGNAME}-${ELECTRON_PKGVERSION}.tar.zst" src

++++++ effect_paint_property_node-Wchanges-meaning.patch ++++++
--- 
src/third_party/blink/renderer/platform/graphics/paint/effect_paint_property_node.h.old
     2023-03-07 11:51:28.326760100 +0100
+++ 
src/third_party/blink/renderer/platform/graphics/paint/effect_paint_property_node.h
 2023-03-09 21:56:47.418863400 +0100
@@ -122,7 +122,7 @@
 
     // An identifier for a document transition shared element. `id.valid()`
     // returns true if this has been set, and false otherwise.
-    DocumentTransitionSharedElementId document_transition_shared_element_id;
+    blink::DocumentTransitionSharedElementId 
document_transition_shared_element_id;
 
     // An identifier to tag shared element resources generated and cached in 
the
     // Viz process. This generated resource can be used as content for other

++++++ electron-16-system-node-headers.patch ++++++
--- /var/tmp/diff_new_pack.u0YlGm/_old  2023-03-10 22:08:42.261494276 +0100
+++ /var/tmp/diff_new_pack.u0YlGm/_new  2023-03-10 22:08:42.265494294 +0100
@@ -8,7 +8,7 @@
        }],
 +      [ 'OS in "linux"', {
 +        'cflags': [ '-I/usr/include/electron' ],
-+        'ldflags': [ '-Wl,--as-needed', '-lz' ],
++        'libraries': [ '-lz' ],
 +      }],
        [ 'OS in "linux freebsd openbsd solaris aix"', {
          'cflags': [ '-pthread' ],


++++++ extensions-gcc13-missing-headers.patch ++++++
--- src/extensions/common/constants.h.old       2023-03-07 10:51:25.826757700 
+0000
+++ src/extensions/common/constants.h   2023-03-08 16:42:05.632267700 +0000
@@ -5,6 +5,9 @@
 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_
 #define EXTENSIONS_COMMON_CONSTANTS_H_
 
+#include <cstddef>
+#include <cstdint>
+
 #include "base/files/file_path.h"
 #include "base/strings/string_piece_forward.h"
 #include "build/chromeos_buildflags.h"
--- src/extensions/renderer/bindings/api_invocation_errors.h.old        
2023-03-07 10:51:25.838757800 +0000
+++ src/extensions/renderer/bindings/api_invocation_errors.h    2023-03-09 
17:57:28.682181200 +0000
@@ -5,6 +5,7 @@
 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_INVOCATION_ERRORS_H_
 #define EXTENSIONS_RENDERER_BINDINGS_API_INVOCATION_ERRORS_H_
 
+#include <cstdint>
 #include <set>
 #include <string>
 

++++++ gpu_feature_info-missing-uint32_t.patch ++++++
--- src/gpu/config/gpu_feature_info.h.old       2023-03-07 10:51:25.926757800 
+0000
+++ src/gpu/config/gpu_feature_info.h   2023-03-09 05:36:10.635812200 +0000
@@ -5,6 +5,7 @@
 #ifndef GPU_CONFIG_GPU_FEATURE_INFO_H_
 #define GPU_CONFIG_GPU_FEATURE_INFO_H_
 
+#include <cstdint>
 #include <string>
 #include <vector>
 

++++++ net-gcc13-missing-headers.patch ++++++
--- src/net/cookies/cookie_inclusion_status.h.old       2023-03-07 
11:51:26.874758704 +0100
+++ src/net/cookies/cookie_inclusion_status.h   2023-03-08 16:26:46.505830726 
+0100
@@ -6,6 +6,7 @@
 #define NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
 
 #include <bitset>
+#include <cstdint>
 #include <ostream>
 #include <string>
 #include <vector>
--- src/net/base/parse_number.h.old     2023-03-07 11:51:26.858758688 +0100
+++ src/net/base/parse_number.h 2023-03-08 14:54:32.174472371 +0100
@@ -5,6 +5,8 @@
 #ifndef NET_BASE_PARSE_NUMBER_H_
 #define NET_BASE_PARSE_NUMBER_H_
 
+#include <cstdint>
+
 #include "base/strings/string_piece.h"
 #include "net/base/net_export.h"
 

++++++ net-third_party-quiche-gcc13-missing-headers.patch ++++++
--- 
src/net/third_party/quiche/src/quiche/http2/adapter/header_validator_base.h.old 
    2023-03-07 11:51:42.050773300 +0100
+++ src/net/third_party/quiche/src/quiche/http2/adapter/header_validator_base.h 
2023-03-07 23:09:36.544902600 +0100
@@ -1,6 +1,7 @@
 #ifndef QUICHE_HTTP2_ADAPTER_HEADER_VALIDATOR_BASE_H_
 #define QUICHE_HTTP2_ADAPTER_HEADER_VALIDATOR_BASE_H_
 
+#include <cstdint>
 #include <string>
 
 #include "absl/strings/string_view.h"
--- src/net/third_party/quiche/src/quiche/quic/core/quic_connection_id.h.old    
2023-03-07 10:51:42.086773400 +0000
+++ src/net/third_party/quiche/src/quiche/quic/core/quic_connection_id.h        
2023-03-08 05:31:08.115134100 +0000
@@ -5,6 +5,7 @@
 #ifndef QUICHE_QUIC_CORE_QUIC_CONNECTION_ID_H_
 #define QUICHE_QUIC_CORE_QUIC_CONNECTION_ID_H_
 
+#include <cstdint>
 #include <string>
 #include <vector>
 
--- src/net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.h.old      
2023-03-07 11:51:42.070773300 +0100
+++ src/net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.h  
2023-03-08 00:06:05.139705800 +0100
@@ -5,6 +5,7 @@
 #ifndef QUICHE_QUIC_CORE_CRYPTO_QUIC_HKDF_H_
 #define QUICHE_QUIC_CORE_CRYPTO_QUIC_HKDF_H_
 
+#include <cstdint>
 #include <vector>
 
 #include "absl/strings/string_view.h"

++++++ one_writer_seqlock-missing-uintptr_t.patch ++++++
--- src/device/base/synchronization/one_writer_seqlock.h.old    2023-03-07 
10:51:25.662757600 +0000
+++ src/device/base/synchronization/one_writer_seqlock.h        2023-03-07 
18:51:45.647766600 +0000
@@ -6,6 +6,8 @@
 #define DEVICE_BASE_SYNCHRONIZATION_ONE_WRITER_SEQLOCK_H_
 
 #include <atomic>
+#include <cstddef>
+#include <cstdint>
 #include <type_traits>
 
 #include "base/atomicops.h"

++++++ openscreen-gcc13-missing-headers.patch ++++++
--- src/third_party/openscreen/src/util/base64.h.old    2023-03-07 
11:52:10.906800987 +0100
+++ src/third_party/openscreen/src/util/base64.h        2023-03-07 
13:52:52.310335841 +0100
@@ -5,6 +5,7 @@
 #ifndef UTIL_BASE64_H_
 #define UTIL_BASE64_H_
 
+#include <cstdint>
 #include <string>
 #include <vector>
 
--- 
src/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h.old
+++ src/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h
@@ -5,6 +5,7 @@
 #ifndef DISCOVERY_DNSSD_PUBLIC_DNS_SD_TXT_RECORD_H_
 #define DISCOVERY_DNSSD_PUBLIC_DNS_SD_TXT_RECORD_H_
 
+#include <cstdint>
 #include <functional>
 #include <map>
 #include <set>

++++++ perfetto-uuid-missing-uint8_t.patch ++++++
--- a/third_party/perfetto/include/perfetto/ext/base/uuid.h
+++ b/third_party/perfetto/include/perfetto/ext/base/uuid.h
@@ -18,6 +18,7 @@
 #define INCLUDE_PERFETTO_EXT_BASE_UUID_H_
 
 #include <array>
+#include <cstdint>
 #include <string>
 
 #include "perfetto/ext/base/optional.h"

++++++ profiler-missing-uintptr_t.patch ++++++
--- a/base/debug/profiler.h
+++ b/base/debug/profiler.h
@@ -6,6 +6,7 @@
 #define BASE_DEBUG_PROFILER_H_
 
 #include <stddef.h>
+#include <stdint.h>
 
 #include <string>
 

++++++ swiftshader-LRUCache-missing-uint64_t.patch ++++++
--- a/third_party/swiftshader/src/System/LRUCache.hpp
+++ b/third_party/swiftshader/src/System/LRUCache.hpp
@@ -18,6 +18,7 @@
 #include "System/Debug.hpp"
 
 #include <cstddef>
+#include <cstdint>
 #include <functional>
 #include <unordered_set>
 #include <vector>

++++++ target_property-missing-uint32_t.patch ++++++
--- src/cc/trees/target_property.cc.old 2023-03-07 10:51:21.466753600 +0000
+++ src/cc/trees/target_property.cc     2023-03-08 17:47:48.197294200 +0000
@@ -4,6 +4,8 @@
 
 #include "cc/trees/target_property.h"
 
+#include <cstdint>
+
 #include "ui/gfx/animation/keyframe/target_property.h"
 
 namespace cc {

++++++ ui-gcc13-missing-headers.patch ++++++
--- src/ui/base/prediction/kalman_filter.h.old  2023-03-07 10:51:36.714768200 
+0000
+++ src/ui/base/prediction/kalman_filter.h      2023-03-08 08:32:35.533343500 
+0000
@@ -5,6 +5,8 @@
 #ifndef UI_BASE_PREDICTION_KALMAN_FILTER_H_
 #define UI_BASE_PREDICTION_KALMAN_FILTER_H_
 
+#include <cstdint>
+
 #include "base/component_export.h"
 #include "ui/gfx/geometry/matrix3_f.h"
 
--- src/ui/gfx/geometry/linear_gradient.h.old   2023-03-07 11:51:36.862768295 
+0100
+++ src/ui/gfx/geometry/linear_gradient.h       2023-03-08 13:03:18.500668734 
+0100
@@ -6,6 +6,8 @@
 #define UI_GFX_LINEAR_GRADIENT_H_
 
 #include <array>
+#include <cstddef>
+#include <cstdint>
 #include <string>
 
 #include "ui/gfx/geometry/geometry_skia_export.h"
--- src/ui/events/types/scroll_types.h.old      2023-03-07 11:51:36.834768269 
+0100
+++ src/ui/events/types/scroll_types.h  2023-03-08 11:07:48.696799233 +0100
@@ -5,6 +5,8 @@
 #ifndef UI_EVENTS_TYPES_SCROLL_TYPES_H_
 #define UI_EVENTS_TYPES_SCROLL_TYPES_H_
 
+#include <cstdint>
+
 namespace ui {
 
 enum class ScrollGranularity : uint8_t {

++++++ vulkan_memory_allocator-vk_mem_alloc-missing-snprintf.patch ++++++
>From 29d492b60c84ca784ea0943efc7d2e6e0f3bdaac Mon Sep 17 00:00:00 2001
From: Adam Sawicki <[email protected]>
Date: Thu, 19 Jan 2023 13:19:55 +0100
Subject: [PATCH] Added missing #include <cstdio>

For snprintf, for compatibility with GCC 13.
Fixes #312 - thanks @marxin !
---
 include/vk_mem_alloc.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h
index b787c36..0fe459b 100644
--- a/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
+++ b/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
@@ -2403,6 +2403,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(
     #endif
 #endif
 
+#if VMA_STATS_STRING_ENABLED
+    #include <cstdio> // For snprintf
+#endif
+
 
/*******************************************************************************
 CONFIGURATION SECTION
 

++++++ webrtc-base64-missing-uint8_t.patch ++++++
--- src/third_party/webrtc/rtc_base/third_party/base64/base64.h.old     
2023-03-07 10:52:34.754823900 +0000
+++ src/third_party/webrtc/rtc_base/third_party/base64/base64.h 2023-03-08 
06:56:05.662101900 +0000
@@ -12,6 +12,8 @@
 #ifndef RTC_BASE_THIRD_PARTY_BASE64_BASE64_H_
 #define RTC_BASE_THIRD_PARTY_BASE64_BASE64_H_
 
+#include <cstddef>
+#include <cstdint>
 #include <string>
 #include <vector>
 

Reply via email to