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 9529659CB2 for ; Sat, 16 Apr 2016 21:02:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F392321C11E; Sat, 16 Apr 2016 21:02:04 +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 4540721C11E for ; Sat, 16 Apr 2016 21:02:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 BD12B340A60 for ; Sat, 16 Apr 2016 21:02:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA073CB for ; Sat, 16 Apr 2016 21:01:59 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1460840465.6b03f08744ea3c3c087c571e649d1f50ffdbbd1b.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/procenv/files/, sys-process/procenv/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/procenv/files/procenv-0.45-sysmacros.patch sys-process/procenv/procenv-0.45.ebuild X-VCS-Directories: sys-process/procenv/ sys-process/procenv/files/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 6b03f08744ea3c3c087c571e649d1f50ffdbbd1b X-VCS-Branch: master Date: Sat, 16 Apr 2016 21:01:59 +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: fca8843e-ba80-458f-94be-0cb74e097d59 X-Archives-Hash: 8f2208f64cdf2501b6aa6a5d5afb780a commit: 6b03f08744ea3c3c087c571e649d1f50ffdbbd1b Author: Tim Harder gentoo org> AuthorDate: Sat Apr 16 20:59:58 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Apr 16 21:01:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b03f087 sys-process/procenv: explicitly include sysmacros header .../procenv/files/procenv-0.45-sysmacros.patch | 23 ++++++++++++++++++++++ sys-process/procenv/procenv-0.45.ebuild | 6 ++++++ 2 files changed, 29 insertions(+) diff --git a/sys-process/procenv/files/procenv-0.45-sysmacros.patch b/sys-process/procenv/files/procenv-0.45-sysmacros.patch new file mode 100644 index 0000000..5d7230c --- /dev/null +++ b/sys-process/procenv/files/procenv-0.45-sysmacros.patch @@ -0,0 +1,23 @@ +Since glibc is moving away from implicitly including sys/sysmacros.h all the +time via sys/types.h, include the header directly in more places. + +--- procenv-0.45/src/procenv.h ++++ procenv-0.45/src/procenv.h +@@ -59,6 +59,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- procenv-0.45/src/util.h ++++ procenv-0.45/src/util.h +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/sys-process/procenv/procenv-0.45.ebuild b/sys-process/procenv/procenv-0.45.ebuild index 32466f2..3daf754 100644 --- a/sys-process/procenv/procenv-0.45.ebuild +++ b/sys-process/procenv/procenv-0.45.ebuild @@ -4,6 +4,8 @@ EAPI=5 +inherit eutils + DESCRIPTION="command-line utility to show process environment" HOMEPAGE="https://github.com/jamesodhunt/procenv" SRC_URI="https://github.com/jamesodhunt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -17,3 +19,7 @@ DEPEND=" virtual/pkgconfig test? ( dev-libs/check ) " + +src_prepare() { + epatch "${FILESDIR}"/${P}-sysmacros.patch +}