freebsd-ports/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.h
Matthew Rezny 3f87b5cb51 Xorg-servers update to 1.18.4 with driver updates and revision bumps.
Update xf86-video-ati to 7.8.0
Update xf86-video-intel to 2.99.917.20170103
Update xf86-input-synaptics to 1.9.0
Update xf86-input-evdev to 2.10.5
Update xf86-video-r128 to 6.10.2
Update xf86-video-rendition to 4.2.6
New port: xf86-video-geode

PR:		214591,216269,214687,214593,214715,216276,216277,216278,216287,
		216288,216292,216298,214560,216299,216300,216301,216302
Approved by:	swills (mentor, portmgr)
Differential Revision:	https://reviews.freebsd.org/D9436
2017-02-11 14:17:58 +00:00

18 lines
341 B
C

--- src/eventcomm.h.orig 2015-11-24 23:47:05 UTC
+++ src/eventcomm.h
@@ -30,7 +30,15 @@
#include <xorg-server.h>
#include <linux/input.h>
+#ifdef __linux__
#include <linux/version.h>
+#else
+#undef BUS_NONE
+#undef BUS_PCI
+#undef BUS_SBUS
+#undef BUS_PLATFORM
+#undef BUS_last
+#endif
#include <xf86Xinput.h>
#include "synproto.h"