From 51b8a36327e18b55f50c957c011e9f883d7dbcb5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jun 2012 20:41:09 +0000 Subject: [PATCH] ndisc: remove obsolete ppoll patch, it breaks eglibc SVN-Revision: 32536 --- ipv6/ndisc/patches/120-ppoll.patch | 47 ------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 ipv6/ndisc/patches/120-ppoll.patch diff --git a/ipv6/ndisc/patches/120-ppoll.patch b/ipv6/ndisc/patches/120-ppoll.patch deleted file mode 100644 index 6459a1fd28..0000000000 --- a/ipv6/ndisc/patches/120-ppoll.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/compat/fixups.h -+++ b/compat/fixups.h -@@ -50,13 +50,25 @@ int inet6_rth_add (void *bp, const struc - # define IPV6_RTHDR_TYPE_0 0 - #endif - --#ifndef HAVE_PPOLL -+#include -+ -+#ifdef HAVE_PPOLL -+static inline int -+compat_ppoll (struct pollfd *restrict fds, int n, -+ const struct timespec *restrict ts, -+ const sigset_t *restrict sigmask) -+{ -+ return ppoll(fds, n, ts, sigmask); -+} -+ -+#else - # include - struct pollfd; - struct timespec; - --int ppoll (struct pollfd *restrict fds, int n, -- const struct timespec *restrict ts, -- const sigset_t *restrict sigmask); -+int compat_ppoll (struct pollfd *restrict fds, int n, -+ const struct timespec *restrict ts, -+ const sigset_t *restrict sigmask); - #endif - -+#define ppoll compat_ppoll ---- a/compat/ppoll.c -+++ b/compat/ppoll.c -@@ -32,9 +32,9 @@ - # include // sigprocmask is not thread-safe - #endif - --int ppoll (struct pollfd *restrict fds, int n, -- const struct timespec *restrict ts, -- const sigset_t *restrict sigset) -+int compat_ppoll (struct pollfd *restrict fds, int n, -+ const struct timespec *restrict ts, -+ const sigset_t *restrict sigset) - { - sigset_t origset; - int timeout; -- 2.30.2