# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= libvisio VERSION= 0.1.7 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.7.tar.xz:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= gperf:primary:standard boost-libraries:dev:standard cppunit:single:standard icu:dev:standard librevenge:dev:standard BUILDRUN_DEPENDS= librevenge:primary:standard icu:primary:standard USES= perl:build pkgconfig gmake libtool mbsdfix 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.7 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] 8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c 854296 libvisio-0.1.7.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 2017-10-21 14:38:56 UTC +++ src/lib/VSDMetaData.cpp @@ -312,7 +312,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