summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Rothe <corsair@gentoo.org>2004-11-14 08:19:00 +0000
committerMarkus Rothe <corsair@gentoo.org>2004-11-14 08:19:00 +0000
commit65ad811c80b84c4f3c7e4c27aa0183457a1f6595 (patch)
treea2e7d951378523568e62b27437d33fc1ab982ea4 /sys-kernel
parentia64 KEYWORDS (Manifest recommit) (diff)
downloadgentoo-2-65ad811c80b84c4f3c7e4c27aa0183457a1f6595.tar.gz
gentoo-2-65ad811c80b84c4f3c7e4c27aa0183457a1f6595.tar.bz2
gentoo-2-65ad811c80b84c4f3c7e4c27aa0183457a1f6595.zip
Added a ppc64 patch for soundcard support.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/ChangeLog5
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch12
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.22.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 61d60fe873a2..81adb0b78409 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.89 2004/10/06 21:55:50 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.90 2004/11/14 08:19:00 corsair Exp $
+
+ 14 Nov 2004; Markus Rothe <corsair@gentoo.org> linux-headers-2.4.22.ebuild:
+ Added a ppc64 patch for soundcard support.
06 Oct 2004; Gustavo Zacarias <gustavoz@gentoo.org>
linux-headers-2.4.21-r1.ebuild, linux-headers-2.4.21.ebuild,
diff --git a/sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch b/sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch
new file mode 100644
index 000000000000..808596297634
--- /dev/null
+++ b/sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-2.4.22.orig/include/linux/soundcard.h linux-2.4.22/include/linux/soundcard.h
+--- linux-2.4.22.orig/include/linux/soundcard.h 2004-11-14 13:20:09.973700672 +0900
++++ linux-2.4.22/include/linux/soundcard.h 2004-11-14 13:20:51.539429875 +0900
+@@ -179,7 +179,7 @@
+ * Some big endian/little endian handling macros
+ */
+
+-#if defined(_AIX) || defined(AIX) || defined(sparc) || defined(__sparc__) || defined(HPPA) || defined(PPC) || defined(__mc68000__)
++#if defined(_AIX) || defined(AIX) || defined(sparc) || defined(__sparc__) || defined(HPPA) || defined(PPC) || defined(__powerpc64__) || defined(__mc68000__)
+ /* Big endian machines */
+ # define _PATCHKEY(id) (0xfd00|id)
+ # define AFMT_S16_NE AFMT_S16_BE
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild
index 59b1d2d2c169..88f2b183a9f3 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild,v 1.21 2004/07/09 22:39:11 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild,v 1.22 2004/11/14 08:19:00 corsair Exp $
ETYPE="headers"
inherit kernel eutils
@@ -65,6 +65,7 @@ src_unpack() {
epatch ${FILESDIR}/${PN}-strict-ansi-fix.patch
fi
+ use ppc64 && epatch ${FILESDIR}/${PN}-soundcard-ppc64.patch
# Do Stuff
kernel_universal_unpack