summaryrefslogtreecommitdiff
path: root/media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch
blob: 28d3285a73754634ab19d6ea2fe8b7259d5f86b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From b6c170cc5dd1bc677176ee732cdb0ddae57e5cf0 Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Fri, 25 Oct 2019 15:10:26 +0000
Subject: [PATCH] Add missing header bootlegged by Boost < 1.72

src/parser.y:76:6: error: no template named 'stack' in namespace 'std'
std::stack<LocalScope *> scope_stack;
~~~~~^
---
 src/parser.y | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/parser.y b/src/parser.y
index 7f4fd56c..4c77c989 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -46,6 +46,7 @@
 #include "printutils.h"
 #include "memory.h"
 #include <sstream>
+#include <stack>
 #include <boost/filesystem.hpp>
 #include "boost-utils.h"
 #include "feature.h"
-- 
2.24.1