packages/glibc: Fix mcontext_t error that breaks RISC-V package builds
authorMark Corbin <mark.corbin@embecosm.com>
Mon, 4 Feb 2019 15:49:59 +0000 (15:49 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Feb 2019 18:20:38 +0000 (19:20 +0100)
commit72723ea80f71300c4bb5078a2c4240e6ed43b160
treebfc0895f157bedc2fedb202fd4041c475e08cced
parent855a8f057e63d2a888640ccfb2521d7c9ea8b7c2
packages/glibc: Fix mcontext_t error that breaks RISC-V package builds

The riscv-glibc repository version of glibc 2.26 will build for
RISC-V 32bit, but when many packages are built against the resulting
library an 'unknown type name mcontext_t' error is reported. The
definition of mcontext_h in the ucontext.h header file needs to be
moved outside of the '#ifdef __USE_MISC' structure to fix this
issue.

Fixes:
  http://autobuild.buildroot.net/results/5aa9cb29c459f511dc9c4fcf218dc9a842505aa3

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/glibc/4e2943456e690d89f48e6e710757dd09404b0c9a/0002-Fix-mcontext_t-error-that-breaks-RISC-V-architecture.patch [new file with mode: 0644]