1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= textproc devel
7 SDESC[standard]= Import filter and tools for MS Visio Diagrams
8 HOMEPAGE= https://wiki.documentfoundation.org/DLP/Libraries/libvisio
12 SITES[main]= https://dev-www.libreoffice.org/src/libvisio/
13 DISTFILE[1]= libvisio-0.1.6.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= gperf:single:standard
21 boost-libraries:rest:python_default
22 cppunit:single:standard
23 BUILDRUN_DEPENDS= librevenge:single:standard
26 USES= perl:build pkgconfig gmake libtool
27 GNOME_COMPONENTS= libxml2
30 LICENSE_FILE= MPL:{{WRKSRC}}/COPYING.MPL
33 FPC_EQUIVALENT= textproc/libvisio01
36 CONFIGURE_ARGS= --disable-test
40 INSTALL_TARGET= install-strip
44 [FILE:88:descriptions/desc.single]
45 This package contains a library and tools for parsing the visio file
51 fe1002d3671d53c09bc65e47ec948ec7b67e6fb112ed1cd10966e211a8bb50f9 676396 libvisio-0.1.6.tar.xz
54 [FILE:257:manifests/plist.single]
62 include/libvisio-%%VER%%/libvisio/
67 libvisio-%%VER%%.so.%%SOMAJOR%%
68 libvisio-%%VER%%.so.%%SOVERSION%%
69 lib/pkgconfig/libvisio-%%VER%%.pc
72 [FILE:493:patches/patch-src__lib__VSDMetaData.cpp]
73 --- src/lib/VSDMetaData.cpp.orig 2015-07-25 07:17:57 UTC
74 +++ src/lib/VSDMetaData.cpp
75 @@ -302,7 +302,7 @@ bool libvisio::VSDMetaData::parseTimes(l
76 uint32_t firstDirSectorLocation = readU32(input);
78 // Seek to the Root Directory Entry
79 - size_t sectorSize = std::pow(2, sectorShift);
80 + size_t sectorSize = 1UL << sectorShift;
81 input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET);
82 // DirectoryEntryName: 64 bytes
83 // DirectoryEntryNameLength: 2 bytes