summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk2
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ttf2pk2')
-rw-r--r--Build/source/texk/ttf2pk2/ChangeLog5
-rw-r--r--Build/source/texk/ttf2pk2/pklib.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/ttf2pk2/ChangeLog b/Build/source/texk/ttf2pk2/ChangeLog
index fd892ef5643..0beb283f9a0 100644
--- a/Build/source/texk/ttf2pk2/ChangeLog
+++ b/Build/source/texk/ttf2pk2/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-16 Karl Berry <karl@tug.org>
+
+ * pklib.c (dpi): declare extern, as also defined in ftlib.c,
+ to appease -fno-common.
+
2015-07-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Better dependencies for 'make check'.
diff --git a/Build/source/texk/ttf2pk2/pklib.c b/Build/source/texk/ttf2pk2/pklib.c
index 49f64601729..bce45f2afda 100644
--- a/Build/source/texk/ttf2pk2/pklib.c
+++ b/Build/source/texk/ttf2pk2/pklib.c
@@ -6,6 +6,9 @@
* Copyright 1997-1999, 2000 by
* Frederic Loyer <loyer@ensta.fr>
* Werner Lemberg <wl@gnu.org>
+ *
+ * Trivial declaration change in 2020 by
+ * Karl Berry <tex-live@tug.org>
*/
/*
@@ -64,7 +67,7 @@
#define PK_POST (char)245
#define PK_NOP (char)246
-int dpi;
+extern int dpi; /* defined in ftlib.c, avoiding -fno-common failure */
FILE *pk_file;