libmwaw: update to 0.3.12.

Closes: #7110 [via git-merge-pr]
This commit is contained in:
bra1nwave 2017-07-22 08:01:18 +02:00 committed by Michael Gehring
parent 6bb03f2006
commit 38dea84e3a
2 changed files with 3 additions and 14 deletions

View File

@ -1,11 +0,0 @@
--- src/lib/MsWrd1Parser.cxx
+++ src/lib/MsWrd1Parser.cxx
@@ -902,7 +902,7 @@
int id = fIt++->second;
fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first;
if (id >= int(m_state->m_footnotesList.size()))
- m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0));
+ m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0));
m_state->m_footnotesList[size_t(id)]=fPos;
}
ascii().addDelimiter(input->tell(),'|');

View File

@ -1,7 +1,7 @@
# Template file for 'libmwaw'
pkgname=libmwaw
version=0.3.11
revision=2
version=0.3.12
revision=1
build_style=gnu-configure
configure_args="--disable-werror"
hostmakedepends="pkg-config doxygen"
@ -11,7 +11,7 @@ maintainer="bra1nwave <brainwave@openmailbox.org>"
license="LGPL-2.1, MPL-2"
homepage="https://sourceforge.net/projects/libmwaw/"
distfiles="${SOURCEFORGE_SITE}/libmwaw/libmwaw/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=4b483a196bbe82bc0f7cb4cdf70ef1cedb91139bd2e037eabaed4a4d6ed2299a
checksum=7691a6e6e7221d61c40e3f630a8907e3e516b99a587e47d09ec53f8ac60ed1e7
libmwaw-devel_package() {
short_desc+=" - development files"