Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 00:14:07 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416573 - head/multimedia/zoneminder/files
Message-ID:  <201606090014.u590E7QB084270@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd@abinet.ru> (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 <linux/videodev2.h>
+ #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"
+
+ //



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