Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package Vc for openSUSE:Factory checked in 
at 2026-09-29 17:55:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Vc (Old)
 and      /work/SRC/openSUSE:Factory/.Vc.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Vc"

Tue Sep 29 17:55:35 2026 rev:20 rq:1381493 version:1.4.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/Vc/Vc.changes    2024-06-25 23:08:18.216112598 
+0200
+++ /work/SRC/openSUSE:Factory/.Vc.new.383539/Vc.changes        2026-09-29 
17:56:47.927752771 +0200
@@ -1,0 +2,8 @@
+Tue Sep 29 10:05:44 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Add Vc-ssp-strong.patch: upstream forces the basic
+  -fstack-protector flag in CMakeLists.txt, which downgrades the
+  distro -fstack-protector-strong default; use -fstack-protector-strong
+  instead.
+
+-------------------------------------------------------------------

New:
----
  Vc-ssp-strong.patch

----------(New B)----------
  New:
- Add Vc-ssp-strong.patch: upstream forces the basic
  -fstack-protector flag in CMakeLists.txt, which downgrades the
----------(New E)----------

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

Other differences:
------------------
++++++ Vc.spec ++++++
--- /var/tmp/diff_new_pack.F4AIH5/_old  2026-09-29 17:56:48.591780463 +0200
+++ /var/tmp/diff_new_pack.F4AIH5/_new  2026-09-29 17:56:48.592780505 +0200
@@ -24,6 +24,10 @@
 Group:          System/Libraries
 URL:            https://github.com/VcDevel/Vc/
 Source0:        
%{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Upstream forces the basic -fstack-protector flag, which downgrades the
+# distro -fstack-protector-strong default; use the strong variant instead
+# so the built library keeps the stronger protection.
+Patch1:         Vc-ssp-strong.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++

++++++ Vc-ssp-strong.patch ++++++
--- orig/CMakeLists.txt 2024-06-06 08:39:42.000000000 +0000
+++ Vc-1.4.5/CMakeLists.txt
@@ -109,8 +109,9 @@
 set(libvc_compile_flags "-DVc_COMPILE_LIB")
 AddCompilerFlag("-fPIC" CXX_FLAGS libvc_compile_flags)
 
-# -fstack-protector is the default of GCC, but at least Ubuntu changes the 
default to -fstack-protector-strong, which is crazy
-AddCompilerFlag("-fstack-protector" CXX_FLAGS libvc_compile_flags)
+# -fstack-protector is the default of GCC, but distros like openSUSE change 
the default to -fstack-protector-strong;
+# match the distro default so the explicit flag does not downgrade the 
protection
+AddCompilerFlag("-fstack-protector-strong" CXX_FLAGS libvc_compile_flags)
 
 set(_srcs src/const.cpp)
 if(Vc_X86)

Reply via email to