dev-libs/libspt: fix build with >=sys-libs/glibc-2.30

Closes: https://bugs.gentoo.org/691762
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori 2019-10-27 18:06:16 +09:00
parent 1c25ecff3c
commit 5a78e4dc89
No known key found for this signature in database
GPG Key ID: 5B43E3E2817765EB
4 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/libspt.c
+++ b/libspt.c
@@ -7,9 +7,6 @@
#include <time.h>
#include <stdio.h> /* for perror() */
#include <signal.h>
-#ifdef HAVE_PTY_SVR4
-#include <sys/stropts.h>
-#endif
struct spt_handle_tag {
connection *pconn;

View File

@ -22,6 +22,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-gentoo.patch"
"${FILESDIR}/${PN}-glibc-2.30.patch"
"${FILESDIR}/${PN}-rpc.patch"
)

View File

@ -22,6 +22,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-gentoo.patch"
"${FILESDIR}/${PN}-glibc-2.30.patch"
"${FILESDIR}/${PN}-rpc.patch"
)

View File

@ -21,6 +21,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-gentoo.patch"
"${FILESDIR}/${PN}-glibc-2.30.patch"
"${FILESDIR}/${PN}-rpc.patch"
)