~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/patches/struct-siginfo.patch

  • Committer: Chad MILLER
  • Date: 2015-03-27 00:56:55 UTC
  • Revision ID: chad.miller@canonical.com-20150327005655-j4hcr8bscbjjjjyu
Prepare for snappy building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Subject: Work around incorrect structure reference in source.
 
2
Author: Chad Miller <chad.miller@canonical.com>
 
3
 
 
4
# Nonessential. Drop if source is updated.
 
5
# Required for linux-libc-dev 3.7.0+.
 
6
 
 
7
--- a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
 
8
+++ b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
 
9
@@ -250,7 +250,7 @@
 
10
 struct kernel_old_sigaction {
 
11
   union {
 
12
     void             (*sa_handler_)(int);
 
13
-    void             (*sa_sigaction_)(int, struct siginfo *, void *);
 
14
+    void             (*sa_sigaction_)(int, siginfo_t *, void *);
 
15
   };
 
16
   unsigned long      sa_mask;
 
17
   unsigned long      sa_flags;
 
18
@@ -287,13 +287,13 @@
 
19
   unsigned long      sa_flags;
 
20
   union {
 
21
     void             (*sa_handler_)(int);
 
22
-    void             (*sa_sigaction_)(int, struct siginfo *, void *);
 
23
+    void             (*sa_sigaction_)(int, siginfo_t *, void *);
 
24
   };
 
25
   struct kernel_sigset_t sa_mask;
 
26
 #else
 
27
   union {
 
28
     void             (*sa_handler_)(int);
 
29
-    void             (*sa_sigaction_)(int, struct siginfo *, void *);
 
30
+    void             (*sa_sigaction_)(int, siginfo_t *, void *);
 
31
   };
 
32
   unsigned long      sa_flags;
 
33
   void               (*sa_restorer)(void);