From 8a79f2bc55c8ae6ef33542d262430927e9954099 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 13 Feb 2017 16:11:47 -0500 Subject: dev-util/rr: fix build w/newer glibc --- dev-util/rr/files/rr-4.5.0-sysmacros.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev-util/rr/files/rr-4.5.0-sysmacros.patch (limited to 'dev-util/rr/files') 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 +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 + #include + #include ++#include + #include + #include + #include +-- +2.11.0 + -- cgit v1.2.3-65-gdbad