Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package usbredir for openSUSE:Factory 
checked in at 2022-04-14 17:23:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usbredir (Old)
 and      /work/SRC/openSUSE:Factory/.usbredir.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "usbredir"

Thu Apr 14 17:23:41 2022 rev:18 rq:969364 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/usbredir/usbredir.changes        2022-01-07 
12:44:37.759772467 +0100
+++ /work/SRC/openSUSE:Factory/.usbredir.new.1941/usbredir.changes      
2022-04-14 17:23:45.855144087 +0200
@@ -1,0 +2,7 @@
+Tue Apr 12 08:40:50 UTC 2022 - Martin Li??ka <[email protected]>
+
+- Add 0001-Use-D_FORTIFY_SOURCE-instead-of-Wp-D_FORTIFY_SOURCE.patch
+  that enables future switch to -D_FORTIFY_SOURCE=3
+  (gl#spice/usbredir#60).
+
+-------------------------------------------------------------------

New:
----
  0001-Use-D_FORTIFY_SOURCE-instead-of-Wp-D_FORTIFY_SOURCE.patch

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

Other differences:
------------------
++++++ usbredir.spec ++++++
--- /var/tmp/diff_new_pack.yp3sfl/_old  2022-04-14 17:23:46.767145152 +0200
+++ /var/tmp/diff_new_pack.yp3sfl/_new  2022-04-14 17:23:46.775145162 +0200
@@ -26,6 +26,7 @@
 URL:            https://www.spice-space.org/usbredir.html
 Source:         
https://www.spice-space.org/download/usbredir/%{name}-%{version}.tar.xz
 Source1:        
https://www.spice-space.org/download/usbredir/%{name}-%{version}.tar.xz.sig
+Patch0:         0001-Use-D_FORTIFY_SOURCE-instead-of-Wp-D_FORTIFY_SOURCE.patch
 BuildRequires:  gcc-c++
 BuildRequires:  glib2-devel >= 2.44
 BuildRequires:  meson >= 0.48
@@ -73,7 +74,7 @@
 of this protocol.
 
 %prep
-%setup -n %{name}-%{version}
+%autosetup -n %{name}-%{version}
 
 %build
 %meson

++++++ 0001-Use-D_FORTIFY_SOURCE-instead-of-Wp-D_FORTIFY_SOURCE.patch ++++++
>From 8110301ebb44bb30ca5afecc4c8a2b3b383a3622 Mon Sep 17 00:00:00 2001
From: Martin Liska <[email protected]>
Date: Mon, 4 Apr 2022 13:21:03 +0200
Subject: [PATCH] Use -D_FORTIFY_SOURCE instead of -Wp,-D_FORTIFY_SOURCE.

Do not use -Wp as one can't then easily overwrite the macro with:
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3.
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 25c985b..6ed4dc1 100644
--- a/meson.build
+++ b/meson.build
@@ -15,7 +15,7 @@ cc_flags = [
     '--param=ssp-buffer-size=4',
 ]
 if host_machine.system() != 'windows'
-    cc_flags += [ '-Wp,-D_FORTIFY_SOURCE=2' ]
+    cc_flags += [ '-D_FORTIFY_SOURCE=2' ]
     if not get_option('stack_protector').disabled()
         cc_flags += [ '-fstack-protector' ]
     endif
-- 
2.35.1

Reply via email to