summaryrefslogtreecommitdiffstats
path: root/development/kicad/kicad_std-header_for_boost1.7.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/kicad/kicad_std-header_for_boost1.7.3.patch')
-rw-r--r--development/kicad/kicad_std-header_for_boost1.7.3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/development/kicad/kicad_std-header_for_boost1.7.3.patch b/development/kicad/kicad_std-header_for_boost1.7.3.patch
new file mode 100644
index 0000000000..714e78f4f4
--- /dev/null
+++ b/development/kicad/kicad_std-header_for_boost1.7.3.patch
@@ -0,0 +1,14 @@
+Add missing include for std::algorithm for boost 1.7.3
+https://gitlab.com/kicad/code/kicad/-/commit/47297402d38cafefd54310ee7b536b60c8524ac0
+diff --git a/common/lib_tree_model.cpp b/common/lib_tree_model.cpp
+index 71fe74c7dcdaa2661584cbe89361bcc2f4729954..ed30b11de5e3db8b460984821965f4745911e1fd 100644
+--- a/common/lib_tree_model.cpp
++++ b/common/lib_tree_model.cpp
+@@ -21,6 +21,7 @@
+
+ #include <lib_tree_model.h>
+
++#include <algorithm>
+ #include <eda_pattern_match.h>
+ #include <lib_tree_item.h>
+ #include <make_unique.h>