summaryrefslogtreecommitdiff
path: root/math/xylib/patches/patch-xylib_util.cpp
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2020-01-07 13:03:50 +0000
committernros <nros@pkgsrc.org>2020-01-07 13:03:50 +0000
commitaf79f819060684d705337da7baa98de42f8fd5f5 (patch)
tree847e102f9b6c7aaa2326c93d3e5b00804960c06c /math/xylib/patches/patch-xylib_util.cpp
parentcce99cd867e225b63a9e7034b1b34ce723c225a5 (diff)
downloadpkgsrc-af79f819060684d705337da7baa98de42f8fd5f5.tar.gz
Update xylib to version 1.5
Update xylib to version 1.5. change from release notes: improved CNF reading changes to reading SpecsLab2 xy support text files with lines terminated by CR only more robust reading of CSV files fixes for big-endian platforms included xyConvert (GUI converter) support filenames with non-ascii characters added SpecsLab2 xy format
Diffstat (limited to 'math/xylib/patches/patch-xylib_util.cpp')
-rw-r--r--math/xylib/patches/patch-xylib_util.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/xylib/patches/patch-xylib_util.cpp b/math/xylib/patches/patch-xylib_util.cpp
new file mode 100644
index 00000000000..0188343329d
--- /dev/null
+++ b/math/xylib/patches/patch-xylib_util.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-xylib_util.cpp,v 1.1 2020/01/07 13:03:50 nros Exp $
+
+* cstdlib needed for strol
+
+--- xylib/util.cpp.orig 2016-12-17 12:45:55.000000000 +0000
++++ xylib/util.cpp
+@@ -10,6 +10,7 @@
+ #include <limits>
+ #include <cassert>
+ #include <cerrno>
++#include <cstdlib>
+ #include <boost/detail/endian.hpp>
+ #include <boost/cstdint.hpp>
+