[Midnightbsd-cvs] mports [24830] trunk/devel/libmtdev: update dependency

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Jan 30 23:11:13 EST 2019


Revision: 24830
          http://svnweb.midnightbsd.org/mports/?rev=24830
Author:   laffer1
Date:     2019-01-30 23:11:12 -0500 (Wed, 30 Jan 2019)
Log Message:
-----------
update dependency

Modified Paths:
--------------
    trunk/devel/libmtdev/Makefile

Added Paths:
-----------
    trunk/devel/libmtdev/files/patch-test_mtdev-test.c

Modified: trunk/devel/libmtdev/Makefile
===================================================================
--- trunk/devel/libmtdev/Makefile	2019-01-31 04:09:25 UTC (rev 24829)
+++ trunk/devel/libmtdev/Makefile	2019-01-31 04:11:12 UTC (rev 24830)
@@ -2,6 +2,7 @@
 
 PORTNAME=	mtdev
 PORTVERSION=	1.1.5
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://bitmath.org/code/${PORTNAME}/
 PKGNAMEPREFIX=	lib
@@ -12,12 +13,11 @@
 LICENSE=	mit
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	v4l_compat>=1.0.20110603:multimedia/v4l_compat
-RUN_DEPENDS=	v4l_compat>=1.0.20110603:multimedia/v4l_compat
+BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
 
 USES=		libtool pathfix tar:bz2
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include # v4l_compat
+CPPFLAGS+=	-I${LOCALBASE}/include # evdev-proto
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 

Added: trunk/devel/libmtdev/files/patch-test_mtdev-test.c
===================================================================
--- trunk/devel/libmtdev/files/patch-test_mtdev-test.c	                        (rev 0)
+++ trunk/devel/libmtdev/files/patch-test_mtdev-test.c	2019-01-31 04:11:12 UTC (rev 24830)
@@ -0,0 +1,16 @@
+--- test/mtdev-test.c.orig	2014-02-28 18:48:23 UTC
++++ test/mtdev-test.c
+@@ -28,11 +28,12 @@
+ 
+ #include <mtdev.h>
+ #include <stdio.h>
++#include <stdint.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ 
+ /* year-proof millisecond event time */
+-typedef __u64 mstime_t;
++typedef uint64_t mstime_t;
+ 
+ static int use_event(const struct input_event *ev)
+ {


Property changes on: trunk/devel/libmtdev/files/patch-test_mtdev-test.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list