aboutsummaryrefslogtreecommitdiff
path: root/dns/fastresolve
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-25 15:46:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-25 15:46:07 +0000
commit5055e5aee5e0b3c8a3654b5318a2575d9fc53be0 (patch)
tree3fb4721073b3e0ac19a65e6063cbf3747c36805d /dns/fastresolve
parent09bc6e62037d0a457a54dee9279858846b4b2171 (diff)
downloadports-5055e5aee5e0b3c8a3654b5318a2575d9fc53be0.tar.gz
ports-5055e5aee5e0b3c8a3654b5318a2575d9fc53be0.zip
Notes
Diffstat (limited to 'dns/fastresolve')
-rw-r--r--dns/fastresolve/files/patch-dns-terror_getline.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/dns/fastresolve/files/patch-dns-terror_getline.c b/dns/fastresolve/files/patch-dns-terror_getline.c
new file mode 100644
index 000000000000..fa273a133c32
--- /dev/null
+++ b/dns/fastresolve/files/patch-dns-terror_getline.c
@@ -0,0 +1,24 @@
+--- dns-terror/getline.c.orig 2009-03-25 02:34:45.000000000 -0400
++++ dns-terror/getline.c 2009-03-25 02:38:48.000000000 -0400
+@@ -26,6 +26,7 @@
+ is defined. */
+ #define _GNU_SOURCE 1
+ #include <stdio.h>
++#include <sys/param.h>
+ #include <sys/types.h>
+
+ #if defined __GNU_LIBRARY__ && HAVE_GETDELIM
+@@ -134,6 +135,7 @@
+ return ret;
+ }
+
++#if __FreeBSD_version < 800067
+ int
+ getline (lineptr, n, stream)
+ char **lineptr;
+@@ -152,4 +154,5 @@
+ {
+ return getstr (lineptr, n, stream, delimiter, 0);
+ }
++#endif /* __FreeBSD_version < 800067 */
+ #endif