diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2016-05-23 15:24:47 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2016-05-30 12:21:28 +0200 |
commit | d5fc70b062c01731a5f807d9b44d305b17052f24 (patch) | |
tree | 0431bc8eb138944916abe63a31fa147e03a7cdd0 /net-misc | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-d5fc70b062c01731a5f807d9b44d305b17052f24.tar.gz gentoo-d5fc70b062c01731a5f807d9b44d305b17052f24.tar.bz2 gentoo-d5fc70b062c01731a5f807d9b44d305b17052f24.zip |
net-misc/wget: add gnulib cygwin patch (#584312)
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/wget/files/wget-1.17.1-gnulib-cygwin-sys_select.patch | 22 | ||||
-rw-r--r-- | net-misc/wget/wget-1.17.1-r1.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
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 000000000000..07551361793f --- /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 c9bfcbcea225..ad8ff3164b6c 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() { |