From cd2fd2439a1540f9a9d00ea80d85f73e02dd8b24 Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Tue, 4 Jan 2005 12:23:36 +0000 Subject: [PATCH] Fix for bug #76577 on Alpha. --- sys-kernel/linux26-headers/ChangeLog | 6 ++- sys-kernel/linux26-headers/Manifest | 4 +- .../linux26-headers-2.6.8.1-appCompat.patch | 53 +++++++++++++++++++ 3 files changed, 60 insertions(+), 3 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; + files/linux26-headers-2.6.8.1-appCompat.patch: + Fix for bug #76577 on Alpha. 04 Jan 2005; files/linux26-headers-2.6.8.1-appCompat.patch: diff --git a/sys-kernel/linux26-headers/Manifest b/sys-kernel/linux26-headers/Manifest index 6f99190b271c..1bed8d999d34 100644 --- a/sys-kernel/linux26-headers/Manifest +++ b/sys-kernel/linux26-headers/Manifest @@ -1,4 +1,4 @@ -MD5 1d99ec297f254e080ed01cc4a64da83b ChangeLog 9892 +MD5 080beaa5f744645e0efdfb950c74e3ed ChangeLog 10011 MD5 b3d1c41a74dbe1041b4082288cacd3ca linux26-headers-2.6.7-r4.ebuild 4031 MD5 21dcb669b4e8535f0a04f40ad2c4c9ff metadata.xml 224 MD5 91179c84e3dc8dadcfdad16cabede343 linux26-headers-2.6.5.ebuild 4188 @@ -21,7 +21,7 @@ MD5 8a065c0dc3b8fac8747de35f1af75a2c files/linux26-headers-2.6.0-fb.patch 386 MD5 9101139b0720280f338a1823c281ee84 files/linux26-headers-2.6.8.1-parisc-syscall.patch 413 MD5 8fbc202526e4c1b1672c5274bbff4e5f files/linux26-headers-2.6.6-appCompat.patch 26689 MD5 ec3d195f7d40d599802d5c0c5ad8f502 files/linux26-headers-2.6.4-appCompat.patch 17240 -MD5 619585c96ff155c5bd0af32635d25358 files/linux26-headers-2.6.8.1-appCompat.patch 54898 +MD5 0c659cc32bef2c87df38a69d2da06e23 files/linux26-headers-2.6.8.1-appCompat.patch 56196 MD5 b405a908c2cc1e6ed3e25f030c41f4c4 files/digest-linux26-headers-2.6.7-r4 66 MD5 830c6d1dcb1b22b9095e6f16f3ebdf85 files/linux26-headers-2.6.6-tcp_info-DRS-backport.patch 288 MD5 a8c4e44a323fbde21b9de3940e2ca5ef files/digest-linux26-headers-2.6.5 66 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 -- 2.26.2