aboutsummaryrefslogtreecommitdiff
path: root/textproc/heirloom-doctools/patch-alen
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/heirloom-doctools/patch-alen')
-rw-r--r--textproc/heirloom-doctools/patch-alen19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/heirloom-doctools/patch-alen b/textproc/heirloom-doctools/patch-alen
new file mode 100644
index 0000000..fa76aee
--- /dev/null
+++ b/textproc/heirloom-doctools/patch-alen
@@ -0,0 +1,19 @@
+$NetBSD
+
+Fix "abuff not big enough".
+
+(It is ironic that this isn't fixed in pkgsrc already, because
+pkgsrc puts heirloom-doctools in a directory with a very long
+path name.)
+
+--- refer/glue3.c.orig 2021-07-04 01:54:12.754175543 +0200
++++ refer/glue3.c
+@@ -74,7 +74,7 @@ corout(char *in, char *out, char *rprog, char *arg, int outlen)
+ return 0;
+ }
+
+-# define ALEN 50
++# define ALEN 100
+
+ int
+ callhunt(char *in, char *out, char *arg, int outlen)