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 2025-09-16 18:18:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs-electron.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs-electron"

Tue Sep 16 18:18:40 2025 rev:167 rq:1305064 version:37.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes  
2025-09-12 21:10:47.514419633 +0200
+++ 
/work/SRC/openSUSE:Factory/.nodejs-electron.new.1977/nodejs-electron.changes    
    2025-09-16 18:19:16.309301219 +0200
@@ -1,0 +2,5 @@
+Mon Sep 15 17:51:55 UTC 2025 - Bruno Pitrus <[email protected]>
+
+- aarch64: add swiftshader-llvm21.patch to fix ftbfs with new LLVM
+
+-------------------------------------------------------------------

New:
----
  swiftshader-llvm21.patch

----------(New B)----------
  New:
- aarch64: add swiftshader-llvm21.patch to fix ftbfs with new LLVM
----------(New E)----------

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

Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.gDOyKg/_old  2025-09-16 18:19:24.065627852 +0200
+++ /var/tmp/diff_new_pack.gDOyKg/_new  2025-09-16 18:19:24.069628021 +0200
@@ -384,6 +384,7 @@
 Patch3221:      event_record-optional-initializer.patch
 Patch3222:      ANNOTATE_CONTIGUOUS_CONTAINER-Wodr.patch
 Patch3223:      v8-simd-flax-vector-conversions.patch
+Patch3224:      swiftshader-llvm21.patch
 
 # Patches to re-enable upstream force disabled features.
 # There's no sense in submitting them but they may be reused as-is by other 
packagers.

++++++ swiftshader-llvm21.patch ++++++
--- src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp 2025-09-15 
18:56:08.652126119 +0200
+++ 
/var/tmp/build-root/openSUSE_Tumbleweed-x86_64/home/abuild/rpmbuild/BUILD/nodejs-electron-37.5.0-build/src/third_party/swiftshader/src/Reactor/LLVMJIT.cpp
  2025-09-15 19:25:40.331977649 +0200
@@ -78,6 +78,10 @@ __pragma(warning(push))
 #include "llvm/ExecutionEngine/Orc/AbsoluteSymbols.h"
 #endif
 
+#if LLVM_VERSION_MAJOR >= 21 // 
https://github.com/llvm/llvm-project/commit/0faa181434cf959110651fe974bef31e7390eba8
+#include "llvm/ExecutionEngine/Orc/SelfExecutorProcessControl.h"
+#endif
+
 #ifdef _MSC_VER
     __pragma(warning(pop))
 #endif
@@ -820,7 +824,11 @@ public:
            , 
session(std::move(Unwrap(llvm::orc::SelfExecutorProcessControl::Create())))
 #endif
 #if USE_LEGACY_OBJECT_LINKING_LAYER
-           , objectLayer(session, [this]() {
+           , objectLayer(session, [this](
+#if LLVM_VERSION_MAJOR >= 21 // 
https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90
+                       const llvm::MemoryBuffer &
+#endif
+               ) {
                    return 
std::make_unique<llvm::SectionMemoryManager>(&memoryMapper);
            })
 #else
@@ -959,7 +967,15 @@ JITBuilder::JITBuilder()
     , module(new llvm::Module("", *context))
     , builder(new llvm::IRBuilder<>(*context))
 {
-       module->setTargetTriple(LLVM_DEFAULT_TARGET_TRIPLE);
+       module->setTargetTriple(
+#if LLVM_VERSION_MAJOR >= 21 // 
https://github.com/llvm/llvm-project/commit/979c275097a642e9b96c6b0a12f013c831af3a6e
+               llvm::Triple(
+#endif
+                       LLVM_DEFAULT_TARGET_TRIPLE
+#if LLVM_VERSION_MAJOR >= 21
+               )
+#endif
+       );
        module->setDataLayout(JITGlobals::get()->getDataLayout());
 
        msanInstrumentation = getPragmaState(MemorySanitizerInstrumentation);

Reply via email to