Log Message: Back-port and complete the fixes from radmind HEAD to support 64 bit time_t on NetBSD 6+. The configure patch had to be generated with autoconf downgraded to 2.61 - leave it to autohell to ruin your day... While we are here, shake, rattle & roll the patches. The resulting gyrations finally fix PR pkg/46555