freebsd-ports/devel/kBuild/files/patch-src_sed_lib_getline.c
Baptiste Daroussin 5b3b8a4526 Fix build with clang, dprintf(3), getline(3)
Grab patch from upstream to fix build with clang
Grab patch from gentoo to fix build with dprintf
Make the build respect MAKE_ENV
Pass _WITH_GETLINE and _WITH_DPRINTF to ensure using the version from libc
Make the build respect CFLAGS
2016-07-31 16:12:38 +00:00

11 lines
278 B
C

--- src/sed/lib/getline.c.orig 2012-07-17 22:30:18 UTC
+++ src/sed/lib/getline.c
@@ -31,7 +31,7 @@
null terminator), or -1 on error or EOF. */
size_t
-getline (lineptr, n, stream)
+get_line (lineptr, n, stream)
char **lineptr;
size_t *n;
FILE *stream;