public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpipeline/files/, dev-libs/libpipeline/
@ 2016-05-30 10:26 99% Michael Haubenwallner
  0 siblings, 0 replies; 1+ results
From: Michael Haubenwallner @ 2016-05-30 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     c787140b95ec648524a5f50ac561243e2e4f91e9
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 10:24:36 2016 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon May 30 10:25:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c787140b

dev-libs/libpipeline: add gnulib cygwin patch (#584314)

Package-Manager: portage-2.2.26

 ...ibpipeline-1.4.1-gnulib-cygwin-sys_select.patch | 22 ++++++++++++++++++++++
 dev-libs/libpipeline/libpipeline-1.4.1.ebuild      |  4 +++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch b/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch
new file mode 100644
index 0000000..0755136
--- /dev/null
+++ b/dev-libs/libpipeline/files/libpipeline-1.4.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/dev-libs/libpipeline/libpipeline-1.4.1.ebuild b/dev-libs/libpipeline/libpipeline-1.4.1.ebuild
index e14dfd7..ab24456 100644
--- a/dev-libs/libpipeline/libpipeline-1.4.1.ebuild
+++ b/dev-libs/libpipeline/libpipeline-1.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,3 +17,5 @@ IUSE="static-libs test"
 
 DEPEND="virtual/pkgconfig
 	test? ( dev-libs/check )"
+
+PATCHES=( "${FILESDIR}"/${P}-gnulib-cygwin-sys_select.patch )


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-05-30 10:26 99% [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpipeline/files/, dev-libs/libpipeline/ Michael Haubenwallner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox