Closes: https://bugs.gentoo.org/706838
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
--- /dev/null
+--- a/libpng/pngtclDecls.h 2020-04-13 20:16:18.542559383 +0200
++++ b/libpng/pngtclDecls.h 2020-04-13 20:16:33.921314336 +0200
+@@ -1369,6 +1369,8 @@
+
+ #ifdef __cplusplus
+ extern "C" {
++#else
++extern
+ #endif
+ PNG_IMPEXP const PngtclStubs *pngtclStubsPtr;
+ #ifdef __cplusplus
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
"${WORKDIR}"/${PN}-1.4.7-png.patch
"${WORKDIR}"/${PN}-1.4.7-tiff.patch
"${FILESDIR}"/${PN}-1.4-jpeg-9.patch
+ "${FILESDIR}"/${P}-fno-common.patch
)
src_prepare() {