From owner-svn-ports-all@freebsd.org Thu Jun 9 00:14:08 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DB63B70376; Thu, 9 Jun 2016 00:14:08 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3584D1C56; Thu, 9 Jun 2016 00:14:08 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u590E79g084271; Thu, 9 Jun 2016 00:14:07 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u590E7QB084270; Thu, 9 Jun 2016 00:14:07 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201606090014.u590E7QB084270@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Thu, 9 Jun 2016 00:14:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416573 - head/multimedia/zoneminder/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 00:14:08 -0000 Author: pi Date: Thu Jun 9 00:14:07 2016 New Revision: 416573 URL: https://svnweb.freebsd.org/changeset/ports/416573 Log: multimedia/zoneminder: Unbreak build for systems with v4l1 Systems lacking video4linux2, but with video4linux1 fail to build ZM due to v4l2 specific macro. PR: 210088 Submitted by: Ivan (maintainer) Added: head/multimedia/zoneminder/files/patch-src_zm__local__camera.h (contents, props changed) Added: head/multimedia/zoneminder/files/patch-src_zm__local__camera.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/zoneminder/files/patch-src_zm__local__camera.h Thu Jun 9 00:14:07 2016 (r416573) @@ -0,0 +1,14 @@ +--- src/zm_local_camera.h.orig 2016-06-07 07:18:44 UTC ++++ src/zm_local_camera.h +@@ -36,6 +36,11 @@ + #include + #endif // HAVE_LINUX_VIDEODEV2_H + ++// Required on systems with v4l1 but without v4l2 headers ++#ifndef VIDEO_MAX_FRAME ++#define VIDEO_MAX_FRAME 32 ++#endif ++ + #include "zm_ffmpeg.h" + + //