[neon/qt6/qt6-libqaccessibilityclient/Neon/unstable] debian: fix destructor of internal class

Pino Toscano null at kde.org
Mon Mar 13 14:22:57 GMT 2023


Git commit d1ff745f6839e60a84a5b8e20c9e553db7ea8073 by Pino Toscano.
Committed on 22/07/2018 at 20:41.
Pushed by jriddell into branch 'Neon/unstable'.

fix destructor of internal class

backport upstream commit f5a27fab1eda69c6cca24463868262f487977aac

M  +3    -0    debian/changelog
M  +1    -0    debian/patches/series
A  +24   -0    debian/patches/upstream_Add-missing-virtual-destructor.patch

https://invent.kde.org/neon/qt6/qt6-libqaccessibilityclient/commit/d1ff745f6839e60a84a5b8e20c9e553db7ea8073

diff --git a/debian/changelog b/debian/changelog
index 0a956ff..805c528 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,9 @@ libqaccessibilityclient (0.2.0-0r1) UNRELEASED; urgency=medium
     - update symbols file
   * Update the patches:
     - upstream_qt4-link-to-QtGui.patch: drop, backported from upstream
+  * Backport upstream commit f5a27fab1eda69c6cca24463868262f487977aac to fix
+    the destructor of an internal class; patch
+    upstream_Add-missing-virtual-destructor.patch.
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sun, 20 May 2018 19:34:58 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index b7e163a..e7fba21 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 libdir.diff
+upstream_Add-missing-virtual-destructor.patch
diff --git a/debian/patches/upstream_Add-missing-virtual-destructor.patch b/debian/patches/upstream_Add-missing-virtual-destructor.patch
new file mode 100644
index 0000000..c68d542
--- /dev/null
+++ b/debian/patches/upstream_Add-missing-virtual-destructor.patch
@@ -0,0 +1,24 @@
+From f5a27fab1eda69c6cca24463868262f487977aac Mon Sep 17 00:00:00 2001
+From: Frederik Gladhorn <frederik.gladhorn at qt.io>
+Date: Tue, 25 Jul 2017 15:41:54 +0200
+Subject: [PATCH] Add missing virtual destructor
+
+---
+ src/qaccessibilityclient/cachestrategy_p.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/qaccessibilityclient/cachestrategy_p.h b/src/qaccessibilityclient/cachestrategy_p.h
+index ed01298..13395f1 100644
+--- a/src/qaccessibilityclient/cachestrategy_p.h
++++ b/src/qaccessibilityclient/cachestrategy_p.h
+@@ -35,6 +35,7 @@ public:
+     virtual void clear() = 0;
+     virtual AccessibleObject::Interfaces interfaces(const AccessibleObject &object) = 0;
+     virtual void setInterfaces(const AccessibleObject &object, AccessibleObject::Interfaces interfaces) = 0;
++    virtual ~ObjectCache() {}
+ };
+ 
+ class CacheWeakStrategy : public ObjectCache
+-- 
+2.18.0
+



More information about the Neon-commits mailing list