Packages built with debhelper may introduce additional
binary package dependencies to a package that uses its
functions. Adding ${misc:Depends} allows debhelper to
add any required dependencies to the package.
Signed-off-by: Clark Rawlins <clark@bit63.org>
The localtime function takes a time_t* argument. Passing
the ut_time member of the utmp struct as this argument
doesn't work on 64 bit systems because the lengths of the
arguments don't agree. So use a temproary variable to
store the ut_time value in a time_t variable and pass
the address of the time_t variable to localtime.
Signed-off-by: Clark Rawlins <clark@bit63.org>
When building the timeoutd binary the linker was not
finding the XOpenDisplay symbol. By linking with
libX11 the missing symbol is found
Signed-off-by: Clark Rawlins <clark@defiant.bit63.org>