forked from pool/nodejs-electron
- Update to electron 29.3.1
* ABI break: NODE_MODULE_VERSION is now 121
* Chromium 122.0.6261.156
* Node 20.9.0
* V8 12.2
* The deprecated gpu-process-crashed event on app has been removed.
* The deprecated renderer-process-crashed event on app and crashed
event on WebContents and <webview> have been removed.
* Added WebContentsView and BaseWindow, replacing the now-deprecated BrowserView APIs.
* Added new webUtils.getPathForFile method to replace File.path augmentation.
* see https://www.electronjs.org/blog/electron-29-0 and https://github.com/electron/electron/releases/tag/v29.0.0 for more
* Security fixes for Angle (CVE-2024-3516) and Compositing (CVE-2024-3157)
- Drop upstreamed patches
* atspi.patch
* chromium-117-blink-BUILD-mnemonic.patch
* local_frame-local_frame_client-incomplete-WebBackgroundResourceFetchAssets.patch
* node-upgrade-llhttp-to-8.patch
* policy_templates-deterministic.patch
* v8-hide-private-symbols.patch
* web_local_frame_client-incomplete-WebBackgroundResourceFetchAssets.patch
- Add patches to fix build errors
* aarch64-Xclang.patch
* absl2023-encapsulated_web_transport-StrCat.patch
* boringssl-internal-addc-cxx.patch
* chromium-122-avoid-SFINAE-TypeConverter.patch
* chromium-122-BookmarkNode-missing-operator.patch
* distributed_point_functions-aes_128_fixed_key_hash-missing-StrCat.patch
* distributed_point_functions-evaluate_prg_hwy-signature.patch
* fake_ssl_socket_client-Wlto-type-mismatch.patch
* grid_sizing_tree-Wchanges-meaning.patch
* hit_test_request-missing-optional.patch
* InternalAllocator-too-many-initializers.patch
* mt21_util-flax-vector-conversions.patch
* plus_address_types-missing-optional.patch
* race_network_request_write_buffer_manager-missing-optional.patch
* resolution_monitor-missing-bitset.patch
* script_promise_resolver-explicit-specialization.patch
* search_engine_choice_service-missing-optional.patch
* system-yuv.patch
- Replace abseil-remove-unused-targets.patch with chromium-122-abseil-shims.patch
- Remove dead code from third_party/
* remove-dawn.patch
* remove-openscreen.patch
* remove-password-manager-and-policy.patch
* remove-puffin.patch
* remove-rust.patch
* remove AFL-2.0, BSD-Protection and IJG from licence list,
because the relevant libraries (xdg-mime, bsdiff and iccjpeg)
are no longer shipped.
- Leap, Fedora: use bundled re2
* drop replace-StringPiece-with-string_view.patch
- Fedora 38: use bundled abseil
* drop pending_task_safety_flag-abseil-2022-nullability.patch
* drop thread_annotations-fix-build-with-system-abseil.patch
- Leap 15.5: Reverse upstream changes to build with old wayland
* wayland-proto-31-cursor-shape.patch
- Leap 15.5/6: Reverse upstream changes to build with old ffmpeg
* Cr122-ffmpeg-new-channel-layout.patch
- aarch64: reduce debuginfo due to linker OOM
OBS-URL: https://build.opensuse.org/request/show/1169276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=141
61 lines
2.9 KiB
Diff
61 lines
2.9 KiB
Diff
--- webrtc-6261b/third_party/boringssl/src/crypto/internal.h.orig 2024-03-13 22:27:36.595241500 +0000
|
|
+++ webrtc-6261b/third_party/boringssl/src/crypto/internal.h 2024-03-14 19:45:48.047485200 +0000
|
|
@@ -1146,11 +1146,28 @@ static inline uint64_t CRYPTO_rotr_u64(u
|
|
// bit. |carry| must be zero or one.
|
|
#if OPENSSL_HAS_BUILTIN(__builtin_addc)
|
|
|
|
+#ifdef __cplusplus
|
|
+extern "C++" {
|
|
+static constexpr unsigned CRYPTO_GENERIC_ADDC(unsigned x, unsigned y,
|
|
+ unsigned carry, unsigned *out_carry){
|
|
+ return __builtin_addc(x, y, carry, out_carry);
|
|
+}
|
|
+static constexpr unsigned long CRYPTO_GENERIC_ADDC(unsigned long x, unsigned long y,
|
|
+ unsigned long carry, unsigned long *out_carry){
|
|
+ return __builtin_addcl(x, y, carry, out_carry);
|
|
+}
|
|
+static constexpr unsigned long long CRYPTO_GENERIC_ADDC(unsigned long long x, unsigned long long y,
|
|
+ unsigned long long carry, unsigned long long *out_carry){
|
|
+ return __builtin_addcll(x, y, carry, out_carry);
|
|
+}
|
|
+}
|
|
+#else
|
|
#define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \
|
|
(_Generic((x), \
|
|
unsigned: __builtin_addc, \
|
|
unsigned long: __builtin_addcl, \
|
|
unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry))
|
|
+#endif
|
|
|
|
static inline uint32_t CRYPTO_addc_u32(uint32_t x, uint32_t y, uint32_t carry,
|
|
uint32_t *out_carry) {
|
|
@@ -1198,11 +1215,28 @@ static inline uint64_t CRYPTO_addc_u64(u
|
|
// bit. |borrow| must be zero or one.
|
|
#if OPENSSL_HAS_BUILTIN(__builtin_subc)
|
|
|
|
+#ifdef __cplusplus
|
|
+extern "C++" {
|
|
+static constexpr unsigned CRYPTO_GENERIC_SUBC(unsigned x, unsigned y,
|
|
+ unsigned borrow, unsigned *out_borrow){
|
|
+ return __builtin_subc(x, y, borrow, out_borrow);
|
|
+}
|
|
+static constexpr unsigned long CRYPTO_GENERIC_SUBC(unsigned long x, unsigned long y,
|
|
+ unsigned long borrow, unsigned long *out_borrow){
|
|
+ return __builtin_subcl(x, y, borrow, out_borrow);
|
|
+}
|
|
+static constexpr unsigned long long CRYPTO_GENERIC_SUBC(unsigned long long x, unsigned long long y,
|
|
+ unsigned long long borrow, unsigned long long *out_borrow){
|
|
+ return __builtin_subcll(x, y, borrow, out_borrow);
|
|
+}
|
|
+}
|
|
+#else
|
|
#define CRYPTO_GENERIC_SUBC(x, y, borrow, out_borrow) \
|
|
(_Generic((x), \
|
|
unsigned: __builtin_subc, \
|
|
unsigned long: __builtin_subcl, \
|
|
unsigned long long: __builtin_subcll))((x), (y), (borrow), (out_borrow))
|
|
+#endif
|
|
|
|
static inline uint32_t CRYPTO_subc_u32(uint32_t x, uint32_t y, uint32_t borrow,
|
|
uint32_t *out_borrow) {
|