Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2015 23:59:26 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393927 - in head/textproc/libvisio01: . files
Message-ID:  <201508102359.t7ANxQGr010537@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Mon Aug 10 23:59:25 2015
New Revision: 393927
URL: https://svnweb.freebsd.org/changeset/ports/393927

Log:
  Update to 0.1.3.

Modified:
  head/textproc/libvisio01/Makefile
  head/textproc/libvisio01/distinfo
  head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp
  head/textproc/libvisio01/pkg-plist

Modified: head/textproc/libvisio01/Makefile
==============================================================================
--- head/textproc/libvisio01/Makefile	Mon Aug 10 23:41:34 2015	(r393926)
+++ head/textproc/libvisio01/Makefile	Mon Aug 10 23:59:25 2015	(r393927)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	libvisio
-PORTVERSION=	0.1.1
-PORTREVISION=	1
+PORTVERSION=	0.1.3
 CATEGORIES=	textproc devel
 MASTER_SITES=	http://dev-www.libreoffice.org/src/${PORTNAME}/
 PKGNAMESUFFIX=	01

Modified: head/textproc/libvisio01/distinfo
==============================================================================
--- head/textproc/libvisio01/distinfo	Mon Aug 10 23:41:34 2015	(r393926)
+++ head/textproc/libvisio01/distinfo	Mon Aug 10 23:59:25 2015	(r393927)
@@ -1,2 +1,2 @@
-SHA256 (libvisio-0.1.1.tar.xz) = 4b510168d1465516fdf6e57c01e2f9eae1fc0ae232c74e44e70693bbc49227f1
-SIZE (libvisio-0.1.1.tar.xz) = 412752
+SHA256 (libvisio-0.1.3.tar.xz) = 943e03b1e6c969af4c2133a6671c9630adf3aaf8d460156744a28f58c9f47cd8
+SIZE (libvisio-0.1.3.tar.xz) = 479592

Modified: head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp
==============================================================================
--- head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp	Mon Aug 10 23:41:34 2015	(r393926)
+++ head/textproc/libvisio01/files/patch-src__lib__VSDMetaData.cpp	Mon Aug 10 23:59:25 2015	(r393927)
@@ -1,11 +1,11 @@
---- src/lib/VSDMetaData.cpp.orig	2015-01-01 16:11:45.000000000 -0500
-+++ src/lib/VSDMetaData.cpp	2015-02-02 17:20:34.953039000 -0500
-@@ -226,7 +226,7 @@
-   uint64_t modifiedTime = readU64(input);
+--- src/lib/VSDMetaData.cpp.orig	2015-07-25 07:17:57 UTC
++++ src/lib/VSDMetaData.cpp
+@@ -302,7 +302,7 @@ bool libvisio::VSDMetaData::parseTimes(l
+   uint32_t firstDirSectorLocation = readU32(input);
  
-   // modifiedTime is number of 100ns since Jan 1 1601
--  static const uint64_t epoch = 11644473600;
-+  static const uint64_t epoch = 11644473600ULL;
-   time_t sec = (modifiedTime / 10000000) - epoch;
-   const struct tm *time = localtime(&sec);
-   if (time)
+   // Seek to the Root Directory Entry
+-  size_t sectorSize = std::pow(2, sectorShift);
++  size_t sectorSize = 1UL << sectorShift;
+   input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET);
+   // DirectoryEntryName: 64 bytes
+   // DirectoryEntryNameLength: 2 bytes

Modified: head/textproc/libvisio01/pkg-plist
==============================================================================
--- head/textproc/libvisio01/pkg-plist	Mon Aug 10 23:41:34 2015	(r393926)
+++ head/textproc/libvisio01/pkg-plist	Mon Aug 10 23:59:25 2015	(r393927)
@@ -8,5 +8,5 @@ include/libvisio-0.1/libvisio/VisioDocum
 include/libvisio-0.1/libvisio/libvisio.h
 lib/libvisio-0.1.so
 lib/libvisio-0.1.so.1
-lib/libvisio-0.1.so.1.0.1
+lib/libvisio-0.1.so.1.0.3
 libdata/pkgconfig/libvisio-0.1.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508102359.t7ANxQGr010537>