# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= libvisio VERSION= 0.1.6 KEYWORDS= textproc devel VARIANTS= standard SDESC[standard]= Import filter and tools for MS Visio Diagrams HOMEPAGE= https://wiki.documentfoundation.org/DLP/Libraries/libvisio CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://dev-www.libreoffice.org/src/libvisio/ DISTFILE[1]= libvisio-0.1.6.tar.xz:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= gperf:single:standard boost-libraries:rest:python_default cppunit:single:standard BUILDRUN_DEPENDS= librevenge:single:standard icu:single:standard USES= perl:build pkgconfig gmake libtool GNOME_COMPONENTS= libxml2 LICENSE= MPL:single LICENSE_FILE= MPL:{{WRKSRC}}/COPYING.MPL LICENSE_SCHEME= solo FPC_EQUIVALENT= textproc/libvisio01 MUST_CONFIGURE= gnu CONFIGURE_ARGS= --disable-test --disable-werror --without-docs INSTALL_TARGET= install-strip SOVERSION= 1.0.6 PLIST_SUB= VER=0.1 [FILE:88:descriptions/desc.single] This package contains a library and tools for parsing the visio file format structure. [FILE:100:distinfo] fe1002d3671d53c09bc65e47ec948ec7b67e6fb112ed1cd10966e211a8bb50f9 676396 libvisio-0.1.6.tar.xz [FILE:257:manifests/plist.single] bin/ vsd2raw vsd2text vsd2xhtml vss2raw vss2text vss2xhtml include/libvisio-%%VER%%/libvisio/ VisioDocument.h libvisio.h lib/ libvisio-%%VER%%.so libvisio-%%VER%%.so.%%SOMAJOR%% libvisio-%%VER%%.so.%%SOVERSION%% lib/pkgconfig/libvisio-%%VER%%.pc [FILE:493:patches/patch-src__lib__VSDMetaData.cpp] --- 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); // 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