Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dd_rescue for openSUSE:Factory 
checked in at 2026-10-06 19:13:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dd_rescue (Old)
 and      /work/SRC/openSUSE:Factory/.dd_rescue.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dd_rescue"

Tue Oct  6 19:13:45 2026 rev:68 rq:1382460 version:1.99.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/dd_rescue/dd_rescue.changes      2025-12-09 
12:46:35.054384185 +0100
+++ /work/SRC/openSUSE:Factory/.dd_rescue.new.3698736/dd_rescue.changes 
2026-10-06 19:13:53.310137775 +0200
@@ -1,0 +2,8 @@
+Tue Sep 29 10:06:39 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Add dd_rescue-ssp-strong.patch: drop the redundant -fstack-protector
+  from the libddr_lzo.po rule ($(CFLAGS) already carry
+  -fstack-protector-strong from %optflags; the trailing basic flag
+  silently downgraded strong to basic)
+
+-------------------------------------------------------------------

New:
----
  dd_rescue-ssp-strong.patch

----------(New B)----------
  New:
- Add dd_rescue-ssp-strong.patch: drop the redundant -fstack-protector
  from the libddr_lzo.po rule ($(CFLAGS) already carry
----------(New E)----------

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

Other differences:
------------------
++++++ dd_rescue.spec ++++++
--- /var/tmp/diff_new_pack.18x6Az/_old  2026-10-06 19:13:54.131172317 +0200
+++ /var/tmp/diff_new_pack.18x6Az/_new  2026-10-06 19:13:54.138172612 +0200
@@ -31,6 +31,10 @@
 Source1:        
http://garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2.asc
 Source2:        %{name}.keyring
 Source99:       %{name}.changes
+# PATCH-FIX-OPENSUSE dd_rescue-ssp-strong.patch -- the libddr_lzo.po rule
+# appends basic -fstack-protector which downgrades the distro
+# -fstack-protector-strong from %%optflags; use strong instead
+Patch0:         dd_rescue-ssp-strong.patch
 # PATCH-FIX-UPSTREAM no-python2.patch sf#ddrescue#4 [email protected]
 # Remove dependency on python2
 BuildRequires:  autoconf


++++++ dd_rescue-ssp-strong.patch ++++++
From: Tomáš Chvátal <[email protected]>
Subject: [PATCH] Drop redundant -fstack-protector from the libddr_lzo.po rule

The libddr_lzo.po rule appends the basic -fstack-protector flag after
$(CFLAGS) (which carry -fstack-protector-strong via %optflags), so the
weaker basic variant wins and downgrades the distro stack protector.
Drop the redundant flag and let the distro flags handle stack protection.
---
--- a/Makefile
+++ b/Makefile
@@ -338,7 +338,7 @@
 
 # Use stack protector for libddr_lzo ...
 libddr_lzo.po: $(SRCDIR)/libddr_lzo.c config.h
-       $(CC) $(CFLAGS) $(PIC) -fstack-protector -o $@ -c $<
+       $(CC) $(CFLAGS) $(PIC) -o $@ -c $<
 
 # The plugins
 libddr_hash.so: libddr_hash.po md5.po sha256.po $(SHAPOBJ) sha512.po sha1.po 
pbkdf2.po checksum_file.po

Reply via email to