Gentoo Archives: gentoo-commits

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpipeline/files/, dev-libs/libpipeline/
Date: Mon, 30 May 2016 10:27:03
Message-Id: 1464603922.c787140b95ec648524a5f50ac561243e2e4f91e9.haubi@gentoo
1 commit: c787140b95ec648524a5f50ac561243e2e4f91e9
2 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 10:24:36 2016 +0000
4 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 10:25:22 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c787140b
7
8 dev-libs/libpipeline: add gnulib cygwin patch (#584314)
9
10 Package-Manager: portage-2.2.26
11
12 ...ibpipeline-1.4.1-gnulib-cygwin-sys_select.patch | 22 ++++++++++++++++++++++
13 dev-libs/libpipeline/libpipeline-1.4.1.ebuild | 4 +++-
14 2 files changed, 25 insertions(+), 1 deletion(-)
15
16 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
17 new file mode 100644
18 index 0000000..0755136
19 --- /dev/null
20 +++ b/dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch
21 @@ -0,0 +1,22 @@
22 +https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00065.html
23 +
24 +--- gnulib/lib/sys_select.in.h.orig 2014-08-03 15:31:22.000000000 +0200
25 ++++ gnulib/lib/sys_select.in.h 2016-05-19 12:57:51.243064700 +0200
26 +@@ -81,7 +81,7 @@
27 + Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select()
28 + in <sys/time.h>.
29 + But avoid namespace pollution on glibc systems. */
30 +-# ifndef __GLIBC__
31 ++# if !(defined __GLIBC__ || defined __NEWLIB__)
32 + # include <sys/time.h>
33 + # endif
34 +
35 +@@ -102,7 +102,7 @@
36 + But avoid namespace pollution on glibc systems.
37 + Do this after the include_next (for the sake of OpenBSD 5.0) but before
38 + the split double-inclusion guard (for the sake of Solaris). */
39 +-#if !(defined __GLIBC__ && !defined __UCLIBC__)
40 ++#if !((defined __GLIBC__ || defined __NEWLIB__) && !defined __UCLIBC__)
41 + # include <signal.h>
42 + #endif
43 +
44
45 diff --git a/dev-libs/libpipeline/libpipeline-1.4.1.ebuild b/dev-libs/libpipeline/libpipeline-1.4.1.ebuild
46 index e14dfd7..ab24456 100644
47 --- a/dev-libs/libpipeline/libpipeline-1.4.1.ebuild
48 +++ b/dev-libs/libpipeline/libpipeline-1.4.1.ebuild
49 @@ -1,4 +1,4 @@
50 -# Copyright 1999-2015 Gentoo Foundation
51 +# Copyright 1999-2016 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Id$
54
55 @@ -17,3 +17,5 @@ IUSE="static-libs test"
56
57 DEPEND="virtual/pkgconfig
58 test? ( dev-libs/check )"
59 +
60 +PATCHES=( "${FILESDIR}"/${P}-gnulib-cygwin-sys_select.patch )