$OpenBSD: patch-src_exec_c,v 1.2 2015/12/28 15:15:36 jasper Exp $

https://github.com/distcc/distcc/pull/167

--- src/exec.c.orig	Mon Aug 24 17:08:43 2015
+++ src/exec.c	Mon Dec 28 09:08:16 2015
@@ -489,11 +489,11 @@ int dcc_collect_child(const char *what, pid_t pid,
              * critique_status(). */
             rs_trace("%s child %ld terminated with status %#x",
                      what, (long) ret_pid, *wait_status);
-            rs_log_info("%s times: user %ld.%06lds, system %ld.%06lds, "
+            rs_log_info("%s times: user %lld.%06lds, system %lld.%06lds, "
                         "%ld minflt, %ld majflt",
                         what,
-                        ru.ru_utime.tv_sec, (long) ru.ru_utime.tv_usec,
-                        ru.ru_stime.tv_sec, (long) ru.ru_stime.tv_usec,
+                        (long long) ru.ru_utime.tv_sec, (long) ru.ru_utime.tv_usec,
+                        (long long) ru.ru_stime.tv_sec, (long) ru.ru_stime.tv_usec,
                         ru.ru_minflt, ru.ru_majflt);
 
             return 0;
