libpgf: fix build with gcc>=11
This commit is contained in:
parent
4ec55bd532
commit
4b49d571de
|
@ -2,16 +2,18 @@
|
|||
pkgname=libpgf
|
||||
version=6.14.12
|
||||
revision=3
|
||||
wrksrc="$pkgname"
|
||||
wrksrc="libpgf"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool"
|
||||
short_desc="Library for working with PGF (Progresive Graphics File) images"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="http://www.libpgf.org"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}-latest/${pkgname}-src-${version}.tar.gz"
|
||||
distfiles="${SOURCEFORGE_SITE}/libpgf/libpgf/${version}-latest/libpgf-src-${version}.tar.gz"
|
||||
checksum=bda5995d80762966a25fca3f6a9821f4458657aa87d8631c014c166ae09258eb
|
||||
|
||||
export CXXFLAGS="-std=c++14"
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's/\r//g' configure.ac
|
||||
./autogen.sh
|
||||
|
|
Loading…
Reference in New Issue