libpagemaker: fix build with gcc-8.2.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
b1060b2917
commit
609761db71
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ homepage="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
|
||||||
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d
|
checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d
|
||||||
|
|
||||||
|
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then
|
||||||
|
CXXFLAGS+=" -Wno-catch-value"
|
||||||
|
fi
|
||||||
|
|
||||||
libpagemaker-devel_package() {
|
libpagemaker-devel_package() {
|
||||||
depends="libpagemaker>=${version}_${revision} librevenge-devel"
|
depends="libpagemaker>=${version}_${revision} librevenge-devel"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in a new issue