summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-lib::pkfont.c
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2012-11-30 14:02:19 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2012-11-30 14:02:19 +0000
commitce09d1b4b31551ef0c9cb8e39129ada9d44dba96 (patch)
tree35827919eaf72f61ed17c981d73f9e0bbd1278da /print/dviselect/files/patch-lib::pkfont.c
parent- Fix the code instead of suppressing the compiler error (diff)
- Fix build with clang
Feature safe: yes
Diffstat (limited to 'print/dviselect/files/patch-lib::pkfont.c')
-rw-r--r--print/dviselect/files/patch-lib::pkfont.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/print/dviselect/files/patch-lib::pkfont.c b/print/dviselect/files/patch-lib::pkfont.c
index a5f4853384d5..a3eeab64fca6 100644
--- a/print/dviselect/files/patch-lib::pkfont.c
+++ b/print/dviselect/files/patch-lib::pkfont.c
@@ -1,5 +1,14 @@
---- lib/pkfont.c.orig Wed Nov 15 13:19:52 1989
-+++ lib/pkfont.c Wed Dec 13 23:01:34 2006
+--- lib/pkfont.c.orig 1989-11-15 13:19:52.000000000 +0100
++++ lib/pkfont.c 2012-11-30 14:59:23.000000000 +0100
+@@ -183,7 +183,7 @@
+ /*
+ * Skip over special commands (PK_XXX?, PK_YYY).
+ */
+-static
++static void
+ skip_specials(f)
+ struct font *f;
+ {
@@ -781,8 +781,8 @@
if (pk != NULL) {
free(pk->pk_base); pk -> pk_base = 0;