summaryrefslogtreecommitdiff
path: root/dev-util/crash/files/crash-7.1.4-sysmacros.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-13 17:49:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-13 17:49:31 +0100
commit36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 (patch)
treed9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /dev-util/crash/files/crash-7.1.4-sysmacros.patch
parenta1392efe64137262023d92492396ca9156d22396 (diff)
Revert "gentoo resync : 13.09.2019"
This reverts commit a1392efe64137262023d92492396ca9156d22396.
Diffstat (limited to 'dev-util/crash/files/crash-7.1.4-sysmacros.patch')
-rw-r--r--dev-util/crash/files/crash-7.1.4-sysmacros.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/crash/files/crash-7.1.4-sysmacros.patch b/dev-util/crash/files/crash-7.1.4-sysmacros.patch
new file mode 100644
index 000000000000..6e6d40cca4d2
--- /dev/null
+++ b/dev-util/crash/files/crash-7.1.4-sysmacros.patch
@@ -0,0 +1,27 @@
+From f22dabb45448e5a8d2df85703fd72b0f83fe7eda Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Thu, 21 Apr 2016 00:44:04 -0400
+Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev
+
+These funcs are defined in the sys/sysmacros.h header, not sys/types.h.
+Linux C libraries are updating to drop the implicit include, so we need
+to include it explicitly.
+---
+ filesys.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/filesys.c b/filesys.c
+index 2ed25f4..9b59998 100644
+--- a/filesys.c
++++ b/filesys.c
+@@ -16,6 +16,7 @@
+ */
+
+ #include "defs.h"
++#include <sys/sysmacros.h>
+ #include <linux/major.h>
+ #include <regex.h>
+ #include <sys/utsname.h>
+--
+2.7.4
+