summaryrefslogtreecommitdiff
path: root/print/a2ps/files/patch-parseppd.y
diff options
context:
space:
mode:
Diffstat (limited to 'print/a2ps/files/patch-parseppd.y')
-rw-r--r--print/a2ps/files/patch-parseppd.y11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/a2ps/files/patch-parseppd.y b/print/a2ps/files/patch-parseppd.y
new file mode 100644
index 000000000000..06b0121eb1dc
--- /dev/null
+++ b/print/a2ps/files/patch-parseppd.y
@@ -0,0 +1,11 @@
+--- lib/parseppd.y.orig 1999-12-16 01:00:13 UTC
++++ lib/parseppd.y
+@@ -154,7 +154,7 @@ font_clause :
+ void
+ yyerror (const char *msg)
+ {
+- error_at_line (1, 0, ppdfilename, ppdlineno, msg);
++ error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg);
+ }
+
+ /*