Hello community,

here is the log from the commit of package sysprof for openSUSE:Factory checked 
in at 2019-12-30 12:34:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysprof (Old)
 and      /work/SRC/openSUSE:Factory/.sysprof.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysprof"

Mon Dec 30 12:34:22 2019 rev:19 rq:759890 version:3.34.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysprof/sysprof.changes  2019-12-16 
15:19:05.815170938 +0100
+++ /work/SRC/openSUSE:Factory/.sysprof.new.6675/sysprof.changes        
2019-12-30 12:34:25.543791473 +0100
@@ -1,0 +2,6 @@
+Tue Nov 19 12:12:49 UTC 2019 - Bjørn Lie <[email protected]>
+
+- Add sysprof-libsysprof-ui-avoid-use-of-env.patch: libsysprof-ui:
+  avoid use of environ for -Werror=shadow.
+
+-------------------------------------------------------------------

New:
----
  sysprof-libsysprof-ui-avoid-use-of-env.patch

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

Other differences:
------------------
++++++ sysprof.spec ++++++
--- /var/tmp/diff_new_pack.aWi0Ys/_old  2019-12-30 12:34:26.759792125 +0100
+++ /var/tmp/diff_new_pack.aWi0Ys/_new  2019-12-30 12:34:26.763792128 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sysprof
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 # Copyright (c) 2016 Bjørn Lie, Bryne, Norway.
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,6 +27,8 @@
 Group:          Development/Tools/Debuggers
 URL:            https://wiki.gnome.org/Apps/Sysprof
 Source0:        
http://download.gnome.org/sources/sysprof/3.34/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM sysprof-libsysprof-ui-avoid-use-of-env.patch -- Avoid use 
of env
+Patch0:         sysprof-libsysprof-ui-avoid-use-of-env.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme

++++++ sysprof-libsysprof-ui-avoid-use-of-env.patch ++++++
>From a6e3b4ac74ddd856553cc96f3e6c620dc2cabf52 Mon Sep 17 00:00:00 2001
From: Christian Hergert <[email protected]>
Date: Mon, 21 Oct 2019 11:35:42 -0700
Subject: [PATCH] libsysprof-ui: avoid use of environ for -Werror=shadow

Fixes #18
---
 src/libsysprof-ui/sysprof-profiler-assistant.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/libsysprof-ui/sysprof-profiler-assistant.c 
b/src/libsysprof-ui/sysprof-profiler-assistant.c
index 22e3e24..c7fcf77 100644
--- a/src/libsysprof-ui/sysprof-profiler-assistant.c
+++ b/src/libsysprof-ui/sysprof-profiler-assistant.c
@@ -235,7 +235,7 @@ sysprof_profiler_assistant_record_clicked_cb 
(SysprofProfilerAssistant *self,
     {
       g_auto(GStrv) argv = NULL;
       g_auto(GStrv) env = NULL;
-      SysprofEnviron *environ;
+      SysprofEnviron *environ_;
       const gchar *command;
       gint argc;
 
@@ -245,8 +245,8 @@ sysprof_profiler_assistant_record_clicked_cb 
(SysprofProfilerAssistant *self,
       sysprof_profiler_set_spawn (profiler, TRUE);
       sysprof_profiler_set_spawn_argv (profiler, (const gchar * const *)argv);
 
-      environ = sysprof_environ_editor_get_environ (self->environ_editor);
-      env = sysprof_environ_get_environ (environ);
+      environ_ = sysprof_environ_editor_get_environ (self->environ_editor);
+      env = sysprof_environ_get_environ (environ_);
       sysprof_profiler_set_spawn_env (profiler, (const gchar * const *)env);
 
       sysprof_profiler_set_spawn_inherit_environ (profiler,
@@ -405,7 +405,7 @@ sysprof_profiler_assistant_class_init 
(SysprofProfilerAssistantClass *klass)
 static void
 sysprof_profiler_assistant_init (SysprofProfilerAssistant *self)
 {
-  g_autoptr(SysprofEnviron) environ = sysprof_environ_new ();
+  g_autoptr(SysprofEnviron) environ_ = sysprof_environ_new ();
 
   gtk_widget_init_template (GTK_WIDGET (self));
 
@@ -445,7 +445,7 @@ sysprof_profiler_assistant_init (SysprofProfilerAssistant 
*self)
                            self,
                            G_CONNECT_SWAPPED);
 
-  sysprof_environ_editor_set_environ (self->environ_editor, environ);
+  sysprof_environ_editor_set_environ (self->environ_editor, environ_);
 }
 
 void
-- 
2.22.0


Reply via email to