From 0226287fcb1d2d3a7577ed4dc4534825b5a0c02d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 19 Oct 2023 16:57:35 +0200 Subject: [PATCH] - fix/update patch --- zoneminder-build.patch | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/zoneminder-build.patch b/zoneminder-build.patch index 0ca428a..49e6b43 100644 --- a/zoneminder-build.patch +++ b/zoneminder-build.patch @@ -8,21 +8,11 @@ #include #include ---- ZoneMinder-1.24.2/src/zm_utils.cpp.org 2009-07-12 19:45:34.387460575 +0200 -+++ ZoneMinder-1.24.2/src/zm_utils.cpp 2009-07-12 19:46:00.454902859 +0200 -@@ -21,6 +21,7 @@ - #include "zm_utils.h" - - #include -+#include - - const std::string stringtf( const char *format, ... ) - { --- ZoneMinder-1.24.2/scripts/zmfilter.pl.in~ 2009-06-08 11:16:04.000000000 +0200 +++ ZoneMinder-1.24.2/scripts/zmfilter.pl.in 2011-01-20 11:03:41.575750088 +0100 @@ -270,7 +270,7 @@ my $sql = "select E.Id,E.MonitorId,M.Name as MonitorName,M.DefaultRate,M.DefaultScale,E.Name,E.Cause,E.Notes,E.StartTime,unix_timestamp(E.StartTime) as Time,E.Length,E.Frames,E.AlarmFrames,E.TotScore,E.AvgScore,E.MaxScore,E.Archived,E.Videoed,E.Uploaded,E.Emailed,E.Messaged,E.Executed from Events as E inner join Monitors as M on M.Id = E.MonitorId where not isnull(E.EndTime)"; - $db_filter->{Sql} = ''; + $db_filter->{Sql} = ''; - if ( @{$filter_expr->{terms}} ) + if ( $filter_expr->{terms} and @{$filter_expr->{terms}} ) -- 2.44.0