aboutsummaryrefslogtreecommitdiff
path: root/utils/sedutil/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2023-07-01 17:38:34 -0700
committerRosen Penev <rosenp@gmail.com>2023-07-11 08:38:47 -0700
commit1dfb94dc017fc6f60e85aa8f01c556671bc5a237 (patch)
tree04c08d62af5a822dcfed5a08f3272985ab00a1e4 /utils/sedutil/patches
parentd4ed50045fa39b8abd991debb4ceef1f00bb2003 (diff)
sedutil: fix compilation with GCC13
Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/sedutil/patches')
-rw-r--r--utils/sedutil/patches/010-gcc13.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/utils/sedutil/patches/010-gcc13.patch b/utils/sedutil/patches/010-gcc13.patch
new file mode 100644
index 000000000..d60984d13
--- /dev/null
+++ b/utils/sedutil/patches/010-gcc13.patch
@@ -0,0 +1,25 @@
+From b47102bf6066e5342fdbb69bd767cd70a0a59bf9 Mon Sep 17 00:00:00 2001
+From: Yaakov Selkowitz <yselkowi@redhat.com>
+Date: Sun, 19 Feb 2023 21:28:10 -0500
+Subject: [PATCH] Fix build with GCC 13
+
+As in previous versions, libstdc++ in GCC 13 has trimmed internal
+inclusion of standard headers, necessitating their proper inclusion
+when used:
+
+https://gcc.gnu.org/gcc-13/porting_to.html
+---
+ Common/DtaOptions.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/Common/DtaOptions.h
++++ b/Common/DtaOptions.h
+@@ -21,6 +21,8 @@ along with sedutil. If not, see <http:/
+ #ifndef _DTAOPTIONS_H
+ #define _DTAOPTIONS_H
+
++#include <stdint.h>
++
+ /** Output modes */
+ typedef enum _sedutiloutput {
+ sedutilNormal,