| From 01eefac216d6c7aa4b3c9ee60536935d223c0d80 Mon Sep 17 00:00:00 2001 |
| From: Dan Padgett <dpadgett@google.com> |
| Date: Sat, 26 Mar 2016 02:37:14 -0700 |
| Subject: [PATCH 14/17] Enable sigmask |
| |
| --- |
| package/uclibc/uclibc-0076-enable-sigmask.patch | 23 +++++++++++++++++++++++ |
| 1 file changed, 23 insertions(+) |
| create mode 100644 package/uclibc/uclibc-0076-enable-sigmask.patch |
| |
| diff --git a/package/uclibc/uclibc-0076-enable-sigmask.patch b/package/uclibc/uclibc-0076-enable-sigmask.patch |
| new file mode 100644 |
| index 0000000..2b73fb1 |
| --- /dev/null |
| +++ b/package/uclibc/uclibc-0076-enable-sigmask.patch |
| @@ -0,0 +1,23 @@ |
| +--- a/include/signal.h 2016-02-01 07:40:56.000000000 -0800 |
| ++++ b/include/signal.h 2016-03-26 02:33:24.493728529 -0700 |
| +@@ -214,15 +214,18 @@ |
| + #endif |
| + #endif /* __UCLIBC_SUSV4_LEGACY__ */ |
| + |
| ++#ifdef __USE_BSD |
| ++/* Compute mask for signal SIG. */ |
| ++# define sigmask(sig) __sigmask(sig) |
| ++ |
| ++#endif /* Use BSD. */ |
| ++ |
| + #if 0 /*def __USE_BSD*/ |
| + /* None of the following functions should be used anymore. They are here |
| + only for compatibility. A single word (`int') is not guaranteed to be |
| + enough to hold a complete signal mask and therefore these functions |
| + simply do not work in many situations. Use `sigprocmask' instead. */ |
| + |
| +-/* Compute mask for signal SIG. */ |
| +-# define sigmask(sig) __sigmask(sig) |
| +- |
| + /* Block signals in MASK, returning the old mask. */ |
| + extern int sigblock (int __mask) __THROW __attribute_deprecated__; |
| -- |
| 2.8.0.rc3.226.g39d4020 |
| |