From 2b37aa22a87f5adfdd352c2b110b72be5951f350 Mon Sep 17 00:00:00 2001 From: Mikhail Titov Date: Tue, 19 Nov 2024 13:10:41 -0600 Subject: [PATCH] Set proper proxy_module variable for pkg-config --- mingw-w64-p11-kit/PKGBUILD | 7 +++++-- mingw-w64-p11-kit/proxy.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 mingw-w64-p11-kit/proxy.patch diff --git a/mingw-w64-p11-kit/PKGBUILD b/mingw-w64-p11-kit/PKGBUILD index 154ee626c8fba..31fad14578260 100644 --- a/mingw-w64-p11-kit/PKGBUILD +++ b/mingw-w64-p11-kit/PKGBUILD @@ -37,7 +37,8 @@ source=(https://github.com/p11-glue/p11-kit/releases/download/${pkgver}/${_realn 0011-p11-kit-spawn-external.patch 0012-no-version-script.patch 0013-fix-reallocarray-decl.patch - 0014-fix-configure.patch) + 0014-fix-configure.patch + proxy.patch) validpgpkeys=('C0F67099B808FB063E2C81117BFB1108D92765AF' # Stef Walter '462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno '5D46CB0F763405A7053556F47A75A648B3F9220C' # Zoltan Fridrich @@ -54,7 +55,8 @@ sha256sums=('04d0a86450cdb1be018f26af6699857171a188ac6d5b8c90786a60854e1198e5' '3c4821c36f76fd45c0d1ec83474773e45ccefde4ac92ca88b8493425f7553cb9' '15a2729f39e260f7fe8d55a91a399f2512854da626a69bc215470f902fc178cd' '83ecf11aaf9a1c6f617790048e80febd7320edae6ba203958349264170956911' - '9b4831e585e4145f69fef34b371763e959587c23128167cd995c006cb9e1e0c2') + '9b4831e585e4145f69fef34b371763e959587c23128167cd995c006cb9e1e0c2' + 'SKIP') prepare() { test ! -d "${startdir}/../mingw-w64-pathtools" || { @@ -74,6 +76,7 @@ prepare() { patch -p1 -i ${srcdir}/0012-no-version-script.patch patch -p1 -i ${srcdir}/0013-fix-reallocarray-decl.patch patch -p1 -i ${srcdir}/0014-fix-configure.patch + patch -p1 -i ${srcdir}/proxy.patch autoreconf -vfi gtkdocize diff --git a/mingw-w64-p11-kit/proxy.patch b/mingw-w64-p11-kit/proxy.patch new file mode 100644 index 0000000000000..d0c5c75cd57d6 --- /dev/null +++ b/mingw-w64-p11-kit/proxy.patch @@ -0,0 +1,11 @@ +--- p11-kit-0.25.5/p11-kit/p11-kit-1.pc.in.orig 2023-10-24 07:58:49.000000000 -0500 ++++ p11-kit-0.25.5/p11-kit/p11-kit-1.pc.in 2024-11-19 12:57:54.924556600 -0600 +@@ -9,7 +9,7 @@ + p11_module_configs=@p11_package_config_modules@ + p11_module_path=@p11_module_path@ + p11_trust_paths=@with_trust_paths@ +-proxy_module=@libdir@/p11-kit-proxy@p11_shlext@ ++proxy_module=libp11-kit-0.dll + + # This is for compatibility. Other packages were using this to determine + # the directory they should install their module configs to, so override