wok-next diff busybox/stuff/patches/diet.u @ rev 21723
busybox: update patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:44:52 2020 +0000 (2020-09-01) |
parents | 2ef4101ba8f7 |
children |
line diff
1.1 --- a/busybox/stuff/patches/diet.u Fri Sep 29 20:57:09 2017 +0300 1.2 +++ b/busybox/stuff/patches/diet.u Tue Sep 01 10:44:52 2020 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 ---- busybox-1.25/include/platform.h 1.5 -+++ busybox-1.25/include/platform.h 1.6 -@@ -506,6 +506,20 @@ 1.7 - # undef HAVE_NET_ETHERNET_H 1.8 +--- busybox-1.31/include/platform.h 1.9 ++++ busybox-1.31/include/platform.h 1.10 +@@ -533,6 +533,25 @@ 1.11 + # undef HAVE_PRINTF_PERCENTM 1.12 #endif 1.13 1.14 +#if defined(__dietlibc__) 1.15 @@ -12,18 +12,23 @@ 1.16 +# define S_TYPEISMQ(x) 0 1.17 +# define S_TYPEISSEM(x) 0 1.18 +# define S_TYPEISSHM(x) 0 1.19 ++# define O_CLOEXEC 0 1.20 +# undef HAVE_STRVERSCMP 1.21 +# undef HAVE_DPRINTF 1.22 +# undef HAVE_STRCASESTR 1.23 ++#undef ALWAYS_INLINE 1.24 ++#define ALWAYS_INLINE inline 1.25 ++#undef NOINLINE 1.26 ++#define NOINLINE 1.27 +# define ttyname_r(a,b,c) (strlcpy(b, ttyname(a), c) == 0) 1.28 +#endif 1.29 + 1.30 /* 1.31 * Now, define prototypes for all the functions defined in platform.c 1.32 * These must come after all the HAVE_* macros are defined (or not) 1.33 ---- busybox-1.25/networking/ping.c 1.34 -+++ busybox-1.25/networking/ping.c 1.35 -@@ -30,6 +30,84 @@ 1.36 +--- busybox-1.31/networking/ping.c 1.37 ++++ busybox-1.31/networking/ping.c 1.38 +@@ -123,6 +124,84 @@ 1.39 #include "libbb.h" 1.40 #include "common_bufsiz.h" 1.41