mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 00:20:40 -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
15 lines
427 B
C
15 lines
427 B
C
--- src/kmk/kmkbuiltin/test.c.orig 2012-07-17 22:30:16 UTC
|
|
+++ src/kmk/kmkbuiltin/test.c
|
|
@@ -201,7 +201,11 @@ extern void *xmalloc(unsigned int sz)
|
|
}
|
|
#endif
|
|
|
|
-int kmk_builtin_test(int argc, char **argv, char **envp, char ***ppapszArgvSpawn)
|
|
+int kmk_builtin_test(int argc, char **argv, char **envp
|
|
+#ifndef kmk_builtin_test
|
|
+ , char ***ppapszArgvSpawn
|
|
+#endif
|
|
+ )
|
|
{
|
|
int res;
|
|
char **argv_spawn;
|