git: 4b02b30706b2 - main - cad/freecad: fix build after ebbef4b5f8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jan 2023 22:45:32 UTC
The branch main has been updated by cmt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4b02b30706b21f3986cc67f44888c267809266dc
commit 4b02b30706b21f3986cc67f44888c267809266dc
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-01-21 22:42:53 +0000
Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-01-21 22:45:23 +0000
cad/freecad: fix build after ebbef4b5f8
PR: 269018
---
cad/freecad/files/patch-src_Gui_Selection.h | 10 ++++++++++
cad/freecad/files/patch-src_Gui_SoFCSelection.h | 11 +++++++++++
cad/freecad/files/patch-src_Gui_SoFCUnifiedSelection.h | 10 ++++++++++
cad/freecad/files/patch-src_Mod_Import_App_ImportOCAF2.h | 10 ++++++++++
4 files changed, 41 insertions(+)
diff --git a/cad/freecad/files/patch-src_Gui_Selection.h b/cad/freecad/files/patch-src_Gui_Selection.h
new file mode 100644
index 000000000000..0051dc1cd6e8
--- /dev/null
+++ b/cad/freecad/files/patch-src_Gui_Selection.h
@@ -0,0 +1,10 @@
+--- src/Gui/Selection.h.orig 2023-01-21 23:23:47.647852000 +0100
++++ src/Gui/Selection.h 2023-01-21 23:24:04.167678000 +0100
+@@ -25,6 +25,7 @@
+ #define GUI_SELECTION_H
+
+ #include <deque>
++#include <array>
+ #include <list>
+ #include <string>
+ #include <vector>
diff --git a/cad/freecad/files/patch-src_Gui_SoFCSelection.h b/cad/freecad/files/patch-src_Gui_SoFCSelection.h
new file mode 100644
index 000000000000..0d09d72c281f
--- /dev/null
+++ b/cad/freecad/files/patch-src_Gui_SoFCSelection.h
@@ -0,0 +1,11 @@
+--- ./src/Gui/SoFCSelection.h.orig 2023-01-21 22:41:40.507560000 +0100
++++ ./src/Gui/SoFCSelection.h 2023-01-21 22:42:27.657720000 +0100
+@@ -35,6 +35,8 @@
+ # include <GL/gl.h>
+ # endif
+
++#include <array>
++
+ #include <Inventor/elements/SoLazyElement.h>
+ #include <Inventor/fields/SoSFBool.h>
+ #include <Inventor/fields/SoSFColor.h>
diff --git a/cad/freecad/files/patch-src_Gui_SoFCUnifiedSelection.h b/cad/freecad/files/patch-src_Gui_SoFCUnifiedSelection.h
new file mode 100644
index 000000000000..d4ac79b033a9
--- /dev/null
+++ b/cad/freecad/files/patch-src_Gui_SoFCUnifiedSelection.h
@@ -0,0 +1,10 @@
+--- src/Gui/SoFCUnifiedSelection.h.orig 2023-01-21 23:07:09.710205000 +0100
++++ src/Gui/SoFCUnifiedSelection.h 2023-01-21 23:07:38.508972000 +0100
+@@ -23,6 +23,7 @@
+ #ifndef GUI_SOFCUNIFIEDSELECTION_H
+ #define GUI_SOFCUNIFIEDSELECTION_H
+
++#include <array>
+ #include <list>
+ #include <unordered_map>
+ #include <unordered_set>
diff --git a/cad/freecad/files/patch-src_Mod_Import_App_ImportOCAF2.h b/cad/freecad/files/patch-src_Mod_Import_App_ImportOCAF2.h
new file mode 100644
index 000000000000..807f2c01750e
--- /dev/null
+++ b/cad/freecad/files/patch-src_Mod_Import_App_ImportOCAF2.h
@@ -0,0 +1,10 @@
+--- src/Mod/Import/App/ImportOCAF2.h.orig 2023-01-21 23:09:25.522104000 +0100
++++ src/Mod/Import/App/ImportOCAF2.h 2023-01-21 23:09:52.176852000 +0100
+@@ -30,6 +30,7 @@
+ #include <TDF_LabelMapHasher.hxx>
+ #include <climits>
+ #include <string>
++#include <array>
+ #include <set>
+ #include <map>
+ #include <unordered_map>