pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/orcus Update to 0.13.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01ec17180b43
branches:  trunk
changeset: 306979:01ec17180b43
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Apr 30 04:39:41 2018 +0000
description:
Update to 0.13.4

* Fix build with boost 1.65.0

Changelog:
2018-02-26  Kohei Yoshida  <kohei.yoshida%gmail.com@localhost>  [ef2e27538e335583ef3ff85c4bc4f512efc72eb5]

        Up the version to 0.13.4.


2018-02-21  Markus Mohrhard  <markus.mohrhard%googlemail.com@localhost>  [13af2fbab2cac1020d6bb840833c0e0efc231bff]

        protect the self-closing xml element code against self-closing root elements

        Found by Antti Levom?ki and Christian Jalio from Forcepoint.

        (cherry picked from commit 12e5d89cbd7101c61fbdf063322203a1590a0ef5)

2018-02-19  Kohei Yoshida  <kohei.yoshida%gmail.com@localhost>  [b8848ef7fc6a7d89e3f872574e36cbbab82275b0]

        xls-xml: Gracefully handle formula cells without cached results.

        This fixes #51.

        (cherry picked from commit 32a1b05ffc6edd7d528b6760dab9035252329ab0)

diffstat:

 converters/orcus/Makefile                                |   5 +-
 converters/orcus/distinfo                                |  11 +++--
 converters/orcus/patches/patch-src_spreadsheet_sheet.cpp |  30 ++++++++++++++++
 3 files changed, 38 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 729988c1dc59 -r 01ec17180b43 converters/orcus/Makefile
--- a/converters/orcus/Makefile Mon Apr 30 01:48:05 2018 +0000
+++ b/converters/orcus/Makefile Mon Apr 30 04:39:41 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2018/04/29 21:31:30 adam Exp $
+# $NetBSD: Makefile,v 1.23 2018/04/30 04:39:41 ryoon Exp $
 
-DISTNAME=      liborcus-0.13.3
+DISTNAME=      liborcus-0.13.4
 PKGNAME=       ${DISTNAME:S/liborcus/orcus/}
-PKGREVISION=   1
 CATEGORIES=    converters
 MASTER_SITES=  http://kohei.us/files/orcus/src/
 EXTRACT_SUFX=  .tar.xz
diff -r 729988c1dc59 -r 01ec17180b43 converters/orcus/distinfo
--- a/converters/orcus/distinfo Mon Apr 30 01:48:05 2018 +0000
+++ b/converters/orcus/distinfo Mon Apr 30 04:39:41 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2018/02/25 04:44:51 ryoon Exp $
+$NetBSD: distinfo,v 1.12 2018/04/30 04:39:41 ryoon Exp $
 
-SHA1 (liborcus-0.13.3.tar.xz) = 32bc54536fe0598ae09343609fc0717949a7dc34
-RMD160 (liborcus-0.13.3.tar.xz) = 36d28b5fb78c98d595e1c7464c32970d21202e9e
-SHA512 (liborcus-0.13.3.tar.xz) = fecea0fca5b455ae734b00c5a7784e1cf0db32b35d0992f26d4ca8b4188147cabc9c267b984c4b5a5b1cbf8a5f4029a7dd96de4dfc1dc902b43f01def662d1f3
-Size (liborcus-0.13.3.tar.xz) = 1817824 bytes
+SHA1 (liborcus-0.13.4.tar.xz) = 14e2e1e1a1b03a85df5dcac4d883611cc6f79b91
+RMD160 (liborcus-0.13.4.tar.xz) = 185a7deb787f81d2e6415143a6b74f66fa957909
+SHA512 (liborcus-0.13.4.tar.xz) = f00b49c41eb1898c37d8d42e59f9004f46b5f849b9d60ac9c5033232d1e5065ff3de160e79f5a88983bf64f86e283b6d1d406a24e776aa6ff7b8acec324ccd4b
+Size (liborcus-0.13.4.tar.xz) = 1816340 bytes
 SHA1 (patch-configure) = e5c68af9939a198cc63ec9bf5e6acf2aad4f893a
+SHA1 (patch-src_spreadsheet_sheet.cpp) = 67e9612107d8bf417173740bc7a437560f5cab35
diff -r 729988c1dc59 -r 01ec17180b43 converters/orcus/patches/patch-src_spreadsheet_sheet.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/orcus/patches/patch-src_spreadsheet_sheet.cpp  Mon Apr 30 04:39:41 2018 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_spreadsheet_sheet.cpp,v 1.1 2018/04/30 04:39:41 ryoon Exp $
+
+* Fix build with boost 1.65.0
+
+--- src/spreadsheet/sheet.cpp.orig     2017-11-15 23:12:57.000000000 +0000
++++ src/spreadsheet/sheet.cpp
+@@ -387,7 +387,7 @@ void sheet::set_date_time(row_t row, col
+ 
+     double days_since_epoch = (d - origin).days();
+ 
+-    double ms = second * 1000000.0;
++    long ms = second * 1000000.0;
+ 
+     posix_time::time_duration t(
+         posix_time::hours(hour) +
+@@ -726,12 +726,12 @@ date_time_t sheet::get_date_time(row_t r
+ 
+     long hours = 0;
+     long minutes = 0;
+-    double seconds = 0.0;
++    long seconds = 0.0;
+ 
+     if (time_fraction)
+     {
+         // Convert a fraction day to microseconds.
+-        double ms = time_fraction * 24.0 * 60.0 * 60.0 * 1000000.0;
++        long ms = time_fraction * 24.0 * 60.0 * 60.0 * 1000000.0;
+         posix_time::time_duration td = posix_time::microsec(ms);
+ 
+         hours = td.hours();



Home | Main Index | Thread Index | Old Index