diff options
-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 + } + + /** |