Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-kio for openSUSE:Factory checked 
in at 2024-03-20 21:09:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-kio (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-kio.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-kio"

Wed Mar 20 21:09:40 2024 rev:2 rq:1159094 version:6.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-kio/kf6-kio.changes  2024-03-11 
15:26:15.609485923 +0100
+++ /work/SRC/openSUSE:Factory/.kf6-kio.new.1905/kf6-kio.changes        
2024-03-20 21:09:46.103858583 +0100
@@ -1,0 +2,6 @@
+Mon Mar 18 15:39:19 UTC 2024 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix KTerminalLaucherJob (kde#482107, boo#1221637):
+  * 0001-kterminallauncherjob-Inherit-default-process-environ.patch
+
+-------------------------------------------------------------------

New:
----
  0001-kterminallauncherjob-Inherit-default-process-environ.patch

BETA DEBUG BEGIN:
  New:- Add patch to fix KTerminalLaucherJob (kde#482107, boo#1221637):
  * 0001-kterminallauncherjob-Inherit-default-process-environ.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ kf6-kio.spec ++++++
--- /var/tmp/diff_new_pack.0vTRD3/_old  2024-03-20 21:09:46.747882248 +0100
+++ /var/tmp/diff_new_pack.0vTRD3/_new  2024-03-20 21:09:46.747882248 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kf6-kio
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,8 @@
 Source1:        %{rname}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-kterminallauncherjob-Inherit-default-process-environ.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  kf6-extra-cmake-modules >= %{_kf6_bugfix_version}

++++++ 0001-kterminallauncherjob-Inherit-default-process-environ.patch ++++++
>From 6e7775d315f389df0a440ed62b842ce83dc9a27e Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fe...@gmx.de>
Date: Fri, 1 Mar 2024 22:16:07 +0100
Subject: [PATCH] [kterminallauncherjob] Inherit default process environment
 from parent

Before Qt 6.3, an empty (default constructed) QProcessEnvironment caused
QProcess to incorrectly inherit the environment variables from the parent
process. This was fixed in qtbase 5fc9c02a695.

CommandLauncherJob was adjusted for this in 
916984940f64e07db9b4d152be9f2a87dda0cfb4,
however here we are overriding its default env with our own default-constructed 
one

BUG: 482107
---
 src/gui/kterminallauncherjob.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/kterminallauncherjob.cpp b/src/gui/kterminallauncherjob.cpp
index c4e83fb11..edd99327b 100644
--- a/src/gui/kterminallauncherjob.cpp
+++ b/src/gui/kterminallauncherjob.cpp
@@ -22,7 +22,7 @@ public:
     QString m_fullCommand; // "xterm -e ls"
     QString m_desktopName;
     QByteArray m_startupId;
-    QProcessEnvironment m_environment;
+    QProcessEnvironment m_environment{QProcessEnvironment::InheritFromParent};
 };
 
 KTerminalLauncherJob::KTerminalLauncherJob(const QString &command, QObject 
*parent)
-- 
2.43.2

Reply via email to