v8: fix openbsd build
authorBen Noordhuis <info@bnoordhuis.nl>
Mon, 5 Aug 2013 00:50:45 +0000 (02:50 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 10 Aug 2013 14:28:18 +0000 (16:28 +0200)
commita20d565d9c4be6ab8397cf3a9546c39a247c7aca
tree278d9be16b24417cb667977e2f1ebc0cb25ddbf2
parentf69be329f0d78f19e71ac9e75d6e4ee816e13c97
v8: fix openbsd build

This is [1] applied ahead of time. Summary:

    OpenBSD doesn't have <ucontext.h>. ucontext_t lives in <signal.h>
    and is a typedef for struct sigcontext. There is no uc_mcontext.

[1] https://codereview.chromium.org/21705003/

Note: the patch has been accepted upstream but hasn't made its way into
a stable release yet.
deps/v8/src/sampler.cc