summarylogtreecommitdiffstats
path: root/ecal-gcc13.patch
diff options
context:
space:
mode:
authorTobias Borgert2023-05-11 09:41:32 +0200
committerTobias Borgert2023-05-11 09:41:32 +0200
commitb1925aec18ef1449e9b7aede4e35f94cd618bc55 (patch)
treede9ff356e461a243afd03b6d8f7580ac111c3c41 /ecal-gcc13.patch
parent8632840fed107be5ae28af8fd920d189ada1c55f (diff)
downloadaur-b1925aec18ef1449e9b7aede4e35f94cd618bc55.tar.gz
Add patches to build with GCC 13. Upstream pull requests have been created
Diffstat (limited to 'ecal-gcc13.patch')
-rw-r--r--ecal-gcc13.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/ecal-gcc13.patch b/ecal-gcc13.patch
new file mode 100644
index 000000000000..3cb7a5046ade
--- /dev/null
+++ b/ecal-gcc13.patch
@@ -0,0 +1,35 @@
+Subject: [PATCH] GCC13 compatibility: Explicitly include cstdint
+---
+Index: ecal/contrib/ecaltime/linuxptp/src/ecal_time_linuxptp.h
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/ecal/contrib/ecaltime/linuxptp/src/ecal_time_linuxptp.h b/ecal/contrib/ecaltime/linuxptp/src/ecal_time_linuxptp.h
+--- a/ecal/contrib/ecaltime/linuxptp/src/ecal_time_linuxptp.h (revision 6b2843ad29597e7de06a6f80e99572006eeb097a)
++++ b/ecal/contrib/ecaltime/linuxptp/src/ecal_time_linuxptp.h (revision 044d473cfda4d70d57ac0a7c081cae0e2cc10ffb)
+@@ -21,6 +21,7 @@
+
+ #include <time.h>
+ #include <mutex>
++#include <string>
+
+ #define CLOCKFD 3
+ #define FD_TO_CLOCKID(fd) ((~(clockid_t) (fd) << 3) | CLOCKFD)
+Index: ecal/ecal/core/src/topic2mcast.h
+IDEA additional info:
+Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
+<+>UTF-8
+===================================================================
+diff --git a/ecal/ecal/core/src/topic2mcast.h b/ecal/ecal/core/src/topic2mcast.h
+--- a/ecal/ecal/core/src/topic2mcast.h (revision 6b2843ad29597e7de06a6f80e99572006eeb097a)
++++ b/ecal/ecal/core/src/topic2mcast.h (revision 044d473cfda4d70d57ac0a7c081cae0e2cc10ffb)
+@@ -23,6 +23,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <sstream>
+ #include <iostream>
+ #include <string>
+