summarylogtreecommitdiffstats
path: root/troff_generator.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'troff_generator.c.patch')
-rw-r--r--troff_generator.c.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/troff_generator.c.patch b/troff_generator.c.patch
new file mode 100644
index 000000000000..1bd25116949a
--- /dev/null
+++ b/troff_generator.c.patch
@@ -0,0 +1,19 @@
+--- a/Source/troff_generator.c 2021-01-28 23:24:55.000000000 +0100
++++ b/Source/troff_generator.c 2024-02-16 16:30:54.120883223 +0100
+@@ -30,7 +30,7 @@
+ #include <ctype.h>
+
+ #include <sys/param.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+
+ #include "troff_generator.h"
+ #include "util.h"
+@@ -560,6 +560,6 @@
+ * SOURCE
+ */
+ {
+- fprintf( dest_doc, line_number_string );
++ fprintf( dest_doc, "%s", line_number_string );
+ }
+ /******/