From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/
Date: Thu, 21 Apr 2016 04:51:53 +0000 (UTC) [thread overview]
Message-ID: <1461214294.ccf5020ee562d493f8b3ff77c498ecf9e8311f5d.vapier@gentoo> (raw)
commit: ccf5020ee562d493f8b3ff77c498ecf9e8311f5d
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 04:51:11 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 04:51:34 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf5020e
dev-util/crash: fix build w/newer glibc #580244
dev-util/crash/crash-7.1.4.ebuild | 1 +
dev-util/crash/files/crash-7.1.4-sysmacros.patch | 27 ++++++++++++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/dev-util/crash/crash-7.1.4.ebuild b/dev-util/crash/crash-7.1.4.ebuild
index 91e7fb0..6583d7e 100644
--- a/dev-util/crash/crash-7.1.4.ebuild
+++ b/dev-util/crash/crash-7.1.4.ebuild
@@ -16,4 +16,5 @@ IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.1.1-install-fix.patch
+ epatch "${FILESDIR}"/${PN}-7.1.4-sysmacros.patch #580244
}
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 0000000..6e6d40c
--- /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
+
next reply other threads:[~2016-04-21 4:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 4:51 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-16 14:27 [gentoo-commits] repo/gentoo:master commit in: dev-util/crash/, dev-util/crash/files/ Yixun Lan
2023-08-09 23:09 Yixun Lan
2024-05-09 3:05 Yixun Lan
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=1461214294.ccf5020ee562d493f8b3ff77c498ecf9e8311f5d.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