commit:     9f74d4ed63b20fc320e7586e68ad342bbc64b505
Author:     Brahmajit Das <listout <AT> listout <DOT> xyz>
AuthorDate: Sat Sep 20 04:54:31 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed Nov 19 19:12:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f74d4ed

sys-auth/libfprint: Fix fpi_byte_writer_change_pos not defined with LLD

Signed-off-by: Brahmajit Das <listout <AT> listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/43857
Closes: https://github.com/gentoo/gentoo/pull/43857
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sys-auth/libfprint/libfprint-1.94.9-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild 
b/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild
index 52229073d1a0..ecef96f8f20d 100644
--- a/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild
+++ b/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild
@@ -69,6 +69,13 @@ src_unpack() {
 }
 
 src_configure() {
+       # https://gitlab.freedesktop.org/3v1n0/libfprint/-/issues/10
+       # Untill upstream have analysed it we are doing this as a workaround
+       # https://github.com/gentoo/gentoo/pull/43857#discussion_r2400425455
+       if use tod && tc-ld-is-lld; then
+               append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+       fi
+
        # TODO: wire up test deps (cairo, pygobject, etc) for extra tests
        # currently skipped.
        local emesonargs=(

Reply via email to