[neon/backports-jammy/packagekit/Neon/release] debian/patches: Try to fix compile fail

Scarlett Moore null at kde.org
Wed Sep 20 14:26:08 BST 2023


Git commit a19fbff1ccb6338850adc83c8fdae850904482d8 by Scarlett Moore.
Committed on 20/09/2023 at 15:25.
Pushed by scarlettmoore into branch 'Neon/release'.

Try to fix compile fail

A  +11   -0    debian/patches/fix_mime.patch
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/backports-jammy/packagekit/-/commit/a19fbff1ccb6338850adc83c8fdae850904482d8

diff --git a/debian/patches/fix_mime.patch b/debian/patches/fix_mime.patch
new file mode 100644
index 0000000..518f060
--- /dev/null
+++ b/debian/patches/fix_mime.patch
@@ -0,0 +1,11 @@
+--- backends/apt/apt-job.cpp	2023-08-26 14:55:01.000000000 -0700
++++ backends/apt/apt-job2.cpp	2023-09-20 06:21:49.395736212 -0700
+@@ -1465,7 +1465,7 @@
+         if (m_cancel)
+             break;
+ 
+-        result = as_pool_get_components_by_provided_item (pool, AS_PROVIDED_KIND_MEDIATYPE, values[i]);
++        result = as_pool_get_components_by_provided_item (pool, AS_PROVIDED_KIND_MIMETYPE, values[i]);
+         for (guint j = 0; j < result->len; j++) {
+             const gchar *pkgname;
+             AsComponent *cpt = AS_COMPONENT (g_ptr_array_index (result, j));
diff --git a/debian/patches/series b/debian/patches/series
index 78b2a41..2cf19ff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 restart-on-sddm
 policy.diff
+fix_mime.patch


More information about the Neon-commits mailing list