summaryrefslogtreecommitdiff
path: root/security/zoneminder/patches/patch-src_zm__rtp__source.cpp
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-08-25 16:42:21 +0000
committergdt <gdt@pkgsrc.org>2020-08-25 16:42:21 +0000
commitf47ce4997f24fa8e1497f5a992f93421ad7db111 (patch)
treeaf080d1bcbe6f72d30d6312723795f940a02be14 /security/zoneminder/patches/patch-src_zm__rtp__source.cpp
parent3e1ce53f00f71269dc27a69be1d549fffae5037c (diff)
downloadpkgsrc-f47ce4997f24fa8e1497f5a992f93421ad7db111.tar.gz
security/zoneminder: Update to 1.29.0
This is the last version that supports autoconf, and this update is only because it's a reasonable benefit/cost tradeoff as an intermediaate step. Tested on netbsd-9/earmv7hf-el. Upstream chanages: many bug fixes and improvements zoneminder API Multiserver limted ONVIF support See more at https://github.com/ZoneMinder/zoneminder/releases/tag/v1.29.0-rc2 and before and after. Note that when updating, one must run zmupdate to modify the db schema.
Diffstat (limited to 'security/zoneminder/patches/patch-src_zm__rtp__source.cpp')
-rw-r--r--security/zoneminder/patches/patch-src_zm__rtp__source.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/zoneminder/patches/patch-src_zm__rtp__source.cpp b/security/zoneminder/patches/patch-src_zm__rtp__source.cpp
index d3075dcc328..6ea41903442 100644
--- a/security/zoneminder/patches/patch-src_zm__rtp__source.cpp
+++ b/security/zoneminder/patches/patch-src_zm__rtp__source.cpp
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_zm__rtp__source.cpp,v 1.2 2018/07/14 15:03:57 gdt Exp $
+$NetBSD: patch-src_zm__rtp__source.cpp,v 1.3 2020/08/25 16:42:21 gdt Exp $
+
+Fix type issue with tv_sec; see earlier patches.
--- src/zm_rtp_source.cpp.orig 2015-02-05 02:52:37.000000000 +0000
+++ src/zm_rtp_source.cpp
@@ -17,7 +19,7 @@ $NetBSD: patch-src_zm__rtp__source.cpp,v 1.2 2018/07/14 15:03:57 gdt Exp $
{
- Debug( 5, "lastSrNtpTime: %ld.%06ld, rtpTime: %x", mLastSrTimeNtp.tv_sec, mLastSrTimeNtp.tv_usec, rtpTime );
- Debug( 5, "ntpTime: %ld.%06ld, rtpTime: %x", ntpTime.tv_sec, ntpTime.tv_usec, rtpTime );
-+ Debug( 5, "lastSrNtpTime: %jd.%06ld, rtpTime: %x", (intmax_t) mLastSrTimeNtp.tv_sec, mLastSrTimeNtp.tv_usec, rtpTime );
++ Debug( 5, "lastSrNtpTime: %jd.%06ld, rtpTime: %x", (intmax_t) mLastSrTimeNtp.tv_sec, mLastSrTimeNtp.tv_usec, rtpTime );
+ Debug( 5, "ntpTime: %jd.%06ld, rtpTime: %x", (intmax_t) ntpTime.tv_sec, ntpTime.tv_usec, rtpTime );
double diffNtpTime = tvDiffSec( mBaseTimeNtp, ntpTime );