Applying ebuild patch: libnih-1.0.3-glibc-2.24.patch

Original description:

With glibc >= 2.24, raise() temporarily blocks signals to make this
function async-signal-safe. This has the consequence that the SIGCONT
signal send by the call to PTRACE_CONT is delivered slightly later. In
turn it means the next ptrace event received is the SIGCONT signal
instead of the expected one.

Unfortunately the libnih testsuite has very precise expectations, and
do not expect such an event. Fix that by catching it and waiting for the
following event.

BUG=none
TEST=none

Change-Id: I8aeba218a79ec370a5ee3ee0afd78ae6a5ff582b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libnih/+/5623057
Commit-Queue: Brian Norris <briannorris@chromium.org>
Reviewed-by: Allen Webb <allenwebb@google.com>
Tested-by: Brian Norris <briannorris@chromium.org>
1 file changed