[neon/qt/qtbase/Neon/release] debian/patches: add patch to stop hardcoding a linux version, needed for running snaps on rhel, https://phabricator.kde.org/R257:a029f2957e947f6e32fe8a595edb0ac553654e90 https://bugs.kde.org/show_bug.cgi?id=417791

Jonathan Riddell null at kde.org
Tue Sep 7 14:27:26 BST 2021


Git commit dea86b2117aafc8fcb7ea3c6f78c2aa75776e939 by Jonathan Riddell.
Committed on 07/09/2021 at 13:27.
Pushed by jriddell into branch 'Neon/release'.

add patch to stop hardcoding a linux version, needed for running snaps on rhel, https://phabricator.kde.org/R257:a029f2957e947f6e32fe8a595edb0ac553654e90 https://bugs.kde.org/show_bug.cgi?id=417791

A  +31   -0    debian/patches/qtbase-avoid-hardcoding-kernel-version.patch
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/qt/qtbase/commit/dea86b2117aafc8fcb7ea3c6f78c2aa75776e939

diff --git a/debian/patches/qtbase-avoid-hardcoding-kernel-version.patch b/debian/patches/qtbase-avoid-hardcoding-kernel-version.patch
new file mode 100644
index 0000000..bfcf9ac
--- /dev/null
+++ b/debian/patches/qtbase-avoid-hardcoding-kernel-version.patch
@@ -0,0 +1,31 @@
+Index: qtbase-everywhere-src-5.15.2/src/corelib/configure.json
+===================================================================
+--- qtbase-everywhere-src-5.15.2.orig/src/corelib/configure.json
++++ qtbase-everywhere-src-5.15.2/src/corelib/configure.json
+@@ -639,7 +639,7 @@
+         },
+         "getentropy": {
+             "label": "getentropy()",
+-            "condition": "config.unix && tests.getentropy",
++            "disable": "true",
+             "output": [ "privateFeature" ]
+         },
+         "glib": {
+@@ -781,7 +781,7 @@
+         },
+         "renameat2": {
+             "label": "renameat2()",
+-            "condition": "config.linux && tests.renameat2",
++            "disable": "true",
+             "output": [ "privateFeature" ]
+         },
+         "slog2": {
+@@ -791,7 +791,7 @@
+         },
+         "statx": {
+             "label": "statx() in libc",
+-            "condition": "config.linux && tests.statx",
++            "disable": "true",
+             "output": [ "privateFeature" ]
+         },
+         "syslog": {
diff --git a/debian/patches/series b/debian/patches/series
index a9d86dd..7eb0d3f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ qdoc_default_incdirs.diff
 path_max.diff
 qstorageinfo_linux.diff
 cross_build_mysql.diff
+qtbase-avoid-hardcoding-kernel-version.patch


More information about the Neon-commits mailing list