about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/glib-networking/disable-pkcs11-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/glib-networking/disable-pkcs11-tests.patch')
-rw-r--r--nixpkgs/pkgs/development/libraries/glib-networking/disable-pkcs11-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/glib-networking/disable-pkcs11-tests.patch b/nixpkgs/pkgs/development/libraries/glib-networking/disable-pkcs11-tests.patch
new file mode 100644
index 000000000000..43a37878b56c
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/glib-networking/disable-pkcs11-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/meson.build b/meson.build
+index 0b3b8c0..7f6ce09 100644
+--- a/meson.build
++++ b/meson.build
+@@ -86,7 +86,7 @@ if gnutls_dep.found()
+   backends += ['gnutls']
+   # test-specific, maybe move to tls/tests
+   if cc.has_function('gnutls_pkcs11_init', prefix: '#include <gnutls/pkcs11.h>', dependencies: gnutls_dep)
+-    config_h.set10('HAVE_GNUTLS_PKCS11', true)
++    config_h.set10('HAVE_GNUTLS_PKCS11', false)
+   endif
+ endif
+