1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

print/texlive-base: Fix build with -fno-common

Fix the build of print/texlive-base when built with -fno-common, which is
the default with llvm 11.

MFH:		2020Q3
This commit is contained in:
Niclas Zeising 2020-08-19 17:11:52 +00:00
parent 0c68a576e0
commit 617898bbf4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545441

View File

@ -0,0 +1,12 @@
--- texk/ttf2pk2/pklib.c.orig 2013-07-01 08:05:31.000000000 +0000
+++ texk/ttf2pk2/pklib.c 2020-08-19 13:23:37.764387000 +0000
@@ -64,8 +64,8 @@
#define PK_POST (char)245
#define PK_NOP (char)246
-int dpi;
+extern int dpi;
FILE *pk_file;