summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-14 21:02:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-14 22:10:02 +0200
commitf39ebfce6ea758c721ecb0b1fc053ebb61b80765 (patch)
tree4281e527bde545ac8133bc9ffd23b500d41087a0
parentdev-lang/php: Version bump for 7.4.6 (diff)
downloadgentoo-f39ebfce6ea758c721ecb0b1fc053ebb61b80765.tar.gz
gentoo-f39ebfce6ea758c721ecb0b1fc053ebb61b80765.tar.bz2
gentoo-f39ebfce6ea758c721ecb0b1fc053ebb61b80765.zip
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>
-rw-r--r--app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch12
-rw-r--r--app-text/libetonyek/libetonyek-0.1.9-r1.ebuild2
2 files changed, 14 insertions, 0 deletions
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
new file mode 100644
index 000000000000..2992f9f1add3
--- /dev/null
+++ b/app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch
@@ -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" \ No newline at end of file
diff --git a/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild b/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild
index 63aab3eb452b..43f51e4a6e2d 100644
--- a/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild
+++ b/app-text/libetonyek/libetonyek-0.1.9-r1.ebuild
@@ -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"