png++: update to 0.2.10

This commit is contained in:
Alex Childs 2019-10-01 19:13:36 -07:00 committed by Helmut Pozimski
parent 5cfdc7c190
commit 6e7b6cc469
2 changed files with 2 additions and 13 deletions

View File

@ -1,11 +0,0 @@
--- error.hpp 2015-10-25 20:42:45.000000000 +0100
+++ - 2018-11-07 12:49:36.093450988 +0100
@@ -100,7 +100,7 @@
strerror_s(buf, ERRBUF_SIZE, errnum);
return std::string(buf);
#else
-#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE
+#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE) || !defined(__GLIBC__)
strerror_r(errnum, buf, ERRBUF_SIZE);
return std::string(buf);
#else

View File

@ -1,6 +1,6 @@
# Template file for 'png++'
pkgname=png++
version=0.2.9
version=0.2.10
revision=1
build_style=gnu-makefile
make_build_target="docs"
@ -12,7 +12,7 @@ maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="BSD-3-Clause"
homepage="https://www.nongnu.org/pngpp"
distfiles="${NONGNU_SITE}/pngpp/${pkgname}-${version}.tar.gz"
checksum=abbc6a0565122b6c402d61743451830b4faee6ece454601c5711e1c1b4238791
checksum=998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1
post_install() {
vlicense COPYING