summaryrefslogtreecommitdiffstats
path: root/system/fprintd/patches/01-meson-Do-not-hard-require-test-dependencies.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/fprintd/patches/01-meson-Do-not-hard-require-test-dependencies.patch')
-rw-r--r--system/fprintd/patches/01-meson-Do-not-hard-require-test-dependencies.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/fprintd/patches/01-meson-Do-not-hard-require-test-dependencies.patch b/system/fprintd/patches/01-meson-Do-not-hard-require-test-dependencies.patch
new file mode 100644
index 0000000000..32f34ffab5
--- /dev/null
+++ b/system/fprintd/patches/01-meson-Do-not-hard-require-test-dependencies.patch
@@ -0,0 +1,15 @@
+Patch-Source: https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/ff0aa64e2d9e72d8b54b28cd3615ee3cfe342fdc.diff
+
+diff --git a/meson.build b/meson.build
+index b155a4ae48ae8705ea0c18b526072e73420edb77..159f0e87b3bbdbc37d574ae043fa38ee2e4207ce 100644
+--- a/meson.build
++++ b/meson.build
+@@ -153,7 +153,7 @@ python3_available_modules = []
+
+ foreach module, required : python3_test_modules
+ if required and run_command(python3, '-c', 'import @0@'.format(module)).returncode() != 0
+- error('Python3 module \'' + module + '\' required by test suite not found')
++ warning('Python3 module \'' + module + '\' required by test suite not found')
+ endif
+ endforeach
+