summaryrefslogtreecommitdiffstats
path: root/groff-1.18.1.1-bigendian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'groff-1.18.1.1-bigendian.patch')
-rw-r--r--groff-1.18.1.1-bigendian.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/groff-1.18.1.1-bigendian.patch b/groff-1.18.1.1-bigendian.patch
new file mode 100644
index 0000000..1e3998b
--- /dev/null
+++ b/groff-1.18.1.1-bigendian.patch
@@ -0,0 +1,11 @@
+--- groff-1.18.1.1/src/libs/libdriver/input.cc.orig 2006-01-10 11:11:36.000000000 +0100
++++ groff-1.18.1.1/src/libs/libdriver/input.cc 2006-01-10 11:11:52.000000000 +0100
+@@ -1786,7 +1786,7 @@
+ if (npages <= 0)
+ fatal_command(command);
+ char *str_arg = get_string_arg();
+- size_t i = 0;
++ int i = 0;
+ while ((c = str_arg[i++]) != '\0') {
+ EnvInt w;
+ #ifdef ENABLE_MULTIBYTE