diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2007-10-29 14:04:27 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2007-10-29 14:04:27 +0000 |
commit | 88e6e25580a8ce1b81cde6b5cd9fac812ce3d56a (patch) | |
tree | 0fc19f588d2d937d02fdccede755f423b8c199e4 /x11-servers | |
parent | 1b3455b6927cfb66c93221b7cabf0ec41ef697ed (diff) | |
download | ports-88e6e25580a8ce1b81cde6b5cd9fac812ce3d56a.tar.gz ports-88e6e25580a8ce1b81cde6b5cd9fac812ce3d56a.zip |
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/xorg-server/Makefile | 2 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-dix_devices.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index dd6d8c052f73..2c2dade60736 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= xorg-server PORTVERSION= 1.4 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= x11-servers MASTER_SITES= http://xorg.freedesktop.org/releases/individual/xserver/:fdo \ diff --git a/x11-servers/xorg-server/files/patch-dix_devices.c b/x11-servers/xorg-server/files/patch-dix_devices.c new file mode 100644 index 000000000000..f02738d39a20 --- /dev/null +++ b/x11-servers/xorg-server/files/patch-dix_devices.c @@ -0,0 +1,20 @@ +--- dix/devices.c.orig 2007-10-19 17:04:51.000000000 -0200 ++++ dix/devices.c 2007-10-23 17:50:38.000000000 -0200 +@@ -294,7 +294,17 @@ CoreKeyboardBell(int volume, DeviceIntPt + static void + CoreKeyboardCtl(DeviceIntPtr pDev, KeybdCtrl *ctrl) + { ++#ifdef XKB ++ if (!noXkbExtension) { ++ DeviceIntPtr dev = (DeviceIntPtr) ++ pDev->devPrivates[CoreDevicePrivatesIndex].ptr; ++ ++ if (dev && dev->key && dev->key->xkbInfo && dev->key->xkbInfo->kbdProc) ++ (*dev->key->xkbInfo->kbdProc)(dev, ctrl); ++ } ++#else + return; ++#endif + } + + /** |