summaryrefslogtreecommitdiff
path: root/user/rttr/header.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-29 18:54:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:07 -0500
commit371353aa83f63de9239c4c754f4f24d52f676844 (patch)
tree11fa0f03c95c959532ae586e9f0f87760fafd450 /user/rttr/header.patch
parentf2853d4a02ececc95fe68f4d4957fca009c0d537 (diff)
downloadpackages-371353aa83f63de9239c4c754f4f24d52f676844.tar.gz
packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.bz2
packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.xz
packages-371353aa83f63de9239c4c754f4f24d52f676844.zip
user/rttr: Bring upstream patches in for newer C++
Also, change the warnings we disable to ensure it builds with GCC 13. Also, replaces '-Werror' with '-Wextra' for more verbosity without causing the build to fail. Closes: #1196
Diffstat (limited to 'user/rttr/header.patch')
-rw-r--r--user/rttr/header.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/user/rttr/header.patch b/user/rttr/header.patch
new file mode 100644
index 000000000..ee908775b
--- /dev/null
+++ b/user/rttr/header.patch
@@ -0,0 +1,21 @@
+From b16fccf0fbbbf94064bf2a6c7c47f2b910ab31f1 Mon Sep 17 00:00:00 2001
+From: Veawor Liu <veawor@gmail.com>
+Date: Tue, 22 Oct 2019 05:04:47 +0800
+Subject: [PATCH] Fixed compiler errors. (#253)
+
+---
+ src/rttr/variant.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/rttr/variant.h b/src/rttr/variant.h
+index cec094b0..40978e3b 100644
+--- a/src/rttr/variant.h
++++ b/src/rttr/variant.h
+@@ -38,6 +38,7 @@
+ #include <cstddef>
+ #include <cstdint>
+ #include <algorithm>
++#include <string>
+
+ namespace rttr
+ {