1 |
commit: f39ebfce6ea758c721ecb0b1fc053ebb61b80765 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 14 19:02:58 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 14 20:10:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39ebfce |
7 |
|
8 |
app-text/libetonyek: Fix build with boost-1.73 |
9 |
|
10 |
Reported-by: Pavel Volkov <ao <AT> thurston.ru> |
11 |
Closes: https://bugs.gentoo.org/722042 |
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch | 12 ++++++++++++ |
16 |
app-text/libetonyek/libetonyek-0.1.9-r1.ebuild | 2 ++ |
17 |
2 files changed, 14 insertions(+) |
18 |
|
19 |
diff --git a/app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch b/app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..2992f9f1add |
22 |
--- /dev/null |
23 |
+++ b/app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch |
24 |
@@ -0,0 +1,12 @@ |
25 |
+diff --git a/src/lib/NUM3Parser.cpp b/src/lib/NUM3Parser.cpp |
26 |
+index 6dc0e9a..6f8e79e 100644 |
27 |
+--- a/src/lib/NUM3Parser.cpp |
28 |
++++ b/src/lib/NUM3Parser.cpp |
29 |
+@@ -7,6 +7,7 @@ |
30 |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
31 |
+ */ |
32 |
+ |
33 |
++#include <algorithm> |
34 |
+ #include <functional> |
35 |
+ |
36 |
+ #include "NUM3Parser.h" |
37 |
\ No newline at end of file |
38 |
|
39 |
diff --git a/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild b/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild |
40 |
index 63aab3eb452..43f51e4a6e2 100644 |
41 |
--- a/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild |
42 |
+++ b/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild |
43 |
@@ -36,6 +36,8 @@ DEPEND="${RDEPEND} |
44 |
test? ( dev-util/cppunit ) |
45 |
" |
46 |
|
47 |
+PATCHES=( "${FILESDIR}/${P}-boost-1.73.patch" ) # bug 722042 |
48 |
+ |
49 |
src_prepare() { |
50 |
default |
51 |
[[ -d m4 ]] || mkdir "m4" |