libetonyek: fix build against boost 1.73

This commit is contained in:
Tim Biermann 2020-05-16 18:32:08 +00:00
parent fffb0b776c
commit 89b9ccca4a
3 changed files with 20 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38tg0+xdeZG9W3sA322zL7o05DldiDmXpKPCC2NH2Iu6J0dwq0UMyG8a088aKlLrPwlwtuor5bvE+f7YdBs0jAQ=
SHA256 (Pkgfile) = 9ff8ac7ef9cd3752bc7e1fc4a36ad85921e0c5f84c2df0a7588a629b95fff6ea
RWSagIOpLGJF3/GYP/7CFYN7Fz/5z6cgh3bhQ+uIoRW3yb17HJP6SR+M+0R+Y8hAzhmzM9YL6nR/A6VBxFb29QsWB1ibbo//OAE=
SHA256 (Pkgfile) = 9c1efa4672f572172be07a0a8bd50bb4bff1e4d737bd427fe4eae9c0b96c728d
SHA256 (.footprint) = 46d39f04e6636a7982c25335c12e465ae0fc81c0d3a42a0f59fe6caa0a91abf7
SHA256 (libetonyek-0.1.9.tar.xz) = e61677e8799ce6e55b25afc11aa5339113f6a49cff031f336e32fa58635b1a4a
SHA256 (libetonyek-0.1.9-boost-1.73.patch) = f5adffb233e9844b9c9998214990cc80ce6938f3473d61bd89f11384e9678e6d

View File

@ -5,11 +5,14 @@
name=libetonyek
version=0.1.9
release=3
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
release=4
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
libetonyek-0.1.9-boost-1.73.patch)
build() {
cd $name-$version
## https://gitweb.gentoo.org/repo/gentoo.git/tree/app-text/libetonyek/files/libetonyek-0.1.9-boost-1.73.patch
patch -Np1 -i $SRC/libetonyek-0.1.9-boost-1.73.patch
./configure --prefix=/usr \
--with-mdds=1.5 \
--without-docs

View File

@ -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"