summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-input-evdev/files/1.1.5-fix_compatibility.patch')
-rw-r--r--x11-drivers/xf86-input-evdev/files/1.1.5-fix_compatibility.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-evdev/files/1.1.5-fix_compatibility.patch b/x11-drivers/xf86-input-evdev/files/1.1.5-fix_compatibility.patch
new file mode 100644
index 0000000..8a7c76d
--- /dev/null
+++ b/x11-drivers/xf86-input-evdev/files/1.1.5-fix_compatibility.patch
@@ -0,0 +1,14 @@
+--- src/evdev_key.c.old 2006-11-04 17:01:57.000000000 -0700
++++ src/evdev_key.c 2006-11-04 17:05:28.000000000 -0700
+@@ -240,9 +240,11 @@
+ static void
+ EvdevKbdBell (int percent, DeviceIntPtr device, pointer arg, int unused)
+ {
++#ifdef xf86OSRingBell
+ KeybdCtrl *ctrl = arg;
+
+ xf86OSRingBell(percent, ctrl->bell_pitch, ctrl->bell_duration);
++#endif
+ }
+
+ static void