mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-23 16:01:43 +01:00
Patch breakpad to fix compilation with c++0x
This commit is contained in:
parent
39b88e1577
commit
c2da4b7b28
22
3rdparty/google-breakpad/c++0x.patch
vendored
Normal file
22
3rdparty/google-breakpad/c++0x.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/3rdparty/google-breakpad/client/linux/minidump_writer/linux_dumper.h b/3rdparty/google-breakpad/client/linux/minidump_writer/linux_dumper.h
|
||||||
|
index a4a3ab5..a46cbfc 100644
|
||||||
|
--- a/3rdparty/google-breakpad/client/linux/minidump_writer/linux_dumper.h
|
||||||
|
+++ b/3rdparty/google-breakpad/client/linux/minidump_writer/linux_dumper.h
|
||||||
|
@@ -50,7 +50,7 @@
|
||||||
|
namespace google_breakpad {
|
||||||
|
|
||||||
|
#if defined(__i386) || defined(__x86_64)
|
||||||
|
-typedef typeof(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
||||||
|
+typedef __typeof__(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Typedef for our parsing of the auxv variables in /proc/pid/auxv.
|
||||||
|
@@ -60,7 +60,7 @@ typedef Elf32_auxv_t elf_aux_entry;
|
||||||
|
typedef Elf64_auxv_t elf_aux_entry;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-typedef typeof(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t;
|
||||||
|
+typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t;
|
||||||
|
|
||||||
|
// When we find the VDSO mapping in the process's address space, this
|
||||||
|
// is the name we use for it when writing it to the minidump.
|
@ -50,7 +50,7 @@
|
|||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
|
||||||
#if defined(__i386) || defined(__x86_64)
|
#if defined(__i386) || defined(__x86_64)
|
||||||
typedef typeof(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
typedef __typeof__(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Typedef for our parsing of the auxv variables in /proc/pid/auxv.
|
// Typedef for our parsing of the auxv variables in /proc/pid/auxv.
|
||||||
@ -60,7 +60,7 @@ typedef Elf32_auxv_t elf_aux_entry;
|
|||||||
typedef Elf64_auxv_t elf_aux_entry;
|
typedef Elf64_auxv_t elf_aux_entry;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef typeof(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t;
|
typedef __typeof__(((elf_aux_entry*) 0)->a_un.a_val) elf_aux_val_t;
|
||||||
|
|
||||||
// When we find the VDSO mapping in the process's address space, this
|
// When we find the VDSO mapping in the process's address space, this
|
||||||
// is the name we use for it when writing it to the minidump.
|
// is the name we use for it when writing it to the minidump.
|
||||||
|
Loading…
Reference in New Issue
Block a user