From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0155513829B for ; Mon, 30 May 2016 10:27:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8114E21C060; Mon, 30 May 2016 10:27:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C85D221C060 for ; Mon, 30 May 2016 10:27:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1F963406F2 for ; Mon, 30 May 2016 10:27:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC869FFC for ; Mon, 30 May 2016 10:26:55 +0000 (UTC) From: "Michael Haubenwallner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Haubenwallner" Message-ID: <1464603922.c787140b95ec648524a5f50ac561243e2e4f91e9.haubi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpipeline/files/, dev-libs/libpipeline/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libpipeline/files/libpipeline-1.4.1-gnulib-cygwin-sys_select.patch dev-libs/libpipeline/libpipeline-1.4.1.ebuild X-VCS-Directories: dev-libs/libpipeline/files/ dev-libs/libpipeline/ X-VCS-Committer: haubi X-VCS-Committer-Name: Michael Haubenwallner X-VCS-Revision: c787140b95ec648524a5f50ac561243e2e4f91e9 X-VCS-Branch: master Date: Mon, 30 May 2016 10:26:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 18d20a65-4e4f-47f7-b89a-1beee81b9ed7 X-Archives-Hash: daedeeb50d7f9e1de9d7ee9409369d92 commit: c787140b95ec648524a5f50ac561243e2e4f91e9 Author: Michael Haubenwallner gentoo org> AuthorDate: Mon May 30 10:24:36 2016 +0000 Commit: Michael Haubenwallner gentoo 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 . + But avoid namespace pollution on glibc systems. */ +-# ifndef __GLIBC__ ++# if !(defined __GLIBC__ || defined __NEWLIB__) + # include + # 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 + #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 )