diff options
author | Rosen Penev <rosenp@gmail.com> | 2023-07-01 11:31:23 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2023-07-11 08:38:29 -0700 |
commit | d4ed50045fa39b8abd991debb4ceef1f00bb2003 (patch) | |
tree | 550bbfad16cd605a350312cca639dc9c30fa1fba /libs/libtins/patches | |
parent | d71e28de375edc17ae0e0c6f735a870759c9a3e8 (diff) |
libtins: fix compilation with GCC13
Patch taken from upstream.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libtins/patches')
-rw-r--r-- | libs/libtins/patches/020-gcc13.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/libtins/patches/020-gcc13.patch b/libs/libtins/patches/020-gcc13.patch new file mode 100644 index 000000000..07b6bd611 --- /dev/null +++ b/libs/libtins/patches/020-gcc13.patch @@ -0,0 +1,21 @@ +From 812be7966d445ec56e88eab512f8fd2d57152427 Mon Sep 17 00:00:00 2001 +From: Vasiliy Glazov <vascom2@gmail.com> +Date: Tue, 24 Jan 2023 19:29:36 +0300 +Subject: [PATCH] Fix build with GCC13 (#496) + +Due to changes in GCC13 need fix include. +--- + include/tins/ip_address.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/include/tins/ip_address.h ++++ b/include/tins/ip_address.h +@@ -33,7 +33,7 @@ + #include <string> + #include <iosfwd> + #include <functional> +-#include <stdint.h> ++#include <cstdint> + #include <tins/cxxstd.h> + #include <tins/macros.h> + |