mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
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
18 lines
347 B
C
18 lines
347 B
C
--- src/ash/output.c.orig 2012-07-17 22:30:18 UTC
|
|
+++ src/ash/output.c
|
|
@@ -230,6 +230,7 @@ out1fmt(const char *fmt, ...)
|
|
va_end(ap);
|
|
}
|
|
|
|
+#if 0
|
|
void
|
|
dprintf(const char *fmt, ...)
|
|
{
|
|
@@ -240,6 +241,7 @@ dprintf(const char *fmt, ...)
|
|
va_end(ap);
|
|
flushout(out2);
|
|
}
|
|
+#endif
|
|
|
|
void
|
|
fmtstr(char *outbuf, size_t length, const char *fmt, ...)
|