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 654D659CB2 for ; Mon, 18 Apr 2016 16:57:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B947221C009; Mon, 18 Apr 2016 16:57:31 +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 5F6CA21C009 for ; Mon, 18 Apr 2016 16:57:31 +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 185A73408F9 for ; Mon, 18 Apr 2016 16:57:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1D7115F for ; Mon, 18 Apr 2016 16:57:23 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1460998638.b916e6674d101f748394f4899d9f804672e0b064.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hdparm/files/, sys-apps/hdparm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch sys-apps/hdparm/hdparm-9.48.ebuild X-VCS-Directories: sys-apps/hdparm/files/ sys-apps/hdparm/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: b916e6674d101f748394f4899d9f804672e0b064 X-VCS-Branch: master Date: Mon, 18 Apr 2016 16:57:23 +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: 640e444f-f1cb-4d38-a924-91d05beee9e6 X-Archives-Hash: 8ddecbdd78f1383404654be47434be1f commit: b916e6674d101f748394f4899d9f804672e0b064 Author: Mike Frysinger gentoo org> AuthorDate: Mon Apr 18 16:57:03 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Apr 18 16:57:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b916e667 sys-apps/hdparm: fix building w/newer glibc #580052 sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch | 23 +++++++++++++++++++++++ sys-apps/hdparm/hdparm-9.48.ebuild | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch b/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch new file mode 100644 index 0000000..98a08c7 --- /dev/null +++ b/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/580052 +https://sourceforge.net/p/hdparm/patches/44/ + +--- a/geom.c ++++ b/geom.c +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- a/sysfs.c ++++ b/sysfs.c +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include + + #include "hdparm.h" diff --git a/sys-apps/hdparm/hdparm-9.48.ebuild b/sys-apps/hdparm/hdparm-9.48.ebuild index 6a777fd..8a087e8 100644 --- a/sys-apps/hdparm/hdparm-9.48.ebuild +++ b/sys-apps/hdparm/hdparm-9.48.ebuild @@ -4,7 +4,7 @@ EAPI="4" -inherit toolchain-funcs flag-o-matic +inherit toolchain-funcs flag-o-matic eutils DESCRIPTION="Utility to change hard drive performance parameters" HOMEPAGE="http://sourceforge.net/projects/hdparm/" @@ -16,6 +16,7 @@ KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc IUSE="static" src_prepare() { + epatch "${FILESDIR}"/${P}-sysmacros.patch #580052 use static && append-ldflags -static sed -i \ -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \