aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-05-09 15:22:57 +0800
committerlesi <lesi@FreeBSD.org>2005-05-09 15:22:57 +0800
commit940df5f29e79856590962a780e345bf19783f03d (patch)
tree47db2967562a9c2958b55d8a8b474b8fc6ef7444 /x11-servers
parentb6c1439fc592b62caf8cefe006c326c58422365c (diff)
downloadfreebsd-ports-gnome-940df5f29e79856590962a780e345bf19783f03d.tar.gz
freebsd-ports-gnome-940df5f29e79856590962a780e345bf19783f03d.tar.zst
freebsd-ports-gnome-940df5f29e79856590962a780e345bf19783f03d.zip
Bump max number of buttons supported by mouse driver to 16 so Logitech
MediaPlay mouse works. (Xorg Bugzilla #2389) PR: ports/80744 Submitted by: cy
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/xorg-server/Makefile1
-rw-r--r--x11-servers/xorg-server/files/patch-xf86OSmouse.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index 18fde38c2517..694604b8290c 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xorg-server
PORTVERSION= 6.8.2
+PORTREVISION= 1
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src
diff --git a/x11-servers/xorg-server/files/patch-xf86OSmouse.h b/x11-servers/xorg-server/files/patch-xf86OSmouse.h
new file mode 100644
index 000000000000..e9b4d9fa9159
--- /dev/null
+++ b/x11-servers/xorg-server/files/patch-xf86OSmouse.h
@@ -0,0 +1,11 @@
+--- programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h.orig Sat Jul 24 10:35:39 2004
++++ programs/Xserver/hw/xfree86/os-support/xf86OSmouse.h Sat May 7 20:47:45 2005
+@@ -281,7 +281,7 @@
+ /* Generalize for other axes. */
+ #define MSE_NOAXISMAP MSE_NOZMAP
+
+-#define MSE_MAXBUTTONS 12
++#define MSE_MAXBUTTONS 16
+ #define MSE_DFLTBUTTONS 3
+
+ #endif /* _XF86OSMOUSE_H_ */