public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Haubenwallner" <haubi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/files/, net-misc/wget/
Date: Mon, 30 May 2016 10:26:55 +0000 (UTC)	[thread overview]
Message-ID: <1464603688.d5fc70b062c01731a5f807d9b44d305b17052f24.haubi@gentoo> (raw)

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() {


             reply	other threads:[~2016-05-30 10:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 10:26 Michael Haubenwallner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-28  4:04 [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/files/, net-misc/wget/ Sam James
2021-09-08  8:21 Lars Wendler
2021-05-23 12:14 David Seifert
2021-01-02 18:52 Fabian Groffen
2020-05-02 18:12 Thomas Deutschmann
2018-05-15 14:35 Mikle Kolyada
2017-10-26 15:04 Thomas Deutschmann
2016-10-31  7:11 Lars Wendler
2015-11-17 13:08 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464603688.d5fc70b062c01731a5f807d9b44d305b17052f24.haubi@gentoo \
    --to=haubi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox