Skip to content

Commit

Permalink
app-text/libetonyek: Fix build with boost-1.73
Browse files Browse the repository at this point in the history
Reported-by: Pavel Volkov <[email protected]>
Closes: https://bugs.gentoo.org/722042
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed May 14, 2020
1 parent 561519d commit f39ebfc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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"
2 changes: 2 additions & 0 deletions app-text/libetonyek/libetonyek-0.1.9-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ DEPEND="${RDEPEND}
test? ( dev-util/cppunit )
"

PATCHES=( "${FILESDIR}/${P}-boost-1.73.patch" ) # bug 722042

src_prepare() {
default
[[ -d m4 ]] || mkdir "m4"
Expand Down

0 comments on commit f39ebfc

Please sign in to comment.