commit: 5a78e4dc89f02a15ad86b09a8fe84d1c02822d71 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Sun Oct 27 09:06:16 2019 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Sun Oct 27 09:08:58 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a78e4dc
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 <AT> gentoo.org> dev-libs/libspt/files/libspt-glibc-2.30.patch | 12 ++++++++++++ dev-libs/libspt/libspt-1.1-r2.ebuild | 1 + dev-libs/libspt/libspt-1.1-r3.ebuild | 1 + dev-libs/libspt/libspt-1.1-r4.ebuild | 1 + 4 files changed, 15 insertions(+) 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 00000000000..1ebb9b969b2 --- /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 <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; diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild index 1118a347b3a..a2bbec0ed4d 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 c629d49e661..4ed4bdc71bf 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 8cd01a692c3..4679b16bc3f 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" )