1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-13 15:18:44 +02:00
build/pkg/libbsd/0001.patch
David Oberhollenzer 2235d8e6a0 Upgrade package versions
Upgrade the following packages to newer releases:

  - bash
  - busybox
  - coreutils
  - ethtool
  - iproute2
  - libbsd
  - nano
  - ncurses
  - sqlite3

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00

25 lines
877 B
Diff

--- a/include/bsd/stdlib.h
+++ b/include/bsd/stdlib.h
@@ -67,9 +67,6 @@ int sradixsort(const unsigned char **base, int nmemb,
const unsigned char *table, unsigned endbyte);
void *reallocf(void *ptr, size_t size);
-#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 26)
-void *reallocarray(void *ptr, size_t nmemb, size_t size);
-#endif
long long strtonum(const char *nptr, long long minval, long long maxval,
const char **errstr);
--- a/include/bsd/string.h
+++ b/include/bsd/string.h
@@ -42,9 +42,6 @@ size_t strlcat(char *dst, const char *src, size_t siz);
char *strnstr(const char *str, const char *find, size_t str_len);
void strmode(mode_t mode, char *str);
-#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 25)
-void explicit_bzero(void *buf, size_t len);
-#endif
__END_DECLS
#endif