summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-09-14 10:21:47 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-09-14 10:21:47 +0100
commit312df027b207e1456bf8a17328bedde7444cbbf4 (patch)
tree53b977637a512dd7f08e6507041265c377d6ac53 /sys-apps/firejail
parentsys-apps/firejail: Add version 0.9.38.2 (diff)
downloadgentoo-312df027b207e1456bf8a17328bedde7444cbbf4.tar.gz
gentoo-312df027b207e1456bf8a17328bedde7444cbbf4.tar.bz2
gentoo-312df027b207e1456bf8a17328bedde7444cbbf4.zip
sys-apps/firejail: Add missing patch for 0.9.38.2
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps/firejail')
-rw-r--r--sys-apps/firejail/files/firejail-0.9.38.2-sysmacros.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys-apps/firejail/files/firejail-0.9.38.2-sysmacros.patch b/sys-apps/firejail/files/firejail-0.9.38.2-sysmacros.patch
new file mode 100644
index 000000000000..85830a40cacf
--- /dev/null
+++ b/sys-apps/firejail/files/firejail-0.9.38.2-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
+