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 3623559CB4 for ; Wed, 20 Apr 2016 04:25:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B2ED21C039; Wed, 20 Apr 2016 04:25: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 A42B721C039 for ; Wed, 20 Apr 2016 04:25:03 +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 256D4340A9E for ; Wed, 20 Apr 2016 04:25:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DBE61363 for ; Wed, 20 Apr 2016 04:24:59 +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: <1461125975.f68a6983ad59f37cb04c236730ff5dde1748af25.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/files/, sys-apps/firejail/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/firejail/files/firejail-0.9.38-sysmacros.patch sys-apps/firejail/firejail-0.9.38.ebuild X-VCS-Directories: sys-apps/firejail/files/ sys-apps/firejail/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: f68a6983ad59f37cb04c236730ff5dde1748af25 X-VCS-Branch: master Date: Wed, 20 Apr 2016 04:24: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: 45439164-23d2-450e-9160-45b5fb9b8b96 X-Archives-Hash: 594308b509a7adea0f0f5013c2fd4a72 commit: f68a6983ad59f37cb04c236730ff5dde1748af25 Author: Mike Frysinger gentoo org> AuthorDate: Wed Apr 20 04:19:35 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Apr 20 04:19:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68a6983 sys-apps/firejail: fix build w/newer glibc #580390 .../firejail/files/firejail-0.9.38-sysmacros.patch | 27 ++++++++++++++++++++++ sys-apps/firejail/firejail-0.9.38.ebuild | 7 ++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/sys-apps/firejail/files/firejail-0.9.38-sysmacros.patch b/sys-apps/firejail/files/firejail-0.9.38-sysmacros.patch new file mode 100644 index 0000000..85830a4 --- /dev/null +++ b/sys-apps/firejail/files/firejail-0.9.38-sysmacros.patch @@ -0,0 +1,27 @@ +From c15fc4754a05cc2b2aec4ca75f87bf3d61578843 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Wed, 20 Apr 2016 00:14:21 -0400 +Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev + +These funcs have been defined in sys/sysmacros.h forever, and Linux C +libs are moving away from implicitly including it. Update the files +to include it explicitly. +--- + src/firejail/fs_dev.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c +index 97ee9de..2f66980 100644 +--- a/src/firejail/fs_dev.c ++++ b/src/firejail/fs_dev.c +@@ -28,6 +28,7 @@ + #ifndef _BSD_SOURCE + #define _BSD_SOURCE + #endif ++#include + #include + + static void create_char_dev(const char *path, mode_t mode, int major, int minor) { +-- +2.7.4 + diff --git a/sys-apps/firejail/firejail-0.9.38.ebuild b/sys-apps/firejail/firejail-0.9.38.ebuild index 5269406..19a45f9 100644 --- a/sys-apps/firejail/firejail-0.9.38.ebuild +++ b/sys-apps/firejail/firejail-0.9.38.ebuild @@ -4,6 +4,8 @@ EAPI=5 +inherit eutils + DESCRIPTION="Security sandbox for any type of processes" HOMEPAGE="https://firejail.wordpress.com/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" @@ -13,8 +15,9 @@ SLOT="0" KEYWORDS="~amd64" IUSE="+seccomp" -DEPEND="" -RDEPEND="" +src_prepare() { + epatch "${FILESDIR}"/${P}-sysmacros.patch +} src_configure() { econf $(use_enable seccomp)