From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/files/, sys-apps/firejail/
Date: Wed, 20 Apr 2016 04:24:59 +0000 (UTC) [thread overview]
Message-ID: <1461125975.f68a6983ad59f37cb04c236730ff5dde1748af25.vapier@gentoo> (raw)
commit: f68a6983ad59f37cb04c236730ff5dde1748af25
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 04:19:35 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> 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 <vapier@gentoo.org>
+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 <sys/sysmacros.h>
+ #include <sys/types.h>
+
+ 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)
next reply other threads:[~2016-04-20 4:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 4:24 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-19 22:25 [gentoo-commits] repo/gentoo:master commit in: sys-apps/firejail/files/, sys-apps/firejail/ Amadeusz Piotr Żołnowski
2016-10-28 20:40 Amadeusz Piotr Żołnowski
2016-12-08 20:38 Amadeusz Piotr Żołnowski
2016-12-15 21:30 Amadeusz Piotr Żołnowski
2016-12-18 11:14 Amadeusz Piotr Żołnowski
2017-01-14 20:57 Amadeusz Piotr Żołnowski
2017-01-31 20:06 Amadeusz Piotr Żołnowski
2017-08-27 22:42 Amadeusz Piotr Żołnowski
2018-08-15 22:36 Amadeusz Piotr Żołnowski
2018-12-04 22:16 Amadeusz Piotr Żołnowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461125975.f68a6983ad59f37cb04c236730ff5dde1748af25.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox