1 |
chainsaw 08/09/10 13:08:47 |
2 |
|
3 |
Added: synaptics-fix-explosion.patch |
4 |
Log: |
5 |
Add explosion avoidance to the driver, upstream patch found by Kamil Kamiński <kamil@××××××.net>. Closes bug #237074. |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5-00131-g5f17cfc-dirty x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 x11-drivers/xf86-input-synaptics/files/synaptics-fix-explosion.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/files/synaptics-fix-explosion.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-synaptics/files/synaptics-fix-explosion.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: synaptics-fix-explosion.patch |
15 |
=================================================================== |
16 |
diff -uNr xf86-input-synaptics-0.15.1.ORIG/src/synaptics.c xf86-input-synaptics-0.15.1/src/synaptics.c |
17 |
--- xf86-input-synaptics-0.15.1.ORIG/src/synaptics.c 2008-09-10 13:54:55.000000000 +0100 |
18 |
+++ xf86-input-synaptics-0.15.1/src/synaptics.c 2008-09-10 13:56:19.000000000 +0100 |
19 |
@@ -176,7 +176,8 @@ |
20 |
device = xf86FindOptionValue(local->options, "Device"); |
21 |
if (!device) { |
22 |
device = xf86FindOptionValue(local->options, "Path"); |
23 |
- xf86ReplaceStrOption(local->options, "Device", device); |
24 |
+ if (device) |
25 |
+ xf86ReplaceStrOption(local->options, "Device", device); |
26 |
} |
27 |
if (device && strstr(device, "/dev/input/event")) { |
28 |
#ifdef BUILD_EVENTCOMM |