diff options
author | gdt <gdt@pkgsrc.org> | 2020-08-25 16:42:21 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2020-08-25 16:42:21 +0000 |
commit | f47ce4997f24fa8e1497f5a992f93421ad7db111 (patch) | |
tree | af080d1bcbe6f72d30d6312723795f940a02be14 /security/zoneminder/patches/patch-src_zmf.cpp | |
parent | 3e1ce53f00f71269dc27a69be1d549fffae5037c (diff) | |
download | pkgsrc-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_zmf.cpp')
-rw-r--r-- | security/zoneminder/patches/patch-src_zmf.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/security/zoneminder/patches/patch-src_zmf.cpp b/security/zoneminder/patches/patch-src_zmf.cpp index f7341d08d16..eab18890f8b 100644 --- a/security/zoneminder/patches/patch-src_zmf.cpp +++ b/security/zoneminder/patches/patch-src_zmf.cpp @@ -1,19 +1,9 @@ -$NetBSD: patch-src_zmf.cpp,v 1.2 2019/12/19 22:23:19 joerg Exp $ +$NetBSD: patch-src_zmf.cpp,v 1.3 2020/08/25 16:42:21 gdt Exp $ -bind can be found in namespace std too. -Fix error handling. +\todo Explain ---- src/zmf.cpp.orig 2015-02-05 02:52:37.000000000 +0000 +--- src/zmf.cpp.orig 2017-02-15 00:51:13.260940737 +0000 +++ src/zmf.cpp -@@ -59,7 +59,7 @@ int OpenSocket( int monitor_id ) - strncpy( addr.sun_path, sock_path, sizeof(addr.sun_path) ); - addr.sun_family = AF_UNIX; - -- if ( bind( sd, (struct sockaddr *)&addr, strlen(addr.sun_path)+sizeof(addr.sun_family)) < 0 ) -+ if ( ::bind( sd, (struct sockaddr *)&addr, strlen(addr.sun_path)+sizeof(addr.sun_family)) < 0 ) - { - Error( "Can't bind: %s", strerror(errno) ); - exit( -1 ); @@ -293,7 +293,7 @@ int main( int argc, char *argv[] ) Debug( 1, "Got image, writing to %s", path ); |