head 1.2; access; symbols pkgsrc-2017Q4:1.1.0.22 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.20 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.16 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.14 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.12 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.10 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.8 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.6 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.4 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2018.01.10.10.17.05; author wiz; state dead; branches; next 1.1; commitid IWDSIOlH3VPaAjmA; 1.1 date 2015.08.25.08.15.18; author richard; state Exp; branches; next ; commitid pD5ATuJTiKliQCyy; desc @@ 1.2 log @libmspub: update to 0.1.3. libmspub 0.1.3 - Workaround a build error on some 32-bit systems. - Parse table row and column sizes. (tdf#89061) - Fix various problems when parsing broken files, found with the help of american-fuzzy-lop and oss-fuzz. - Make the output of pub2foo --help more compatible with help2man. - Extract more metadata from documents. - Require C++11 for build. - Drop outdated MSVC project files. - Handle table cells containing multiple paragraphs correctly. (tdf#89393) - Parse more text formatting attributes: all underline types, small caps, all caps, outline, emboss, engrave, shadow. - Parse text language. - Various minor changes and improvements. @ text @$NetBSD: patch-src_lib_MSPUBMetaData.cpp,v 1.1 2015/08/25 08:15:18 richard Exp $ use std::pow in order to avoid: call of overloaded 'pow(int, uint16_t&)' is ambiguous --- src/lib/MSPUBMetaData.cpp.orig 2014-12-30 11:42:44.000000000 +0000 +++ src/lib/MSPUBMetaData.cpp @@@@ -194,7 +194,7 @@@@ bool libmspub::MSPUBMetaData::parseTimes uint32_t firstDirSectorLocation = readU32(input); // Seek to the Root Directory Entry - size_t sectorSize = pow(2, sectorShift); + size_t sectorSize = std::pow(2, sectorShift); input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET); // DirectoryEntryName: 64 bytes // DirectoryEntryNameLength: 2 bytes @ 1.1 log @use std::pow in order to avoid being ambiguous (on SunOS anyway) @ text @d1 1 a1 1 $NetBSD$ @