summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch')
-rw-r--r--app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch b/app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch
new file mode 100644
index 000000000000..74678208a240
--- /dev/null
+++ b/app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch
@@ -0,0 +1,21 @@
+--- a/pklib.c
++++ b/pklib.c
+@@ -64,8 +64,6 @@
+ #define PK_POST (char)245
+ #define PK_NOP (char)246
+
+-int dpi;
+-
+ FILE *pk_file;
+
+
+--- a/pklib.h
++++ b/pklib.h
+@@ -13,6 +13,7 @@
+
+ typedef unsigned char byte;
+
++extern int dpi;
+
+ void TFMopen(char **filename);
+