summaryrefslogtreecommitdiff
path: root/sysutils/9base/patches/patch-awk-proto.h
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-08-04 11:37:58 +0000
committerjoerg <joerg@pkgsrc.org>2011-08-04 11:37:58 +0000
commit7947d57875f90f1ffc40cf6b1603b2876c779a6f (patch)
tree2330855edd5c7c32fc2469987815dca6dc2eaa96 /sysutils/9base/patches/patch-awk-proto.h
parentce33fc669b00d27614e0d3ab9a930d3a2ad35dd6 (diff)
downloadpkgsrc-7947d57875f90f1ffc40cf6b1603b2876c779a6f.tar.gz
Fix getline usage.
Diffstat (limited to 'sysutils/9base/patches/patch-awk-proto.h')
-rw-r--r--sysutils/9base/patches/patch-awk-proto.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/9base/patches/patch-awk-proto.h b/sysutils/9base/patches/patch-awk-proto.h
new file mode 100644
index 00000000000..a572298c061
--- /dev/null
+++ b/sysutils/9base/patches/patch-awk-proto.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-awk-proto.h,v 1.1 2011/08/04 11:37:59 joerg Exp $
+
+--- awk/proto.h.orig 2011-08-03 11:53:03.000000000 +0000
++++ awk/proto.h
+@@ -131,7 +131,7 @@ extern Cell *call(Node **, int);
+ extern Cell *copycell(Cell *);
+ extern Cell *arg(Node **, int);
+ extern Cell *jump(Node **, int);
+-extern Cell *getline(Node **, int);
++extern Cell *my_getline(Node **, int);
+ extern Cell *getnf(Node **, int);
+ extern Cell *array(Node **, int);
+ extern Cell *awkdelete(Node **, int);