freebsd-ports/biology/ncbi-vdb/files/patch-test_klib_printf-test.c
Yuri Victorovich d55fba431a New port: biology/ncbi-vdb: NCBI's virtualized back-end for accessing Sequence Read Archive
PR:		223273
Submitted by:	Motomichi Matsuzaki <mzaki@niid.go.jp> (original version)
2021-04-12 02:29:42 -07:00

11 lines
547 B
C

--- test/klib/printf-test.c.orig 2019-08-20 18:27:10 UTC
+++ test/klib/printf-test.c
@@ -503,7 +503,7 @@ rc_t run ( const char *progname )
if ( rc == 0 )
{
rc = make_initial_test ( field_width, precision, " ", "s", "Kurt is having a fit" );
-#if !defined(__SunOS) && !defined(__sun__)
+#if !defined(__SunOS) && !defined(__sun__) && !defined(__FreeBSD__)
/* Solaris printf doesn't cope with NULLs */
rc = make_initial_test ( field_width, precision, " ", "s", NULL );
#endif