summaryrefslogtreecommitdiff
path: root/sysutils/cdrkit/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrkit/patches/patch-ah')
-rw-r--r--sysutils/cdrkit/patches/patch-ah22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/cdrkit/patches/patch-ah b/sysutils/cdrkit/patches/patch-ah
new file mode 100644
index 00000000000..8634d8534c3
--- /dev/null
+++ b/sysutils/cdrkit/patches/patch-ah
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.1 2009/06/07 22:02:24 hasso Exp $
+
+--- readom/io.c.orig
++++ readom/io.c
+@@ -130,7 +130,7 @@ BOOL getvalue(char *s, long *lp, long mi
+ (*prt)(s, *lp, mini, maxi, dp);
+ flush();
+ line[0] = '\0';
+- if (getline(line, 80) == EOF)
++ if (get_line(line, 80) == EOF)
+ exit(EX_BAD);
+
+ linep = skipwhite(line);
+@@ -178,7 +178,7 @@ again:
+ vprintf(form, args);
+ va_end(args);
+ flush();
+- if (getline(okbuf, sizeof(okbuf)) == EOF)
++ if (get_line(okbuf, sizeof(okbuf)) == EOF)
+ exit(EX_BAD);
+ if (okbuf[0] == '?') {
+ printf("Enter 'y', 'Y', 'yes' or 'YES' if you agree with the previous asked question.\n");