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 2021-12-01 20:47:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old)
 and      /work/SRC/openSUSE:Factory/.nodejs-electron.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nodejs-electron"

Wed Dec  1 20:47:04 2021 rev:12 rq:934747 version:13.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes  
2021-11-27 23:42:51.316388462 +0100
+++ 
/work/SRC/openSUSE:Factory/.nodejs-electron.new.31177/nodejs-electron.changes   
    2021-12-02 02:18:41.585980919 +0100
@@ -1,0 +2,7 @@
+Mon Nov 29 13:21:24 UTC 2021 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Fix build on aarch64:
+  * Use clang
+  * Add patch: chromium-glibc-2.34.patch 
+
+-------------------------------------------------------------------

New:
----
  chromium-glibc-2.34.patch

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

Other differences:
------------------
++++++ nodejs-electron.spec ++++++
--- /var/tmp/diff_new_pack.Xw7yJx/_old  2021-12-02 02:18:45.785966269 +0100
+++ /var/tmp/diff_new_pack.Xw7yJx/_new  2021-12-02 02:18:45.785966269 +0100
@@ -48,7 +48,11 @@
 %endif
 # vaapi still requires bundled libvpx
 %bcond_with system_vpx
+%ifarch aarch64
+%bcond_without clang
+%else
 %bcond_with clang
+%endif
 Name:           nodejs-electron
 Version:        13.6.2
 Release:        0
@@ -74,6 +78,7 @@
 Patch6:         gcc-enable-lto.patch
 Patch7:         chromium-91-java-only-allowed-in-android-builds.patch
 Patch8:         chromium-91-system-icu.patch
+Patch9:         chromium-glibc-2.34.patch
 Patch10:        chromium-88-gcc-fix-swiftshader-libEGL-visibility.patch
 Patch11:        chromium-vaapi.patch
 Patch12:        chromium-86-fix-vaapi-on-intel.patch
@@ -495,6 +500,8 @@
 %if %{with swiftshader}
 rsync -av --exclude '*.so.TOC' swiftshader %{buildroot}%{_libdir}/electron/
 install -m 0644 vk_swiftshader_icd.json 
%{buildroot}%{_libdir}/electron/vk_swiftshader_icd.json
+%else
+rm -f  %{buildroot}/%{_libdir}/electron/libvk_swiftshader.so
 %endif
 
 install -m 0755 electron %{buildroot}%{_libdir}/electron/electron

++++++ chromium-glibc-2.34.patch ++++++
>From 600d63c2c59a9892dbc5423d7d8bb1565a9f91e7 Mon Sep 17 00:00:00 2001
From: Michel Salim <mic...@fb.com>
Date: Thu, 04 Nov 2021 14:22:40 -0700
Subject: [PATCH] Handle long SIGSTKSZ in glibc > 2.33

`SIGSTKSZ` is no longer constant in glibc > 2.33 but a function
returning a long. Cast before taking `max`.

See 
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=85e84fe53699fe9e392edffa993612ce08b2954a;hb=HEAD

Signed-off-by: Michel Salim <mic...@fb.com>
Change-Id: I197f8ff3053eede80d6aed096be4f0113dd43241
(relocated to chromium repo, removed static)

[Guillaume: drop 2.33 only part and update context of the patch to apply 
properly]
---
diff --git a/sandbox/linux/services/credentials.cc 
b/sandbox/linux/services/credentials.cc
index ca6b595..1c1ee42 100644
--- a/sandbox/linux/services/credentials.cc
+++ b/sandbox/linux/services/credentials.cc
@@ -11,6 +11,7 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/syscall.h>
 #include <sys/types.h>
 #include <sys/wait.h>
@@ -100,7 +101,8 @@ bool ChrootToSafeEmptyDir() {
   // attempt this optimization.
   clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
 
-  char tls_buf[PTHREAD_STACK_MIN] = {0};
+  char tls_buf[PTHREAD_STACK_MIN];
+  memset(tls_buf, 0, PTHREAD_STACK_MIN);
   tls = tls_buf;
 #endif
 

Reply via email to