index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-12-10 20:48:40 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-12-10 20:48:40 +0100 |
commit | 2c883080870940647f9f88a958975b9b94b0d308 (patch) | |
tree | 97cde659693f8927ff8cea18aa4f29d729548606 /extra/libpagemaker | |
parent | 17720a32f6b2b21ab19456b44b39e4038c222ec1 (diff) |
-rw-r--r-- | extra/libpagemaker/PKGBUILD | 12 | ||||
-rw-r--r-- | extra/libpagemaker/libpagemaker-0.0.4-const-ref-exception.patch | 21 |
diff --git a/extra/libpagemaker/PKGBUILD b/extra/libpagemaker/PKGBUILD new file mode 100644 index 00000000..0d36a47b --- /dev/null +++ b/extra/libpagemaker/PKGBUILD @@ -0,0 +1,12 @@ +# see FS#62165 + +source+=('libpagemaker-0.0.4-const-ref-exception.patch') +sha256sums+=('8f3209af685ddf8b825be587ea5529808f68f8f406f0525e1690d7937e7f663d') + +eval "$( + declare -f build | \ + sed ' + /configure/ i \ + patch -Np1 -i "$srcdir/libpagemaker-0.0.4-const-ref-exception.patch" \ + ' +)" diff --git a/extra/libpagemaker/libpagemaker-0.0.4-const-ref-exception.patch b/extra/libpagemaker/libpagemaker-0.0.4-const-ref-exception.patch new file mode 100644 index 00000000..5f1ae657 --- /dev/null +++ b/extra/libpagemaker/libpagemaker-0.0.4-const-ref-exception.patch @@ -0,0 +1,21 @@ +diff -rauN libpagemaker-0.0.4/src/lib/PMDParser.cpp libpagemaker-0.0.4-const-ref-exception-patch/src/lib/PMDParser.cpp +--- libpagemaker-0.0.4/src/lib/PMDParser.cpp 2018-01-08 13:27:29.000000000 +0100 ++++ libpagemaker-0.0.4-const-ref-exception-patch/src/lib/PMDParser.cpp 2019-12-10 20:32:26.167629754 +0100 +@@ -852,7 +852,7 @@ + *tocLength = readU16(m_input, m_bigEndian); + PMD_DEBUG_MSG(("[Header] TOC length is %d\n", *tocLength)); + } +- catch (PMDStreamException) ++ catch (const PMDStreamException&) + { + throw PMDParseException("Can't find the table of contents length in the header."); + } +@@ -862,7 +862,7 @@ + *tocOffset = readU32(m_input, m_bigEndian); + PMD_DEBUG_MSG(("[Header] TOC offset is 0x%x\n", *tocOffset)); + } +- catch (PMDStreamException) ++ catch (const PMDStreamException&) + { + throw PMDParseException("Can't find the table of contents offset in the header."); + } |