From 72080b86d2e93f9d9ec984ad2df0bc456e8c4918 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Tue, 19 May 2020 18:38:46 +0200 Subject: [PATCH] media-gfx/iscan: Explicitly use pthreads so we can use gold linker Closes: https://bugs.gentoo.org/720994 Signed-off-by: Marcin Deranek Closes: https://github.com/gentoo/gentoo/pull/15879 Signed-off-by: Joonas Niilola --- media-gfx/iscan/iscan-3.62.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media-gfx/iscan/iscan-3.62.0.ebuild b/media-gfx/iscan/iscan-3.62.0.ebuild index 7f8e4fae37b88..92b6067860004 100644 --- a/media-gfx/iscan/iscan-3.62.0.ebuild +++ b/media-gfx/iscan/iscan-3.62.0.ebuild @@ -51,6 +51,8 @@ src_configure() { # Workaround for: # /usr/lib64/utsushi/libutsushi.so.0: undefined symbol: libcnx_usb_LTX_factory append-ldflags $(no-as-needed) + # https://bugs.gentoo.org/720994 + append-ldflags -pthread local myconf=( $(use_with gui gtkmm) --enable-sane-config