pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/orcus



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Mon Apr 30 04:39:41 UTC 2018

Modified Files:
        pkgsrc/converters/orcus: Makefile distinfo
Added Files:
        pkgsrc/converters/orcus/patches: patch-src_spreadsheet_sheet.cpp

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/converters/orcus/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/converters/orcus/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/converters/orcus/patches/patch-src_spreadsheet_sheet.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/orcus/Makefile
diff -u pkgsrc/converters/orcus/Makefile:1.22 pkgsrc/converters/orcus/Makefile:1.23
--- pkgsrc/converters/orcus/Makefile:1.22       Sun Apr 29 21:31:30 2018
+++ pkgsrc/converters/orcus/Makefile    Mon Apr 30 04:39:41 2018
@@ -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

Index: pkgsrc/converters/orcus/distinfo
diff -u pkgsrc/converters/orcus/distinfo:1.11 pkgsrc/converters/orcus/distinfo:1.12
--- pkgsrc/converters/orcus/distinfo:1.11       Sun Feb 25 04:44:51 2018
+++ pkgsrc/converters/orcus/distinfo    Mon Apr 30 04:39:41 2018
@@ -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

Added files:

Index: pkgsrc/converters/orcus/patches/patch-src_spreadsheet_sheet.cpp
diff -u /dev/null pkgsrc/converters/orcus/patches/patch-src_spreadsheet_sheet.cpp:1.1
--- /dev/null   Mon Apr 30 04:39:41 2018
+++ pkgsrc/converters/orcus/patches/patch-src_spreadsheet_sheet.cpp     Mon Apr 30 04:39:41 2018
@@ -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