Summary: | app-text/libetonyek-0.1.9-r1: NUM3Parser.cpp:46:8: error: ‘for_each’ is not a member of ‘std’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pavel Volkov <ao> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carlphilippreh, ostroffjh, pgt, xaviermiller |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 719924 | ||
Attachments: | build.log |
Description
Pavel Volkov
2020-05-10 08:33:11 UTC
Created attachment 637464 [details]
build.log
Not GCC related, but boost-1.73. *** Bug 722122 has been marked as a duplicate of this bug. *** (In reply to Pavel Volkov from comment #0) > This should be a trivial fix. This does the trick for me : --- a/src/lib/NUM3Parser.cpp 2020-05-10 10:49:29.008064158 -0400 +++ b/src/lib/NUM3Parser.cpp 2020-05-10 10:51:23.828612644 -0400 @@ -8,7 +8,7 @@ */ #include <functional> - +#include <algorithm> #include "NUM3Parser.h" #include "IWAMessage.h" (In reply to cyrillic from comment #4) > (In reply to Pavel Volkov from comment #0) > > This should be a trivial fix. > > This does the trick for me Thanks. As git master is still not fixed, could you submit this upstream? Usually includes are listed alphabetically diff --git a/src/lib/NUM3Parser.cpp b/src/lib/NUM3Parser.cpp index 6dc0e9a..6f8e79e 100644 --- a/src/lib/NUM3Parser.cpp +++ b/src/lib/NUM3Parser.cpp @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <algorithm> #include <functional> #include "NUM3Parser.h" (In reply to Mike Lothian from comment #6) > Usually includes are listed alphabetically > > diff --git a/src/lib/NUM3Parser.cpp b/src/lib/NUM3Parser.cpp > index 6dc0e9a..6f8e79e 100644 > --- a/src/lib/NUM3Parser.cpp > +++ b/src/lib/NUM3Parser.cpp > @@ -7,6 +7,7 @@ > * file, You can obtain one at http://mozilla.org/MPL/2.0/. > */ > > +#include <algorithm> > #include <functional> > > #include "NUM3Parser.h" Thanks. Patch did the trick! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39ebfce6ea758c721ecb0b1fc053ebb61b80765 commit f39ebfce6ea758c721ecb0b1fc053ebb61b80765 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-05-14 19:02:58 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-05-14 20:10:02 +0000 app-text/libetonyek: Fix build with boost-1.73 Reported-by: Pavel Volkov <ao@thurston.ru> Closes: https://bugs.gentoo.org/722042 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch | 12 ++++++++++++ app-text/libetonyek/libetonyek-0.1.9-r1.ebuild | 2 ++ 2 files changed, 14 insertions(+) Although it doesn't break the build, that patch file ends without a final \n so it does generate an warning about the patch ending in the middle of a line. |