public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/openscad/files/, media-gfx/openscad/
Date: Fri, 20 Dec 2019 05:45:59 +0000 (UTC)	[thread overview]
Message-ID: <1576820052.bca5d279dd1a2ceff9b672d81793aacb614adbf9.juippis@gentoo> (raw)

commit:     bca5d279dd1a2ceff9b672d81793aacb614adbf9
Author:     Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
AuthorDate: Tue Dec 17 17:39:22 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 05:34:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca5d279

media-gfx/openscad: fix compilation with boost-1.72

Patch originates from upstream commit which is staged for release
https://github.com/openscad/openscad/pull/3105

Closes: https://bugs.gentoo.org/703022
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be>
Closes: https://github.com/gentoo/gentoo/pull/14028
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../openscad-2019.05_fix-boost-1.72.0-build.patch  | 27 ++++++++++++++++++++++
 media-gfx/openscad/openscad-2019.05-r1.ebuild      |  4 ++++
 2 files changed, 31 insertions(+)

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 00000000000..28d3285a737
--- /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
+

diff --git a/media-gfx/openscad/openscad-2019.05-r1.ebuild b/media-gfx/openscad/openscad-2019.05-r1.ebuild
index 8991b255f4c..11211477d2d 100644
--- a/media-gfx/openscad/openscad-2019.05-r1.ebuild
+++ b/media-gfx/openscad/openscad-2019.05-r1.ebuild
@@ -16,6 +16,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="emacs"
 
+PATCHES=(
+	"${FILESDIR}/${PN}-2019.05_fix-boost-1.72.0-build.patch"
+)
+
 # FIXME: add optional lib3mf
 RDEPEND="
 	dev-cpp/eigen:3


             reply	other threads:[~2019-12-20  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20  5:45 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-12  7:00 [gentoo-commits] repo/gentoo:master commit in: media-gfx/openscad/files/, media-gfx/openscad/ Joonas Niilola
2021-03-07  9:03 Joonas Niilola
2021-10-24  4:06 Sam James
2024-05-21 17:32 Miroslav Šulc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1576820052.bca5d279dd1a2ceff9b672d81793aacb614adbf9.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox