From: Akinori Hattori Date: Sun, 27 Oct 2019 09:06:16 +0000 (+0900) Subject: dev-libs/libspt: fix build with >=sys-libs/glibc-2.30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a78e4dc89f02a15ad86b09a8fe84d1c02822d71;p=gentoo.git 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 --- diff --git a/dev-libs/libspt/files/libspt-glibc-2.30.patch b/dev-libs/libspt/files/libspt-glibc-2.30.patch new file mode 100644 index 000000000000..1ebb9b969b24 --- /dev/null +++ b/dev-libs/libspt/files/libspt-glibc-2.30.patch @@ -0,0 +1,12 @@ +--- a/libspt.c ++++ b/libspt.c +@@ -7,9 +7,6 @@ + #include + #include /* for perror() */ + #include +-#ifdef HAVE_PTY_SVR4 +-#include +-#endif + + struct spt_handle_tag { + connection *pconn; diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild index 1118a347b3a3..a2bbec0ed4d9 100644 --- a/dev-libs/libspt/libspt-1.1-r2.ebuild +++ b/dev-libs/libspt/libspt-1.1-r2.ebuild @@ -22,6 +22,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-glibc-2.30.patch" "${FILESDIR}/${PN}-rpc.patch" ) diff --git a/dev-libs/libspt/libspt-1.1-r3.ebuild b/dev-libs/libspt/libspt-1.1-r3.ebuild index c629d49e661c..4ed4bdc71bf9 100644 --- a/dev-libs/libspt/libspt-1.1-r3.ebuild +++ b/dev-libs/libspt/libspt-1.1-r3.ebuild @@ -22,6 +22,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-glibc-2.30.patch" "${FILESDIR}/${PN}-rpc.patch" ) diff --git a/dev-libs/libspt/libspt-1.1-r4.ebuild b/dev-libs/libspt/libspt-1.1-r4.ebuild index 8cd01a692c31..4679b16bc3ff 100644 --- a/dev-libs/libspt/libspt-1.1-r4.ebuild +++ b/dev-libs/libspt/libspt-1.1-r4.ebuild @@ -21,6 +21,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" + "${FILESDIR}/${PN}-glibc-2.30.patch" "${FILESDIR}/${PN}-rpc.patch" )