Subject: CVS commit: pkgsrc/security/zoneminder
From: Greg Troxel
Date: 2018-07-13 04:05:12
Message id: 20180713020512.1D3B7FBEC@cvs.NetBSD.org

Log Message:
zoneminder: avoid %ld for time_t (int64_t, not long on arm)

zoneinder uses %ld to print tv.tv_sec, which is of type time_t.  On
NetBSD, that's int64_t, which happens to match long on amd64, but not
on arm, and hence printf often segfaults.  Kludge around this by
casting to long, which should work for about 20 years, by which time a
proper fix should have arrived in a zoneminder release.

Not yet raised upstream, because our package is 1.28.1 and upstream
has released 1.30.4.

Files:
RevisionActionfile
1.38modifypkgsrc/security/zoneminder/Makefile
1.11modifypkgsrc/security/zoneminder/distinfo
1.4modifypkgsrc/security/zoneminder/patches/patch-src_zm_logger_cpp
1.1addpkgsrc/security/zoneminder/patches/patch-src_zm__event.cpp
1.1addpkgsrc/security/zoneminder/patches/patch-src_zm__rtp__source.cpp
1.1addpkgsrc/security/zoneminder/patches/patch-src_zmu.cpp