# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= libvisio VERSION= 0.1.10 KEYWORDS= textproc devel VARIANTS= std SDESC[std]= 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.10.tar.xz:main DF_INDEX= 1 SPKGS[std]= set primary dev tools OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= gperf:primary:std boost-libraries:dev:std cppunit:single:std icu:dev:std librevenge:dev:std BUILDRUN_DEPENDS= librevenge:primary:std icu:primary:std EXRUN[tools]= primary USES= perl:build pkgconfig gmake libtool GNOME_COMPONENTS= libxml2 LICENSE= MPL:primary 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.10 PLIST_SUB= VER=0.1 [FILE:88:descriptions/desc.primary] This package contains a library and tools for parsing the visio file format structure. [FILE:59:descriptions/desc.tools] This package contains tools based on the libvisio library. [FILE:101:distinfo] 9e9eff75112d4d92d92262ad7fc2599c21e26f8fc5ba54900efdc83c0501e472 2041876 libvisio-0.1.10.tar.xz [FILE:73:manifests/plist.primary] lib/ libvisio-%%VER%%.so.%%SOMAJOR%% libvisio-%%VER%%.so.%%SOVERSION%% [FILE:122:manifests/plist.dev] lib/pkgconfig/libvisio-%%VER%%.pc include/libvisio-%%VER%%/libvisio/ VisioDocument.h libvisio.h lib/libvisio-%%VER%%.so [FILE:65:manifests/plist.tools] bin/ vsd2raw vsd2text vsd2xhtml vss2raw vss2text vss2xhtml [FILE:493:patches/patch-src__lib__VSDMetaData.cpp] --- src/lib/VSDMetaData.cpp.orig 2024-10-22 15:15:20 UTC +++ src/lib/VSDMetaData.cpp @@ -313,7 +313,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