summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-08-25 18:14:06 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-08-25 18:14:06 +0000
commit35ab3514d1a8a274a778df8bb88b6a0b840b9144 (patch)
treef640f4add65869c370ff8992a98105ea8d58ab4d /media-sound
parentforgot the postinst part (Manifest recommit) (diff)
downloadgentoo-2-35ab3514d1a8a274a778df8bb88b6a0b840b9144.tar.gz
gentoo-2-35ab3514d1a8a274a778df8bb88b6a0b840b9144.tar.bz2
gentoo-2-35ab3514d1a8a274a778df8bb88b6a0b840b9144.zip
Added patch for undefined __user.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsa-headers/ChangeLog6
-rw-r--r--media-sound/alsa-headers/alsa-headers-1.0.6a.ebuild4
-rw-r--r--media-sound/alsa-headers/files/alsa-headers-1.0.6a-user.patch14
3 files changed, 21 insertions, 3 deletions
diff --git a/media-sound/alsa-headers/ChangeLog b/media-sound/alsa-headers/ChangeLog
index ae77f327ad21..4a8973642690 100644
--- a/media-sound/alsa-headers/ChangeLog
+++ b/media-sound/alsa-headers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/alsa-headers
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.6 2004/08/23 21:45:19 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.7 2004/08/25 18:14:06 eradicator Exp $
+
+ 25 Aug 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/alsa-headers-1.0.6a-user.patch:
+ Added patch for undefined __user.
*alsa-headers-1.0.6a (23 Aug 2004)
diff --git a/media-sound/alsa-headers/alsa-headers-1.0.6a.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.6a.ebuild
index 2f41bf0e3b01..3e167c82d94b 100644
--- a/media-sound/alsa-headers/alsa-headers-1.0.6a.ebuild
+++ b/media-sound/alsa-headers/alsa-headers-1.0.6a.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/media-sound/alsa-headers/alsa-headers-1.0.6a.ebuild,v 1.1 2004/08/23 21:45:19 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.6a.ebuild,v 1.2 2004/08/25 18:14:06 eradicator Exp $
IUSE=""
@@ -35,8 +35,8 @@ src_unpack() {
cd ${S}
epatch ${MY_FILESDIR}/${MY_PN}-1.0.5-devfix.patch
-
epatch ${MY_FILESDIR}/${MY_PN}-1.0.5a-cs46xx-passthrough.patch
+ epatch ${FILESDIR}/${P}-user.patch
}
src_compile() {
diff --git a/media-sound/alsa-headers/files/alsa-headers-1.0.6a-user.patch b/media-sound/alsa-headers/files/alsa-headers-1.0.6a-user.patch
new file mode 100644
index 000000000000..c1a4cf23943c
--- /dev/null
+++ b/media-sound/alsa-headers/files/alsa-headers-1.0.6a-user.patch
@@ -0,0 +1,14 @@
+diff -Naur alsa-driver-1.0.6a.orig/alsa-kernel/include/asound.h alsa-driver-1.0.6a/alsa-kernel/include/asound.h
+--- alsa-driver-1.0.6a.orig/alsa-kernel/include/asound.h 2004-08-03 11:55:55.000000000 -0700
++++ alsa-driver-1.0.6a/alsa-kernel/include/asound.h 2004-08-25 11:05:21.445603678 -0700
+@@ -63,6 +63,10 @@
+ #include <sys/types.h>
+ #endif
+
++#ifndef __user
++#define __user
++#endif
++
+ /*
+ * protocol version
+ */