From 943e49052ccaefccddf9005b8c4048b81f2bdc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Fri, 28 May 2021 17:02:10 -0300 Subject: [PATCH] p11-kit: fix trust paths. Some flatpaks broke with the move to meson [1], which doesn't set trust_paths automatically (the autoconf based build system did, by checking what files were available on the system - it picked /etc/ssl/certs/ca-certificates.crt for our build). p11-kit on the host system matters for flatpaks, as seen in [2]. Thanks to steinex for coming up with the solution. [3] was a fix for the same issue, but with autoconf. [1] 7377f185fc1c230ea1c5169971e27be71249f566 [2] https://github.com/p11-glue/p11-kit/issues/275 [3] 27d5c551b40d9edfa00a9fd0f4b248152554cf74 --- srcpkgs/p11-kit/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/p11-kit/template b/srcpkgs/p11-kit/template index d01568fbf73..65291fecc02 100644 --- a/srcpkgs/p11-kit/template +++ b/srcpkgs/p11-kit/template @@ -1,10 +1,11 @@ # Template file for 'p11-kit' pkgname=p11-kit version=0.23.22 -revision=2 +revision=3 build_style=meson configure_args="-Dlibffi=enabled -Dsystemd=disabled -Dbash_completion=disabled - -Dgtk_doc=true -Dman=true -Dnls=true -Dtrust_module=enabled" + -Dgtk_doc=true -Dman=true -Dnls=true -Dtrust_module=enabled + -Dtrust_paths=/etc/ssl/certs/ca-certificates.crt" hostmakedepends="pkg-config gettext gtk-doc libxslt libtasn1-tools" # glib-devel for gtk-doc makedepends="libtasn1-devel libffi-devel glib-devel"