diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-19 17:11:52 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-19 17:11:52 +0000 |
commit | 617898bbf4dbdee7f670a39dbe1af7f8251280cc (patch) | |
tree | fe307458ae98fe375d3d01ba16a40ae9b682dcd7 /print | |
parent | 0c68a576e0847607e8a94a3beb6acbf11c02fdd2 (diff) | |
download | ports-617898bbf4dbdee7f670a39dbe1af7f8251280cc.tar.gz ports-617898bbf4dbdee7f670a39dbe1af7f8251280cc.zip |
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
Notes
Notes:
svn path=/head/; revision=545441
Diffstat (limited to 'print')
-rw-r--r-- | print/texlive-base/files/patch-texk_ttf2pk2_pklib.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/print/texlive-base/files/patch-texk_ttf2pk2_pklib.c b/print/texlive-base/files/patch-texk_ttf2pk2_pklib.c new file mode 100644 index 000000000000..a6e082492d04 --- /dev/null +++ b/print/texlive-base/files/patch-texk_ttf2pk2_pklib.c @@ -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; + + |