]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/google-breakpad: replace references to 'struct ucontext' with 'ucontext_t'
authorRomain Naour <romain.naour@gmail.com>
Wed, 22 Nov 2017 21:08:28 +0000 (22:08 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 27 Nov 2017 10:05:09 +0000 (11:05 +0100)
commit3f8e8050d6ccd6c6bbac5d4d8019c39397557f54
tree34fc6386ab9a7856fbc864aca7e0a25f533e7dec
parent98566da5663c6eff2ba0ebc9d267e6ef83db5350
package/google-breakpad: replace references to 'struct ucontext' with 'ucontext_t'

In glibc, since
https://sourceware.org/git/?p=glibc.git;h=251287734e89a52da3db682a8241eb6bccc050c9
the 'struct ucontext' tag has been replaced with 'struct ucontext_t'.
The tag itself is anyway not POSIX - only the 'ucontext_t' typedef is
specified. And that type has existed since at least 1997 in glibc.

Therefore, replace references to 'struct ucontext' with 'ucontext_t',
which works in all versions of glibc, uClibc and musl.

Fixes:
[arm]     http://autobuild.buildroot.net/results/6380341dbb6c114e4452c5cda37da6b44b80d178
[aarch64] http://autobuild.buildroot.net/results/4ecf770df7c984a62082d59f8fab632d3efbe06b
[mipsel]  http://autobuild.buildroot.net/results/e1473a12cf38ccf4dd3ed0f26a8ff9e6b57f0810

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Arnout: improve commit message]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit ca4009fc24e3a283fc44327dbd20579bde6cc323)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch [new file with mode: 0644]