[neon/neon-packaging/maliit-keyboard/Neon/release] debian/patches: add patch for older glib

Jonathan Esk-Riddell null at kde.org
Mon Feb 14 21:54:26 GMT 2022


Git commit 6b9b766970e9b4e7d848aeabd65ae7a40214d9ec by Jonathan Esk-Riddell.
Committed on 14/02/2022 at 21:54.
Pushed by jriddell into branch 'Neon/release'.

add patch for older glib

A  +13   -0    debian/patches/glib.diff

https://invent.kde.org/neon/neon-packaging/maliit-keyboard/commit/6b9b766970e9b4e7d848aeabd65ae7a40214d9ec

diff --git a/debian/patches/glib.diff b/debian/patches/glib.diff
new file mode 100644
index 0000000..5680fe5
--- /dev/null
+++ b/debian/patches/glib.diff
@@ -0,0 +1,13 @@
+diff --git a/src/3rdparty/QGSettings/qconftypes.cpp b/src/3rdparty/QGSettings/qconftypes.cpp
+index 805a41f5..8c9a4072 100644
+--- a/src/3rdparty/QGSettings/qconftypes.cpp
++++ b/src/3rdparty/QGSettings/qconftypes.cpp
+@@ -230,7 +230,7 @@ GVariant *qconf_types_collect_from_variant(const GVariantType *gtype, const QVar
+             gsize size = array.size();
+             gpointer data;
+ 
+-            data = g_memdup2(array.data(), size);
++            data = g_memdup(array.data(), size);
+ 
+             return g_variant_new_from_data(G_VARIANT_TYPE_BYTESTRING,
+                                            data, size, TRUE, g_free, data);


More information about the Neon-commits mailing list