libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / gcc-12 / patches / 0023-Fix-libsanitizer-build-for-illumos.patch
blob3510cd2ee4fa05c7ec82aaaa3df6dec919d66e13
1 From 39552e917df890c6745faebca38a672c623aa710 Mon Sep 17 00:00:00 2001
2 From: Aurelien Larcher <aurelien.larcher@gmail.com>
3 Date: Tue, 12 Nov 2019 15:01:57 +0000
4 Subject: Fix libsanitizer build for illumos
6 ---
7 .../sanitizer_platform_limits_solaris.h | 11 +++++++++++
8 1 file changed, 11 insertions(+)
10 diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h
11 index cbab577bcf2..826a672b250 100644
12 --- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h
13 +++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_solaris.h
14 @@ -19,6 +19,9 @@
15 #include "sanitizer_internal_defs.h"
16 #include "sanitizer_platform.h"
18 +struct stat;
19 +struct dirent;
21 namespace __sanitizer {
22 extern unsigned struct_utsname_sz;
23 extern unsigned struct_stat_sz;
24 @@ -337,6 +340,14 @@ struct __sanitizer_glob_t {
25 uptr gl_offs;
26 char **gl_pathp;
27 int gl_pathn;
28 + int gl_matchc;
29 + int gl_flags;
30 + struct stat **gl_statv;
31 + void (*gl_closedir)(void *);
32 + struct dirent *(*gl_readdir)(void *);
33 + void *(*gl_opendir)(const char *);
34 + int (*gl_lstat)(const char *, struct stat *);
35 + int (*gl_stat)(const char *, struct stat *);
38 extern int glob_nomatch;