Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kconfigwidgets for openSUSE:Factory 
checked in at 2022-01-23 12:15:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kconfigwidgets (Old)
 and      /work/SRC/openSUSE:Factory/.kconfigwidgets.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kconfigwidgets"

Sun Jan 23 12:15:04 2022 rev:100 rq:947772 version:5.90.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kconfigwidgets/kconfigwidgets.changes    
2022-01-11 21:18:28.092925007 +0100
+++ /work/SRC/openSUSE:Factory/.kconfigwidgets.new.1938/kconfigwidgets.changes  
2022-01-23 12:15:14.712645519 +0100
@@ -1,0 +2,6 @@
+Thu Jan 20 19:47:36 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix deprecation-induced ABI mismatch (kde#448680):
+  * 0001-Use-BUILD-deprecation-wrapper-for-virtual-method.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Use-BUILD-deprecation-wrapper-for-virtual-method.patch

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

Other differences:
------------------
++++++ kconfigwidgets.spec ++++++
--- /var/tmp/diff_new_pack.9S2LJF/_old  2022-01-23 12:15:15.464640492 +0100
+++ /var/tmp/diff_new_pack.9S2LJF/_new  2022-01-23 12:15:15.468640466 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kconfigwidgets
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 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:        %{name}-%{version}.tar.xz.sig
 Source2:        frameworks.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Use-BUILD-deprecation-wrapper-for-virtual-method.patch
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem

++++++ 0001-Use-BUILD-deprecation-wrapper-for-virtual-method.patch ++++++
>From 765ab0f3b28b3cb036c050286f474199996a7224 Mon Sep 17 00:00:00 2001
From: Alexander Lohnau <alexander.loh...@gmx.de>
Date: Thu, 20 Jan 2022 19:13:01 +0100
Subject: [PATCH] Use BUILD* deprecation wrapper for virtual method

This took me hours to debug, because it caused pretty random behavior.

Distros should ideally backport this, since it will cause issues for consumers 
that want to disable deprecations.

BUG: 448680
---
 src/kcmodule.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kcmodule.h b/src/kcmodule.h
index a43ee72..33ff232 100644
--- a/src/kcmodule.h
+++ b/src/kcmodule.h
@@ -138,7 +138,7 @@ public:
      */
     virtual QString quickHelp() const;
 
-#if KCONFIGWIDGETS_ENABLE_DEPRECATED_SINCE(5, 90)
+#if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 90)
     /**
      * This is generally only called for the KBugReport.
      * If you override you should  have it return a pointer to a constant.
-- 
2.33.1

Reply via email to