summaryrefslogtreecommitdiff
path: root/sys-block/sedutil/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-28 02:49:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-28 02:49:59 +0000
commite53aa6b4fbe5a0c6db75d893829f7a6a37a14180 (patch)
treedd095d36490410a724fd271fcdf08c31a5336edd /sys-block/sedutil/files
parentc5ee568457ac776b65b71fa444e0dd47535bc44a (diff)
gentoo auto-resync : 28:01:2023 - 02:49:59
Diffstat (limited to 'sys-block/sedutil/files')
-rw-r--r--sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch b/sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch
new file mode 100644
index 000000000000..7b803028230b
--- /dev/null
+++ b/sys-block/sedutil/files/sedutil-1.20.0-gcc-13.patch
@@ -0,0 +1,25 @@
+https://github.com/Drive-Trust-Alliance/sedutil/pull/425
+
+From 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 26 Jan 2023 23:36:29 -0800
+Subject: [PATCH] include missing <cstdint>
+
+gcc 13 moved some includes around and as a result <cstdint>
+is no longer transitively included [1]. Explicitly include
+it for uint{32,64}_t.
+
+[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/Common/DtaOptions.h
++++ b/Common/DtaOptions.h
+@@ -21,6 +21,7 @@ along with sedutil. If not, see <http://www.gnu.org/licenses/>.
+ #ifndef _DTAOPTIONS_H
+ #define _DTAOPTIONS_H
+
++#include <cstdint>
+ /** Output modes */
+ typedef enum _sedutiloutput {
+ sedutilNormal,
+