[Midnightbsd-cvs] mports [24751] trunk/x11-drivers/xf86-input-synaptics: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Jan 1 12:16:47 EST 2019


Revision: 24751
          http://svnweb.midnightbsd.org/mports/?rev=24751
Author:   laffer1
Date:     2019-01-01 12:16:47 -0500 (Tue, 01 Jan 2019)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/x11-drivers/xf86-input-synaptics/Makefile
    trunk/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.c

Modified: trunk/x11-drivers/xf86-input-synaptics/Makefile
===================================================================
--- trunk/x11-drivers/xf86-input-synaptics/Makefile	2019-01-01 17:12:30 UTC (rev 24750)
+++ trunk/x11-drivers/xf86-input-synaptics/Makefile	2019-01-01 17:16:47 UTC (rev 24751)
@@ -14,6 +14,8 @@
 USE_XORG=	x11 xtst
 XORG_CAT=	driver
 
+CONFIGURE_TARGET=	${ARCH}-portbld-freebsd10.4
+
 OPTIONS_DEFINE=	EVDEV
 EVDEV_DESC=	Use evdev for input events (requires kernel support)
 

Modified: trunk/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.c
===================================================================
--- trunk/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.c	2019-01-01 17:12:30 UTC (rev 24750)
+++ trunk/x11-drivers/xf86-input-synaptics/files/patch-src_eventcomm.c	2019-01-01 17:16:47 UTC (rev 24751)
@@ -9,7 +9,7 @@
      if (res)
          *res = abs->resolution;
  #endif
-+#elif defined(__FreeBSD__) || defined(__DragonFly__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__MidnightBSD__)
 +    if (res)
 +        *res = abs->resolution;
 +#endif



More information about the Midnightbsd-cvs mailing list