File: Fix-a-new-Clang-compile-failure-with-current-XCode.patch

package info (click to toggle)
simgear 1%3A2020.3.19%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,212 kB
  • sloc: cpp: 86,895; ansic: 14,497; xml: 903; makefile: 31
file content (21 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: James Turner <zakalawe@mac.com>
Date: Fri, 3 Feb 2023 11:24:47 +0000
Subject: Fix a new Clang compile failure with current XCode

(cherry picked from commit 319e6e3a3aeb84f1ea6dc55be72b24558c705528)
---
 simgear/scene/viewer/Compositor.hxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/simgear/scene/viewer/Compositor.hxx b/simgear/scene/viewer/Compositor.hxx
index f7e538c..44fd420 100644
--- a/simgear/scene/viewer/Compositor.hxx
+++ b/simgear/scene/viewer/Compositor.hxx
@@ -19,6 +19,7 @@
 
 #include <unordered_map>
 #include <vector>
+#include <array>
 
 // For osgUtil::LineSegmentIntersector::Intersections, which is a typedef.
 #include <osgUtil/LineSegmentIntersector>