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-04-04 21:27:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
and /work/SRC/openSUSE:Factory/.nodejs-electron.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron"
Tue Apr 4 21:27:14 2023 rev:62 rq:1077223 version:22.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes
2023-04-01 19:32:26.805411933 +0200
+++
/work/SRC/openSUSE:Factory/.nodejs-electron.new.19717/nodejs-electron.changes
2023-04-04 21:27:25.867580880 +0200
@@ -1,0 +2,7 @@
+Mon Apr 3 15:36:21 UTC 2023 - Guillaume GARDET <[email protected]>
+
+- Add upstream patches to fix build on aarch64:
+ * d0aa9ad.patch
+ * 647d3d2.patch
+
+-------------------------------------------------------------------
New:
----
647d3d2.patch
d0aa9ad.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.jePVVm/_old 2023-04-04 21:27:31.579613303 +0200
+++ /var/tmp/diff_new_pack.jePVVm/_new 2023-04-04 21:27:31.587613348 +0200
@@ -383,6 +383,10 @@
Patch3119: blink-gcc13-missing-headers.patch
Patch3120: effect_paint_property_node-Wchanges-meaning.patch
Patch3121: services-network-optional-explicit-constructor.patch
+# PATCH-FIX-UPSTREAM -
https://swiftshader-review.googlesource.com/c/SwiftShader/+/70528
+Patch3200: d0aa9ad.patch
+# PATCH-FIX-UPSTREAM -
https://swiftshader-review.googlesource.com/c/SwiftShader/+/70328
+Patch3201: 647d3d2.patch
%if %{with clang}
BuildRequires: clang
++++++ 647d3d2.patch ++++++
>From 647d3d24c935c2adb4e7bc5f1ecfe14ab12725d2 Mon Sep 17 00:00:00 2001
From: Alexis Hetu <[email protected]>
Date: Mon, 12 Dec 2022 18:15:10 -0500
Subject: [PATCH] Fix LLVM update from google3
This CL imports a google3 fix for LLVM:
https://critique.corp.google.com/cl/494101670/depot/google3/third_party/swiftshader/src/Reactor/LLVMJIT.cpp
Bug: b/191050320
Change-Id: I1250459354dd8e783352f9acfaf59821be2a84f0
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/70328
Presubmit-Ready: Alexis Hétu <[email protected]>
Kokoro-Result: kokoro <[email protected]>
Commit-Queue: Alexis Hétu <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Tested-by: Alexis Hétu <[email protected]>
---
diff --git src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp
src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp
index d3dbdb9..fad747a 100644
--- src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp
+++ src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp
@@ -922,7 +922,7 @@
if(optimizationLevel > 0)
{
- fpm.addPass(llvm::SROAPass());
+ fpm.addPass(llvm::SROAPass(llvm::SROAOptions::PreserveCFG));
fpm.addPass(llvm::InstCombinePass());
}
++++++ d0aa9ad.patch ++++++
>From d0aa9ad9447025a42f17df1b93bd71183e9b2d1f Mon Sep 17 00:00:00 2001
From: Nicolas Capens <[email protected]>
Date: Thu, 22 Dec 2022 01:46:20 -0500
Subject: [PATCH] Support LLVM 16+ API change
Bug: b/165000222
Change-Id: I4a77e7740d0af3b72627db1bec7d3094c2e69d21
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/70528
Tested-by: Nicolas Capens <[email protected]>
Reviewed-by: Alexis Hétu <[email protected]>
Kokoro-Result: kokoro <[email protected]>
Commit-Queue: Alexis Hétu <[email protected]>
---
diff --git src/third_party/swiftshader/src/Reactor/LLVMReactor.cpp
src/third_party/swiftshader/src/Reactor/LLVMReactor.cpp
index 9a2cb0b..6f7e503 100644
--- src/third_party/swiftshader/src/Reactor/LLVMReactor.cpp
+++ src/third_party/swiftshader/src/Reactor/LLVMReactor.cpp
@@ -621,7 +621,11 @@
declaration = new llvm::AllocaInst(T(type), 0, (llvm::Value
*)nullptr, align);
}
+#if LLVM_VERSION_MAJOR >= 16
+ declaration->insertInto(&entryBlock, entryBlock.begin());
+#else
entryBlock.getInstList().push_front(declaration);
+#endif
if(getPragmaState(InitializeLocalVariables))
{