summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.29/300-fix-ppoll.diff
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.29/300-fix-ppoll.diff')
-rw-r--r--toolchain/uClibc/patches-0.9.29/300-fix-ppoll.diff39
1 files changed, 0 insertions, 39 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/300-fix-ppoll.diff b/toolchain/uClibc/patches-0.9.29/300-fix-ppoll.diff
deleted file mode 100644
index 125eb148e..000000000
--- a/toolchain/uClibc/patches-0.9.29/300-fix-ppoll.diff
+++ /dev/null
@@ -1,39 +0,0 @@
-
-It will match kernel's sigset_t starting from 0.9.31.
-
-Please try attached patch.
---
-vda
-
-diff -d -urpN uClibc.0/libc/sysdeps/linux/common/ppoll.c uClibc.1/libc/sysdeps/linux/common/ppoll.c
---- uClibc.0/libc/sysdeps/linux/common/ppoll.c
-+++ uClibc.1/libc/sysdeps/linux/common/ppoll.c
-@@ -17,6 +17,7 @@
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-+#include <signal.h>
- #include <sys/syscall.h>
- #include <sys/poll.h>
-
-@@ -26,9 +27,9 @@
-
- # define __NR___libc_ppoll __NR_ppoll
- static inline
--_syscall4(int, __libc_ppoll, struct pollfd *, fds,
-+_syscall5(int, __libc_ppoll, struct pollfd *, fds,
- nfds_t, nfds, const struct timespec *, timeout,
-- const __sigset_t *, sigmask);
-+ const __sigset_t *, sigmask, size_t, sigsetsize)
-
- int
- ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
-@@ -43,7 +44,7 @@
- timeout = &tval;
- }
-
-- return __libc_ppoll(fds, nfds, timeout, sigmask);
-+ return __libc_ppoll(fds, nfds, timeout, sigmask, _NSIG / 8);
- }
- libc_hidden_def(ppoll)
-