diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-22 12:52:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-22 12:52:10 +0000 |
commit | 736633fa866abdd7c155cabb02adf278c5237640 (patch) | |
tree | 847aff3277bceae8b34d29ff6c16cac3ad4b288e /dev-util/rr/files | |
parent | f926b97bb4ca0ec30c10ee9075bd3fd3b1df2be7 (diff) |
gentoo auto-resync : 22:01:2023 - 12:52:10
Diffstat (limited to 'dev-util/rr/files')
-rw-r--r-- | dev-util/rr/files/rr-5.6.0-gcc13.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/rr/files/rr-5.6.0-gcc13.patch b/dev-util/rr/files/rr-5.6.0-gcc13.patch new file mode 100644 index 000000000000..41092a958dd7 --- /dev/null +++ b/dev-util/rr/files/rr-5.6.0-gcc13.patch @@ -0,0 +1,32 @@ +https://github.com/rr-debugger/rr/commit/2248c85c424e8c257ca88af2732782574d6a3544 + +From 2248c85c424e8c257ca88af2732782574d6a3544 Mon Sep 17 00:00:00 2001 +From: William Cohen <wcohen@redhat.com> +Date: Wed, 18 Jan 2023 12:15:04 -0500 +Subject: [PATCH] Explicitly include <cstdint> where required. + +The uint8_t and uintptr_t ptr types are from the header <cstdint>. +Earlier versions of gcc appear to declare them even if the header +is not included, but gcc-13 does not. Explicitly including the +header to allow compilations with gcc-13. +--- a/src/log.h ++++ b/src/log.h +@@ -9,6 +9,7 @@ + #include <iostream> + #include <type_traits> + #include <vector> ++#include <cstdint> + + /** + * Print siginfo on ostream. +--- a/src/remote_ptr.h ++++ b/src/remote_ptr.h +@@ -5,6 +5,7 @@ + + #include <cstddef> + #include <iostream> ++#include <cstdint> + + namespace rr { + + |