From 9c1c90cf0f8507cd5f9da6c9db68deb90d429b2d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 24 Nov 2018 15:17:48 +0000 Subject: [PATCH] dev-libs/boost: backport spsc_queue.hpp include fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/671724 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: David Seifert --- ...t-1.67.0.ebuild => boost-1.67.0-r1.ebuild} | 3 ++- .../files/boost-1.67.0-lockfree-next.patch | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) rename dev-libs/boost/{boost-1.67.0.ebuild => boost-1.67.0-r1.ebuild} (99%) create mode 100644 dev-libs/boost/files/boost-1.67.0-lockfree-next.patch diff --git a/dev-libs/boost/boost-1.67.0.ebuild b/dev-libs/boost/boost-1.67.0-r1.ebuild similarity index 99% rename from dev-libs/boost/boost-1.67.0.ebuild rename to dev-libs/boost/boost-1.67.0-r1.ebuild index 7eb5c945be41..1c9de953032d 100644 --- a/dev-libs/boost/boost-1.67.0.ebuild +++ b/dev-libs/boost/boost-1.67.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -49,6 +49,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.55.0-context-x32.patch" "${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch" "${FILESDIR}/${PN}-1.67.0-fix-python.patch" + "${FILESDIR}/${PN}-1.67.0-lockfree-next.patch" ) python_bindings_needed() { diff --git a/dev-libs/boost/files/boost-1.67.0-lockfree-next.patch b/dev-libs/boost/files/boost-1.67.0-lockfree-next.patch new file mode 100644 index 000000000000..acf9a96777e5 --- /dev/null +++ b/dev-libs/boost/files/boost-1.67.0-lockfree-next.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/671724 + +From 12726cda009a855073b9bedbdce57b6ce7763da2 Mon Sep 17 00:00:00 2001 +From: Peter Dimov +Date: Sat, 2 Dec 2017 04:10:46 +0200 +Subject: [PATCH] Add #include ; no longer in utility.hpp + +--- + include/boost/lockfree/spsc_queue.hpp | 1 + + 1 file changed, 1 insertion(+) + +--- a/boost/lockfree/spsc_queue.hpp ++++ b/boost/lockfree/spsc_queue.hpp +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + #include + #include // for BOOST_LIKELY + +-- +2.19.2 + -- 2.26.2