commit: d5fc70b062c01731a5f807d9b44d305b17052f24 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> AuthorDate: Mon May 23 13:24:47 2016 +0000 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> CommitDate: Mon May 30 10:21:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5fc70b0
net-misc/wget: add gnulib cygwin patch (#584312) Package-Manager: portage-2.2.26 .../wget-1.17.1-gnulib-cygwin-sys_select.patch | 22 ++++++++++++++++++++++ net-misc/wget/wget-1.17.1-r1.ebuild | 1 + 2 files changed, 23 insertions(+) diff --git a/net-misc/wget/files/wget-1.17.1-gnulib-cygwin-sys_select.patch b/net-misc/wget/files/wget-1.17.1-gnulib-cygwin-sys_select.patch new file mode 100644 index 0000000..0755136 --- /dev/null +++ b/net-misc/wget/files/wget-1.17.1-gnulib-cygwin-sys_select.patch @@ -0,0 +1,22 @@ +https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00065.html + +--- gnulib/lib/sys_select.in.h.orig 2014-08-03 15:31:22.000000000 +0200 ++++ gnulib/lib/sys_select.in.h 2016-05-19 12:57:51.243064700 +0200 +@@ -81,7 +81,7 @@ + Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select() + in <sys/time.h>. + But avoid namespace pollution on glibc systems. */ +-# ifndef __GLIBC__ ++# if !(defined __GLIBC__ || defined __NEWLIB__) + # include <sys/time.h> + # endif + +@@ -102,7 +102,7 @@ + But avoid namespace pollution on glibc systems. + Do this after the include_next (for the sake of OpenBSD 5.0) but before + the split double-inclusion guard (for the sake of Solaris). */ +-#if !(defined __GLIBC__ && !defined __UCLIBC__) ++#if !((defined __GLIBC__ || defined __NEWLIB__) && !defined __UCLIBC__) + # include <signal.h> + #endif + diff --git a/net-misc/wget/wget-1.17.1-r1.ebuild b/net-misc/wget/wget-1.17.1-r1.ebuild index c9bfcbc..ad8ff31 100644 --- a/net-misc/wget/wget-1.17.1-r1.ebuild +++ b/net-misc/wget/wget-1.17.1-r1.ebuild @@ -51,6 +51,7 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}"/${P}-progress-bar-segv.patch + epatch "${FILESDIR}"/${P}-gnulib-cygwin-sys_select.patch } src_configure() {
