summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-13 16:11:47 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-13 16:19:13 -0500
commit8a79f2bc55c8ae6ef33542d262430927e9954099 (patch)
tree688cbc15dc1d05be2b4239481241b769198ecb37 /dev-util/rr/files
parentdev-util/rr: clean up build/test deps (diff)
downloadgentoo-8a79f2bc55c8ae6ef33542d262430927e9954099.tar.gz
gentoo-8a79f2bc55c8ae6ef33542d262430927e9954099.tar.bz2
gentoo-8a79f2bc55c8ae6ef33542d262430927e9954099.zip
dev-util/rr: fix build w/newer glibc
Diffstat (limited to 'dev-util/rr/files')
-rw-r--r--dev-util/rr/files/rr-4.5.0-sysmacros.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/rr/files/rr-4.5.0-sysmacros.patch b/dev-util/rr/files/rr-4.5.0-sysmacros.patch
new file mode 100644
index 000000000000..573d5956598b
--- /dev/null
+++ b/dev-util/rr/files/rr-4.5.0-sysmacros.patch
@@ -0,0 +1,28 @@
+https://github.com/mozilla/rr/pull/1981
+
+From fefdb3b89e98192601dfdc98c8927c9a91f07f9f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 13 Feb 2017 16:01:52 -0500
+Subject: [PATCH] tests: include sys/sysmacros.h for minor/major funcs
+
+Newer versions of glibc are deprecating the implicit sys/sysmacros.h
+include via sys/types.h, so include it explicitly.
+---
+ src/test/rrutil.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/test/rrutil.h b/src/test/rrutil.h
+index 60de6e47a57b..bb5b527c4c9a 100644
+--- a/src/test/rrutil.h
++++ b/src/test/rrutil.h
+@@ -76,6 +76,7 @@
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <sys/sysinfo.h>
++#include <sys/sysmacros.h>
+ #include <sys/time.h>
+ #include <sys/timerfd.h>
+ #include <sys/times.h>
+--
+2.11.0
+