svn commit: r416573 - head/multimedia/zoneminder/files

Kurt Jaeger pi at FreeBSD.org
Thu Jun 9 00:14:08 UTC 2016


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 at 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"
+
+ //


More information about the svn-ports-head mailing list