summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-03-06 21:14:34 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-03-06 21:14:34 +0000
commit430c84772e5c99053f7c0f6b788c11175747158e (patch)
tree49b7dc55320b31a1026f6b8cab1da71ee8c670fe /sys-kernel
parentSetup permissions for /var/run/distcc (diff)
downloadgentoo-2-430c84772e5c99053f7c0f6b788c11175747158e.tar.gz
gentoo-2-430c84772e5c99053f7c0f6b788c11175747158e.tar.bz2
gentoo-2-430c84772e5c99053f7c0f6b788c11175747158e.zip
Updated the compatibility patch to fix some <linux/i2c.h> issues with DirectFB; closes bug #43681.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-2.6.3-appCompat.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.6.3-appCompat.patch b/sys-kernel/linux-headers/files/linux-headers-2.6.3-appCompat.patch
index f6d0a979954b..e216a686cd23 100644
--- a/sys-kernel/linux-headers/files/linux-headers-2.6.3-appCompat.patch
+++ b/sys-kernel/linux-headers/files/linux-headers-2.6.3-appCompat.patch
@@ -551,8 +551,8 @@ diff -ur linux-2.6.0/include/linux/i2c.h linux-2.6.0/include/linux.gentoo/i2c.h
#include <linux/i2c-id.h>
+#ifdef __KERNEL__
#include <linux/device.h> /* for struct device */
-+#endif
#include <asm/semaphore.h>
++#endif
/* --- General options ------------------------------------------------ */
@@ -109,6 +117,7 @@