summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch')
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4.9-fno-common.patch11
1 files changed, 11 insertions, 0 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