Closes: https://bugs.gentoo.org/606096
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
--- /dev/null
+--- a/configure.ac 2019-04-05 10:27:19.026197625 +0200
++++ b/configure.ac 2019-04-05 10:28:10.187291374 +0200
+@@ -133,7 +133,7 @@
+ # Solaris needs -lsocket, -lnsl and -lrt
+ AC_SEARCH_LIBS([gethostbyname], [nsl])
+ AC_SEARCH_LIBS([getsockopt], [socket])
+-AC_SEARCH_LIBS([sem_wait], [rt])
++AC_SEARCH_LIBS([sem_wait], [rt] [pthread])
+
+ # Check for X and Motif headers and libraries
+ AC_PATH_X
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
virtual/libffi"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-configure.patch )
+
src_prepare() {
default
eautoreconf