pick: Update from 2.0.1 to 2.0.2
[termux-packages] / packages / perl / cnf-configure_func.sh.patch
CommitLineData
6174988f
FF
1With unified headers "vprintf(NULL,0)" fails to compile with clang
2since the second argument should be a va_list.
3
4diff -u -r ../src-orig/cnf/configure_func.sh ./cnf/configure_func.sh
5--- ../src-orig/cnf/configure_func.sh 2017-06-28 11:41:43.391383248 +0200
6+++ ./cnf/configure_func.sh 2017-06-28 11:42:10.055083970 +0200
7@@ -275,7 +275,7 @@
8 checkfunc d_usleep 'usleep'
9 checkfunc d_ustat 'ustat'
10 define d_vfork 'undef' # unnecessary
11-checkfunc d_vprintf 'vprintf' 'NULL,0'
12+define d_vprintf 'define'
13 checkfunc d_vsnprintf 'vsnprintf'
14 checkfunc d_wait4 'wait4'
15 checkfunc d_waitpid 'waitpid' '0,NULL,0'