app-text/libetonyek: Fix build with boost-1.73
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 May 2020 19:02:58 +0000 (21:02 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 May 2020 20:10:02 +0000 (22:10 +0200)
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 [new file with mode: 0644]
app-text/libetonyek/libetonyek-0.1.9-r1.ebuild

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 (file)
index 0000000..2992f9f
--- /dev/null
@@ -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
index 63aab3eb452bbe062cb941c4826117b95e2c7b37..43f51e4a6e2d10c41cc7ab58f586926a98d12e16 100644 (file)
@@ -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"