summaryrefslogtreecommitdiff
path: root/media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-05-26 09:33:00 +0200
committerKarel Kočí <cynerd@email.cz>2020-05-26 09:33:00 +0200
commit398b683849779a6e62a0891e012a83491dca657d (patch)
tree8cc7cf48c81dd66d3dd6b5e49d11c9737def3b9f /media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch
parent83ac354bfc8320476ddcb555ec382eeaefb9a062 (diff)
downloadgentoo-personal-overlay-398b683849779a6e62a0891e012a83491dca657d.tar.gz
gentoo-personal-overlay-398b683849779a6e62a0891e012a83491dca657d.tar.bz2
gentoo-personal-overlay-398b683849779a6e62a0891e012a83491dca657d.zip
media-gfx/openscad: try to fix build
Diffstat (limited to 'media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch')
-rw-r--r--media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch b/media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch
new file mode 100644
index 0000000..28d3285
--- /dev/null
+++ b/media-gfx/openscad/files/openscad-2019.05_fix-boost-1.72.0-build.patch
@@ -0,0 +1,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
+