6
0
Files
nodejs-electron/angle-system-xxhash.patch
Bruno Pitrus f9784f9258 Accepting request 1201463 from home:dziobian:gulgul-ultron:19
- Update to 31.6.0
  * ABI break: NODE_MODULE_VERSION is now 125
  * Chromium 126.0.6478.234
  * Node 20.17.0
  * V8 12.6
  * Breaking change: Remove WebSQL support
  * Breaking change: nativeImage.toDataURL will preserve PNG colorspace
  * Added options parameter to Session.clearData API.
  * Extended webContents.setWindowOpenHandler to support manual creation of BrowserWindow.
  * clearData method added to Session
  * Extended WebContentsView to accept pre-existing webContents object.
  * see https://www.electronjs.org/blog/electron-31-0 and https://github.com/electron/electron/releases/tag/v31.0.0 for more
- Drop no longer needed patches
  * electron-13-fix-use-thin-lto.patch
  * remove-openscreen.patch
  * system-yuv.patch
  * chromium-122-abseil-shims.patch
  * electron-16-std-vector-non-const.patch
  * fake_ssl_socket_client-Wlto-type-mismatch.patch
  * angle-FramebufferVk-powf.patch
  * span_reader-missing-optional.patch
  * bitset-missing-uint8_t-memcpy.patch
  * temporal_scalability_id_extractor-missing-bitset.patch
  * gpu_adapter_info-missing-optional.patch
  * first_party_sets_handler_database_helper-missing-optional.patch
  * async_iterable-forwarding.patch
  * script_streamer-atomic-include.patch
- Add patches to fix build
  * fix-build-without-safebrowsing.patch
  * fix-build-without-supervised-users.patch
  * Cr126-abseil-shims.patch
  * absl-base-dynamic_annotations.patch
  * webp-no-sharpyuv.patch
  * http_auth_ntlm_mechanism-could-not-convert-to-base-span.patch
  * angle-State-constexpr.patch
  * color_provider-incomplete-ColorProviderInternal.patch
  * run_segmenter-missing-optional.patch
  * page_popup_controller-missing-optional.patch
  * native_css_paint_definition-expected-unqualified-id.patch
  * text_decoder-missing-optional.patch
  * real_time_reporting_bindings-forward-declaration.patch
  * blink-platform-INSIDE_BLINK-Wodr.patch
  * quiche-QuicIntervalDeque-no-match-for-operator-mm.patch
  * ConsumeRadii-linker-error.patch
- Conditionally revert upstreamed ffmpeg-7-ffmpeg_video_decoder-reordered_opaque.patch on old ffmpeg
- Revert upstream changes to build with system abseil (quiche-absl-HexStringToBytes.patch)
- Refresh bad-font-gc patches from Debian
- aarch64: disable LTO also on Fedora 39 due to OOM

OBS-URL: https://build.opensuse.org/request/show/1201463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=171
2024-09-16 18:02:24 +00:00

50 lines
1.2 KiB
Diff

--- a/third_party/angle/BUILD.gn 2022-06-21 21:57:49.019991551 +0200
+++ b/third_party/angle/BUILD.gn 2022-06-25 16:54:47.267968400 +0200
@@ -1,3 +1,4 @@
+import("//build/config/linux/pkg_config.gni")
# Copyright 2019 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -406,7 +406,6 @@
config("angle_common_config") {
include_dirs = [
"src/common/base",
- "src/common/third_party/xxhash",
]
libs = []
if (is_android) {
@@ -431,18 +432,12 @@
}
}
-angle_source_set("xxhash") {
- sources = xxhash_sources
- if (is_clang) {
- cflags_c = [ "-Wno-implicit-fallthrough" ]
- }
+pkg_config("system_xxhash") {
+ packages = [ "libxxhash" ]
}
-if (angle_has_build) {
- fuzzer_test("xxhash_fuzzer") {
- sources = [ "src/common/third_party/xxhash/xxhash_fuzzer.cpp" ]
- deps = [ ":xxhash" ]
- }
+source_set("xxhash") {
+ public_configs = [ ":system_xxhash" ]
}
template("angle_common_lib") {
--- a/third_party/angle/src/common/hash_utils.h
+++ b/third_party/angle/src/common/hash_utils.h
@@ -9,7 +9,7 @@
#define COMMON_HASHUTILS_H_
#include "common/debug.h"
-#include "xxhash.h"
+#include <xxhash.h>
namespace angle
{