[neon/neon/debug-installer/Neon/unstable] debian/patches: one more bit for the patch
Carlos De Maine
null at kde.org
Mon Oct 2 23:21:02 BST 2023
Git commit a5fb8ca25011cdcf97c1375b8f68234f9f302be8 by Carlos De Maine.
Committed on 03/10/2023 at 00:20.
Pushed by carlosdem into branch 'Neon/unstable'.
one more bit for the patch
M +10 -0 debian/patches/0001_appstreamqt
https://invent.kde.org/neon/neon/debug-installer/-/commit/a5fb8ca25011cdcf97c1375b8f68234f9f302be8
diff --git a/debian/patches/0001_appstreamqt b/debian/patches/0001_appstreamqt
index aaaceb8..f648885 100644
--- a/debian/patches/0001_appstreamqt
+++ b/debian/patches/0001_appstreamqt
@@ -12,6 +12,16 @@ index 93ffbcb0b1baeef8ca66c3796c1b0d7deebceac0..e2fde5b2d5ad086fec384d348105efdc
# Disable legacy stuff to get rid of some deprecation warnings.
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00)
+diff --git a/src/DebugRepoEnabler.cpp b/src/DebugRepoEnabler.cpp
+
+ QList<AppStream::Component> components;
+ for (const auto &id : ids) {
+- const auto matchedComponents = pool.componentsById(id);
++ const auto matchedComponents = pool.componentsById(id).toList();
+ components += matchedComponents;
+
+ Q_ASSERT(components.count() == 1); // ensure distros use valid ids
+
diff --git a/src/DebugRepoEnabler.h b/src/DebugRepoEnabler.h
index 6bafdee10349f0e72d9ad795e6fe71ea82f09535..07311d8935ae805e4fdeba45bc995e65076f9ed8 100644
--- a/src/DebugRepoEnabler.h
More information about the Neon-commits
mailing list