1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

* Bump Revision to fix ioctl sign-extension warning

* Cleanup Makefile

PR:		221241
Submitted by:	<peo@bsdlabs.com>
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11993
This commit is contained in:
Richard Gallamore 2017-08-13 22:29:41 +00:00
parent 3e21d82bb0
commit 30c34a6260
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447919
2 changed files with 14 additions and 3 deletions

View File

@ -3,8 +3,8 @@
PORTNAME= motion
PORTVERSION= 4.0.1
PORTREVISION= 3
DISTVERSIONPREFIX= release-
PORTREVISION= 4
CATEGORIES= multimedia
MAINTAINER= ports@FreeBSD.org
@ -13,10 +13,11 @@ COMMENT= Motion detection application
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf gmake jpeg localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= Motion-Project
USE_RC_SUBR= ${PORTNAME}
USES= autoreconf gmake jpeg localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-linuxthreads \
--without-jpeg-mmx
@ -26,7 +27,6 @@ KMODDIR?= /boot/modules
KMODDIR= /boot/modules
.endif
USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message
PLIST_FILES= bin/motion \

View File

@ -0,0 +1,11 @@
--- video2.c.orig 2017-08-11 20:05:27 UTC
+++ video2.c
@@ -184,7 +184,7 @@ typedef struct {
/**
* xioctl
*/
-#ifdef __OpenBSD__
+#if defined (__OpenBSD__) || defined (__FreeBSD__)
static int xioctl(src_v4l2_t *vid_source, unsigned long request, void *arg)
#else
static int xioctl(src_v4l2_t *vid_source, int request, void *arg)