diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-10-21 11:46:19 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-10-21 11:46:19 +0300 |
commit | b01ba1daf4b36ff92a96415075dcb2e3cb7c2fb7 (patch) | |
tree | 95a23c0b9a42532fa8f5edc0112278f979d8066c /libc/debian/patches/libc-add-tdestroy.patch | |
parent | a26e5b562d25b5391aab278be9bed8096b8d238c (diff) | |
download | illumos-packaging-b01ba1daf4b36ff92a96415075dcb2e3cb7c2fb7.tar.gz |
Updated patches
Diffstat (limited to 'libc/debian/patches/libc-add-tdestroy.patch')
-rw-r--r-- | libc/debian/patches/libc-add-tdestroy.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/debian/patches/libc-add-tdestroy.patch b/libc/debian/patches/libc-add-tdestroy.patch index 441909d..cdbc9e0 100644 --- a/libc/debian/patches/libc-add-tdestroy.patch +++ b/libc/debian/patches/libc-add-tdestroy.patch @@ -2,31 +2,31 @@ Index: libc/usr/src/head/search.h =================================================================== --- libc.orig/usr/src/head/search.h +++ libc/usr/src/head/search.h -@@ -33,7 +33,7 @@ - - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3.1.11 */ +@@ -32,7 +32,7 @@ + #ifndef _SEARCH_H + #define _SEARCH_H -#include <sys/feature_tests.h> +#include <features.h> #include <sys/types.h> #ifdef __cplusplus -@@ -90,6 +90,10 @@ void *tsearch(); - void twalk(); - #endif +@@ -69,6 +69,10 @@ void *tfind(const void *, void *const *, + void *tsearch(const void *, void **, int (*)(const void *, const void *)); + void twalk(const void *, void (*)(const void *, VISIT, int)); +#if defined(__EXTENSIONS__) || defined(_GNU_SOURCE) +extern void tdestroy(void *root, void (*)(void *)); +#endif + - #if defined(__STDC__) #if defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) + /* BSEARCH(3C) */ Index: libc/usr/src/lib/libc/port/mapfile-vers =================================================================== --- libc.orig/usr/src/lib/libc/port/mapfile-vers +++ libc/usr/src/lib/libc/port/mapfile-vers -@@ -138,6 +138,7 @@ SYMBOL_VERSION DYSON_1 { +@@ -280,6 +280,7 @@ SYMBOL_VERSION DYSON_1 { program_invocation_name; program_invocation_short_name; rawmemchr; |