Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/libetonyek converters/libetonyek: fix build...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abbab67c6818
branches:  trunk
changeset: 431978:abbab67c6818
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 17 21:45:51 2020 +0000

description:
converters/libetonyek: fix build on NetBSD-8.0-x86_64

diffstat:

 converters/libetonyek/distinfo                             |   3 +-
 converters/libetonyek/patches/patch-src_lib_NUM3Parser.cpp |  18 ++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 5f7c097f0390 -r abbab67c6818 converters/libetonyek/distinfo
--- a/converters/libetonyek/distinfo    Sun May 17 21:38:45 2020 +0000
+++ b/converters/libetonyek/distinfo    Sun May 17 21:45:51 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2019/02/13 21:15:36 wiz Exp $
+$NetBSD: distinfo,v 1.9 2020/05/17 21:45:51 rillig Exp $
 
 SHA1 (libetonyek-0.1.9.tar.xz) = b98862359b44f6838246428a482c442ad3bb67e4
 RMD160 (libetonyek-0.1.9.tar.xz) = 05769e91a32fca98060a753ec265e54e9dcf0b6d
 SHA512 (libetonyek-0.1.9.tar.xz) = 3f439b369d450bb1a4bdb3fe92023bda234b323cf676570f1738318c56867a97910f536280b9b164c3fdaa423a3ee669c935df75a5c700bc1530ea5b9a00391e
 Size (libetonyek-0.1.9.tar.xz) = 1477064 bytes
+SHA1 (patch-src_lib_NUM3Parser.cpp) = e5cabaa4a4c776fc65d1988fc7ad064fb426470d
diff -r 5f7c097f0390 -r abbab67c6818 converters/libetonyek/patches/patch-src_lib_NUM3Parser.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/libetonyek/patches/patch-src_lib_NUM3Parser.cpp        Sun May 17 21:45:51 2020 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_lib_NUM3Parser.cpp,v 1.1 2020/05/17 21:45:51 rillig Exp $
+
+NUM3Parser.cpp: In member function 'virtual bool libetonyek::NUM3Parser::parseDocument()':
+NUM3Parser.cpp:46:3: error: 'for_each' is not a member of 'std'
+   std::for_each(sheetListRefs.begin(), sheetListRefs.end(), std::bind(&NUM3Parser::parseSheet, this, std::placeholders::_1));
+
+https://lists.freedesktop.org/archives/libreoffice/2020-May/date.html
+
+--- src/lib/NUM3Parser.cpp.orig        2018-12-28 17:45:35.000000000 +0000
++++ 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"



Home | Main Index | Thread Index | Old Index