Boost 1.83 breaks the build of simgear. Diff below fixes it and
flightgear builds as well.
/tmp/pobj/simgear-2020.3.17/simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx:137:34:
error: imp
licit instantiation of undefined template
'std::array<osg::ref_ptr<osg::Uniform>, 14>'
BuiltinUniforms _uniforms;
^
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/simgear/Makefile,v
diff -u -p -r1.22 Makefile
--- Makefile 26 Sep 2023 11:39:10 -0000 1.22
+++ Makefile 17 Nov 2023 15:35:08 -0000
@@ -1,6 +1,7 @@
COMMENT = library set for simulations, games and visualizations
DISTNAME = simgear-2020.3.17
+REVISION = 0
SHARED_LIBS += SimGearCore 6.0 # 2.10
SHARED_LIBS += SimGearScene 6.0 # 2.10
Index: patches/patch-simgear_scene_viewer_Compositor_hxx
===================================================================
RCS file: patches/patch-simgear_scene_viewer_Compositor_hxx
diff -N patches/patch-simgear_scene_viewer_Compositor_hxx
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-simgear_scene_viewer_Compositor_hxx 17 Nov 2023 15:35:08
-0000
@@ -0,0 +1,11 @@
+Index: simgear/scene/viewer/Compositor.hxx
+--- simgear/scene/viewer/Compositor.hxx.orig
++++ simgear/scene/viewer/Compositor.hxx
+@@ -17,6 +17,7 @@
+ #ifndef SG_COMPOSITOR_HXX
+ #define SG_COMPOSITOR_HXX
+
++#include <array>
+ #include <unordered_map>
+ #include <vector>
+