From 9df397cfbfbf3d1ef45925d33dd7e0710ae80bf7 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Wed, 16 Oct 2024 04:30:49 +0800 Subject: [PATCH] security/fprintd: Workaround lld argument parsing issue to fix build on 14 PR: 280749 Sponsored by: Framework Computer Inc Sponsored by: The FreeBSD Foundation Co-authored-by: SHENG-YI HONG --- security/fprintd/files/patch-pam_meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 security/fprintd/files/patch-pam_meson.build diff --git a/security/fprintd/files/patch-pam_meson.build b/security/fprintd/files/patch-pam_meson.build new file mode 100644 index 000000000000..0577deafefd4 --- /dev/null +++ b/security/fprintd/files/patch-pam_meson.build @@ -0,0 +1,10 @@ +--- pam/meson.build.orig 2024-10-12 07:44:21 UTC ++++ pam/meson.build +@@ -26,6 +26,7 @@ pam_fprintd = shared_module('pam_fprintd', + link_args: [ + '-Wl,--version-script,@0@/@1@'.format(meson.source_root(), mapfile[0]), + '-Wl,--unresolved-symbols=report-all', ++ '-Wl,--allow-shlib-undefined', + ], + link_depends: mapfile, + install: true,