summaryrefslogtreecommitdiff
path: root/print/a2ps/files/patch-psgen.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2022-02-15 11:02:17 +0100
committerDirk Meyer <dinoex@FreeBSD.org>2022-02-15 11:06:38 +0100
commitfad4eb7443e31d577c4d3ea25b19ce2261eb35aa (patch)
tree3afd31c607a066a89a8ccc3ee39853f735467b6f /print/a2ps/files/patch-psgen.c
parentnet-mgmt/victoria-metrics: update VictoriaMetrics to version 1.73.0 (diff)
print/a2ps: add more patches
Diffstat (limited to 'print/a2ps/files/patch-psgen.c')
-rw-r--r--print/a2ps/files/patch-psgen.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/a2ps/files/patch-psgen.c b/print/a2ps/files/patch-psgen.c
new file mode 100644
index 000000000000..2007d9c4596d
--- /dev/null
+++ b/print/a2ps/files/patch-psgen.c
@@ -0,0 +1,11 @@
+--- lib/psgen.c.orig 2000-01-15 23:15:07 UTC
++++ lib/psgen.c
+@@ -232,7 +232,7 @@ output_marker (a2ps_job * job, const char * kind, ucha
+ default:
+ *buf = '\0';
+ ps_escape_char (job, cp[i], buf);
+- output (jdiv, (char *) buf);
++ output (jdiv, "%s", (char *) buf);
+ break;
+ }
+ }