You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/klibc/files/klibc-1.5-sigaction.patch

38 lines
928 B

---
usr/include/arch/ppc/klibc/archsignal.h | 6 ++++++
usr/include/arch/sparc/klibc/archsignal.h | 7 -------
2 files changed, 6 insertions(+), 7 deletions(-)
--- a/usr/include/arch/ppc/klibc/archsignal.h
+++ b/usr/include/arch/ppc/klibc/archsignal.h
@@ -8,7 +8,13 @@
#ifndef _KLIBC_ARCHSIGNAL_H
#define _KLIBC_ARCHSIGNAL_H
+#ifdef _SIGNAL_H
+#undef _SIGNAL_H
#include <asm/signal.h>
+#define _SIGNAL_H
+#else
+#include <asm/signal.h>
+#endif
/* No special stuff for this architecture */
#endif
--- a/usr/include/arch/sparc/klibc/archsignal.h
+++ b/usr/include/arch/sparc/klibc/archsignal.h
@@ -11,13 +11,6 @@
#define __WANT_POSIX1B_SIGNALS__
#include <asm/signal.h>
-struct sigaction {
- __sighandler_t sa_handler;
- unsigned long sa_flags;
- void (*sa_restorer)(void); /* Not used by Linux/SPARC */
- sigset_t sa_mask;
-};
-
/* Not actually used by the kernel... */
#define SA_RESTORER 0x80000000