From: | "Ian Stakenvicius (axs)" <axs@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/lirc/files: lirc-0.9.0-kernel-3.5-err-fix.patch |
Date: | Tue, 27 Nov 2012 18:49:37 |
Message-Id: | 20121127184926.8277720066@flycatcher.gentoo.org |
1 | axs 12/11/27 18:49:26 |
2 | |
3 | Added: lirc-0.9.0-kernel-3.5-err-fix.patch |
4 | Log: |
5 | added err() to kcompat.h as has been removed from usb.h in kernels >=3.5, fixing bug 444736 |
6 | |
7 | (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: lirc-0.9.0-kernel-3.5-err-fix.patch |
16 | =================================================================== |
17 | --- a/drivers/kcompat.h 2011-03-25 18:28:18.000000000 -0400 |
18 | +++ b/drivers/kcompat.h 2012-11-27 13:37:55.000000000 -0500 |
19 | @@ -136,4 +136,9 @@ |
20 | ) |
21 | #endif |
22 | |
23 | +#ifndef err |
24 | +#define err(format, arg...) \ |
25 | + printk(KERN_ERR KBUILD_MODNAME ": " format "\n", ##arg) |
26 | +#endif |
27 | + |
28 | #endif /* _KCOMPAT_H */ |