aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarkus Härer <markus.haerer@gmx.net>2023-05-06 00:26:44 +0200
committerMarkus Härer <markus.haerer@gmx.net>2023-05-28 01:45:02 +0200
commit69c1ee6657a8e98d08eea2bdb34fedd14bef3384 (patch)
tree922b57c0485eaa12b71b567fa16ba4445dc746b8 /tools
parentc85d15cce188ce60b8ddbe193faf2cd5fba85b5b (diff)
[depends][crossguid] Patch for compatibility with gcc>=13
(cherry picked from commit 90a4c02ad246d507feaefb97ec7196e17a9cdaaf)
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/crossguid/003-add-cstdint-include.patch10
-rw-r--r--tools/depends/target/crossguid/Makefile1
2 files changed, 11 insertions, 0 deletions
diff --git a/tools/depends/target/crossguid/003-add-cstdint-include.patch b/tools/depends/target/crossguid/003-add-cstdint-include.patch
new file mode 100644
index 0000000000..9a710d835a
--- /dev/null
+++ b/tools/depends/target/crossguid/003-add-cstdint-include.patch
@@ -0,0 +1,10 @@
+--- a/include/crossguid/guid.hpp
++++ b/include/crossguid/guid.hpp
+@@ -36,6 +36,7 @@ THE SOFTWARE.
+ #include <string_view>
+ #include <utility>
+ #include <iomanip>
++#include <cstdint>
+
+ #define BEGIN_XG_NAMESPACE namespace xg {
+ #define END_XG_NAMESPACE }
diff --git a/tools/depends/target/crossguid/Makefile b/tools/depends/target/crossguid/Makefile
index f37050dab5..f15fcd6dff 100644
--- a/tools/depends/target/crossguid/Makefile
+++ b/tools/depends/target/crossguid/Makefile
@@ -45,6 +45,7 @@ endif
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); patch -p1 -i ../001-fix-unused-function.patch
cd $(PLATFORM); patch -p1 -i ../002-disable-Wall-error.patch
+ cd $(PLATFORM); patch -p1 -i ../003-add-cstdint-include.patch
cd $(PLATFORM)/build; $(CMAKE) $(CMAKE_OPTIONS) ..
.installed-$(PLATFORM): $(PLATFORM)