From: | "Fabio Erculiani (lxnay)" <lxnay@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-wireless/acx/files: acx-2.6.33.patch |
Date: | Sun, 28 Feb 2010 17:40:04 |
Message-Id: | E1Nln7Z-0004WA-RA@stork.gentoo.org |
1 | lxnay 10/02/28 17:40:01 |
2 | |
3 | Added: acx-2.6.33.patch |
4 | Log: |
5 | add 2.6.33 kernel support |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-wireless/acx/files/acx-2.6.33.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/acx/files/acx-2.6.33.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/acx/files/acx-2.6.33.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: acx-2.6.33.patch |
15 | =================================================================== |
16 | diff -Nurp acx-20080210.orig/pci.c acx-20080210/pci.c |
17 | --- acx-20080210.orig/pci.c 2010-02-28 14:09:55.000000000 +0000 |
18 | +++ acx-20080210/pci.c 2010-02-28 14:13:09.000000000 +0000 |
19 | @@ -35,8 +35,12 @@ |
20 | |
21 | /* Linux 2.6.18+ uses <linux/utsrelease.h> */ |
22 | #ifndef UTS_RELEASE |
23 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) |
24 | +#include <generated/utsrelease.h> |
25 | +#else |
26 | #include <linux/utsrelease.h> |
27 | #endif |
28 | +#endif |
29 | |
30 | #include <linux/compiler.h> /* required for Lx 2.6.8 ?? */ |
31 | #include <linux/kernel.h> |