Fix build with glibc 2.16 (struct siginfo is not exported anymore). OBS-URL: https://build.opensuse.org/request/show/129328 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=244
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
Index: chromium/src/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
|
|
===================================================================
|
|
--- chromium/src/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
|
|
+++ chromium/src/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
|
|
@@ -250,7 +250,7 @@ struct siginfo;
|
|
struct kernel_old_sigaction {
|
|
union {
|
|
void (*sa_handler_)(int);
|
|
- void (*sa_sigaction_)(int, struct siginfo *, void *);
|
|
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
|
|
};
|
|
unsigned long sa_mask;
|
|
unsigned long sa_flags;
|
|
@@ -287,13 +287,13 @@ struct kernel_sigaction {
|
|
unsigned long sa_flags;
|
|
union {
|
|
void (*sa_handler_)(int);
|
|
- void (*sa_sigaction_)(int, struct siginfo *, void *);
|
|
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
|
|
};
|
|
struct kernel_sigset_t sa_mask;
|
|
#else
|
|
union {
|
|
void (*sa_handler_)(int);
|
|
- void (*sa_sigaction_)(int, struct siginfo *, void *);
|
|
+ void (*sa_sigaction_)(int, siginfo_t *, void *);
|
|
};
|
|
unsigned long sa_flags;
|
|
void (*sa_restorer)(void);
|