Modified: trunk/dports/devel/libedit/files/configure.patch (149806 => 149807)
--- trunk/dports/devel/libedit/files/configure.patch 2016-06-30 11:03:53 UTC (rev 149806)
+++ trunk/dports/devel/libedit/files/configure.patch 2016-06-30 11:24:13 UTC (rev 149807)
@@ -1,6 +1,14 @@
--- configure.orig 2016-06-18 22:35:29.000000000 +1000
-+++ configure 2016-06-30 18:41:02.000000000 +1000
-@@ -13623,6 +13623,23 @@
++++ configure 2016-06-30 21:15:07.000000000 +1000
+@@ -640,6 +640,7 @@
+ HAVE_STRLCAT_TRUE
+ HAVE_STRLCPY_FALSE
+ HAVE_STRLCPY_TRUE
++HAVE_GETLINE_FALSE
+ LIBOBJS
+ ENABLE_EXAMPLES_FALSE
+ ENABLE_EXAMPLES_TRUE
+@@ -13623,6 +13624,23 @@
fi
Modified: trunk/dports/devel/libedit/files/getline.c (149806 => 149807)
--- trunk/dports/devel/libedit/files/getline.c 2016-06-30 11:03:53 UTC (rev 149806)
+++ trunk/dports/devel/libedit/files/getline.c 2016-06-30 11:24:13 UTC (rev 149807)
@@ -30,7 +30,7 @@
}
for (i=0; ; i++) {
- ch = fgetc(stream);
+ ch = fgetc(fp);
while (i >= (*n) - 2) {
*n *= 2;
p = realloc(*lineptr, sizeof(char) * (*n));