Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2017 22:29:41 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447919 - in head/multimedia/motion: . files
Message-ID:  <201708132229.v7DMTfHX001194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Sun Aug 13 22:29:41 2017
New Revision: 447919
URL: https://svnweb.freebsd.org/changeset/ports/447919

Log:
  * 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

Added:
  head/multimedia/motion/files/patch-video2.c   (contents, props changed)
Modified:
  head/multimedia/motion/Makefile

Modified: head/multimedia/motion/Makefile
==============================================================================
--- head/multimedia/motion/Makefile	Sun Aug 13 22:25:15 2017	(r447918)
+++ head/multimedia/motion/Makefile	Sun Aug 13 22:29:41 2017	(r447919)
@@ -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 \

Added: head/multimedia/motion/files/patch-video2.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/motion/files/patch-video2.c	Sun Aug 13 22:29:41 2017	(r447919)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708132229.v7DMTfHX001194>