diff options
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch | 11 | ||||
-rw-r--r-- | dev-tcltk/tkimg/tkimg-1.4.9.ebuild | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch b/dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch new file mode 100644 index 00000000000..307dfe31437 --- /dev/null +++ b/dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch @@ -0,0 +1,11 @@ +--- 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 diff --git a/dev-tcltk/tkimg/tkimg-1.4.9.ebuild b/dev-tcltk/tkimg/tkimg-1.4.9.ebuild index d2c7d256208..e5bccdee84c 100644 --- a/dev-tcltk/tkimg/tkimg-1.4.9.ebuild +++ b/dev-tcltk/tkimg/tkimg-1.4.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -42,6 +42,7 @@ PATCHES=( "${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() { |