git: 9df397cfbfbf - main - security/fprintd: Workaround lld argument parsing issue to fix build on 14

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 15 Oct 2024 20:31:18 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9df397cfbfbf3d1ef45925d33dd7e0710ae80bf7

commit 9df397cfbfbf3d1ef45925d33dd7e0710ae80bf7
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2024-10-15 20:30:49 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-10-15 20:30:49 +0000

    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 <aokblast@FreeBSD.org>
---
 security/fprintd/files/patch-pam_meson.build | 10 ++++++++++
 1 file changed, 10 insertions(+)

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,