summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-01-04 12:23:36 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-01-04 12:23:36 +0000
commit6675eb15f3e3ac0bdd158ea46a14831f29095637 (patch)
tree88e07f73e8da1ee014de25d91dc10f4c29d22c84 /sys-kernel
parentAdding sci-electronics/pcb DEPEND; bug #76531. (Manifest recommit) (diff)
downloadgentoo-2-6675eb15f3e3ac0bdd158ea46a14831f29095637.tar.gz
gentoo-2-6675eb15f3e3ac0bdd158ea46a14831f29095637.tar.bz2
gentoo-2-6675eb15f3e3ac0bdd158ea46a14831f29095637.zip
Fix for bug #76577 on Alpha.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux26-headers/ChangeLog6
-rw-r--r--sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch53
2 files changed, 58 insertions, 1 deletions
diff --git a/sys-kernel/linux26-headers/ChangeLog b/sys-kernel/linux26-headers/ChangeLog
index b3b2fe722b06..e55cb4deb336 100644
--- a/sys-kernel/linux26-headers/ChangeLog
+++ b/sys-kernel/linux26-headers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-kernel/linux26-headers
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux26-headers/ChangeLog,v 1.43 2005/01/04 01:46:05 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux26-headers/ChangeLog,v 1.44 2005/01/04 12:23:36 plasmaroo Exp $
+
+ 04 Jan 2005; <plasmaroo@gentoo.org>
+ files/linux26-headers-2.6.8.1-appCompat.patch:
+ Fix for bug #76577 on Alpha.
04 Jan 2005; <plasmaroo@gentoo.org>
files/linux26-headers-2.6.8.1-appCompat.patch:
diff --git a/sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch b/sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch
index a727ced8468a..67fb62fa33ff 100644
--- a/sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch
+++ b/sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch
@@ -1749,3 +1749,56 @@ diff -ur linux-2.6.8.1/include/asm-ppc/bitops.h linux-2.6.8.1-gentoo/include/asm
#endif /* __KERNEL__ */
+#endif /* _PPC_BITOPS_H */
+
+diff -ur linux-2.6.8.1/include/asm-alpha/signal.h linux-2.6.8.1-gentoo/include/asm-alpha/signal.h
+--- linux-2.6.8.1/include/asm-alpha/signal.h 2004-08-14 11:55:32.000000000 +0100
++++ linux-2.6.8.1-gentoo/include/asm-alpha/signal.h 2004-12-26 19:58:15.881705760 +0000
+@@ -24,7 +24,9 @@
+ /* Here we must cater to libcs that poke about in kernel headers. */
+
+ #define NSIG 32
++#ifndef __sigset_t_defined
+ typedef unsigned long sigset_t;
++#endif
+
+ #endif /* __KERNEL__ */
+
+@@ -158,6 +160,7 @@
+ #else
+ /* Here we must cater to libcs that poke about in kernel headers. */
+
++#ifndef _SIGNAL_H
+ struct sigaction {
+ union {
+ __sighandler_t _sa_handler;
+@@ -166,26 +169,31 @@
+ sigset_t sa_mask;
+ int sa_flags;
+ };
++#endif
+
+ #define sa_handler _u._sa_handler
+ #define sa_sigaction _u._sa_sigaction
+
+ #endif /* __KERNEL__ */
+
++#ifndef _SIGNAL_H
+ typedef struct sigaltstack {
+ void __user *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+ } stack_t;
++#endif
+
+ /* sigstack(2) is deprecated, and will be withdrawn in a future version
+ of the X/Open CAE Specification. Use sigaltstack instead. It is only
+ implemented here for OSF/1 compatibility. */
+
++#ifndef _SIGNAL_H
+ struct sigstack {
+ void __user *ss_sp;
+ int ss_onstack;
+ };
++#endif
+
+ #ifdef __KERNEL__
+ #include <asm/sigcontext.h>