chiark / gitweb /
Initial push
[termux-packages] / packages / busybox / platform.h.patch
1 Android do have dprintf, getline and stpcpy in android-21,
2 and having custom definitions for them breaks on i686.
3
4 diff -u -r ../busybox-1.22.1/include/platform.h ./include/platform.h
5 --- ../busybox-1.22.1/include/platform.h        2014-01-19 21:38:10.000000000 -0500
6 +++ ./include/platform.h        2014-12-23 10:43:15.959769041 -0500
7 @@ -447,9 +447,6 @@
8  #endif
9  
10  #if defined(ANDROID) || defined(__ANDROID__)
11 -# undef HAVE_DPRINTF
12 -# undef HAVE_GETLINE
13 -# undef HAVE_STPCPY
14  # undef HAVE_STRCHRNUL
15  # undef HAVE_STRVERSCMP
16  # undef HAVE_UNLOCKED_LINE_OPS