mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
libpagemaker: build with newer boost
This commit is contained in:
@@ -8,9 +8,10 @@ COPYRIGHT="2013-2014, 2017 Fridrich Štrba
|
|||||||
2014 Brennan Vincent
|
2014 Brennan Vincent
|
||||||
2014-2018 David Tardon"
|
2014-2018 David Tardon"
|
||||||
LICENSE="MPL v2.0"
|
LICENSE="MPL v2.0"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-$portVersion.tar.xz"
|
SOURCE_URI="https://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-$portVersion.tar.xz"
|
||||||
CHECKSUM_SHA256="66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d"
|
CHECKSUM_SHA256="66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d"
|
||||||
|
PATCHES="libpagemaker-$portVersion.patchset"
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
@@ -51,7 +52,7 @@ REQUIRES_devel="
|
|||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
devel:libboost_system$secondaryArchSuffix
|
devel:libboost_system$secondaryArchSuffix >= 1.69.0
|
||||||
devel:librevenge_0.0$secondaryArchSuffix
|
devel:librevenge_0.0$secondaryArchSuffix
|
||||||
devel:libz$secondaryArchSuffix
|
devel:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|||||||
31
media-libs/libpagemaker/patches/libpagemaker-0.0.4.patchset
Normal file
31
media-libs/libpagemaker/patches/libpagemaker-0.0.4.patchset
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
From 87b6afa177096ffeea16eef401208c99dd6a2f9e Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Tardon <dtardon@redhat.com>
|
||||||
|
Date: Thu Feb 01 16:48:35 2018 +0100
|
||||||
|
Subject: WaE: catching polymorphic type by value
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/lib/PMDParser.cpp b/src/lib/PMDParser.cpp
|
||||||
|
index 481f6bf..d5378f2 100644
|
||||||
|
--- a/src/lib/PMDParser.cpp
|
||||||
|
+++ b/src/lib/PMDParser.cpp
|
||||||
|
@@ -852,7 +852,7 @@ void PMDParser::parseHeader(uint32_t *tocOffset, uint16_t *tocLength)
|
||||||
|
*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 @@ void PMDParser::parseHeader(uint32_t *tocOffset, uint16_t *tocLength)
|
||||||
|
*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.");
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
Reference in New Issue
Block a user