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 CCD9D1382AC for ; Tue, 21 Jun 2016 19:04:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34B5EE087F; Tue, 21 Jun 2016 19:04:52 +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 C55E3E087F for ; Tue, 21 Jun 2016 19:04:51 +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 5D6A0340817 for ; Tue, 21 Jun 2016 19:04:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9360241C for ; Tue, 21 Jun 2016 19:04:44 +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: <1466535879.7d0c90e27adbcfc0f88123b559d586e618364d55.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/parted/, sys-block/parted/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-block/parted/files/parted-3.2-sysmacros.patch sys-block/parted/parted-3.2-r1.ebuild X-VCS-Directories: sys-block/parted/ sys-block/parted/files/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 7d0c90e27adbcfc0f88123b559d586e618364d55 X-VCS-Branch: master Date: Tue, 21 Jun 2016 19:04:44 +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: 18dd01a0-b004-4452-9e31-aeb0ded9012f X-Archives-Hash: f57215a3cca808b4d351ed9a4bcce298 commit: 7d0c90e27adbcfc0f88123b559d586e618364d55 Author: Mike Frysinger gentoo org> AuthorDate: Tue Jun 21 19:04:24 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Jun 21 19:04:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d0c90e2 sys-block/parted: fix building w/newer glibc #580022 sys-block/parted/files/parted-3.2-sysmacros.patch | 28 +++++++++++++++++++++++ sys-block/parted/parted-3.2-r1.ebuild | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/sys-block/parted/files/parted-3.2-sysmacros.patch b/sys-block/parted/files/parted-3.2-sysmacros.patch new file mode 100644 index 0000000..a29e761 --- /dev/null +++ b/sys-block/parted/files/parted-3.2-sysmacros.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/580022 + +From dec8995fe80508374beba6356f6ecbba8ef6b18b Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Tue, 21 Jun 2016 15:01:08 -0400 +Subject: [PATCH] include sysmacros.h for major/minor/makedev + +Linux C libs are moving away from including this header implicitly via +sys/types.h, so include it explicitly. +--- + libparted/arch/linux.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c +index 326b95619d31..e5c168be3c68 100644 +--- a/libparted/arch/linux.c ++++ b/libparted/arch/linux.c +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + #include + #include /* for uname() */ + #include +-- +2.8.2 + diff --git a/sys-block/parted/parted-3.2-r1.ebuild b/sys-block/parted/parted-3.2-r1.ebuild index 7b07c23..0180e45 100644 --- a/sys-block/parted/parted-3.2-r1.ebuild +++ b/sys-block/parted/parted-3.2-r1.ebuild @@ -34,7 +34,8 @@ src_prepare() { epatch \ "${FILESDIR}"/${PN}-3.2-devmapper.patch \ "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch \ - "${FILESDIR}"/${PN}-3.2-fix-resizing-FAT16.patch + "${FILESDIR}"/${PN}-3.2-fix-resizing-FAT16.patch \ + "${FILESDIR}"/${PN}-3.2-sysmacros.patch eautoreconf }