Path to this page:
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: