diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-17 23:28:04 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-17 23:28:04 +0000 |
commit | 1a8a092d9fefcbd7f960c82c59802c61807867a6 (patch) | |
tree | 48e47bf661e0e5d6ed9c060e8aea683b30d4540f /benchmarks/unixbench/files/patch-src_dhry__1.c | |
parent | - Update to 1.7.1 (diff) |
Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.
Sponsored by: Absolight
Diffstat (limited to 'benchmarks/unixbench/files/patch-src_dhry__1.c')
-rw-r--r-- | benchmarks/unixbench/files/patch-src_dhry__1.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/benchmarks/unixbench/files/patch-src_dhry__1.c b/benchmarks/unixbench/files/patch-src_dhry__1.c new file mode 100644 index 000000000000..01821756b3b5 --- /dev/null +++ b/benchmarks/unixbench/files/patch-src_dhry__1.c @@ -0,0 +1,19 @@ +--- src/dhry_1.c.orig 1999-07-28 21:43:08 UTC ++++ src/dhry_1.c +@@ -34,6 +34,7 @@ + ***************************************************************************/ + char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21"; + ++#include <sys/types.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -81,7 +82,7 @@ extern int times (); + /* Measurements should last at least about 2 seconds */ + #endif + #ifdef TIME +-extern long time(); ++extern time_t time(); + /* see library function "time" */ + #define Too_Small_Time 2 + /* Measurements should last at least 2 seconds */ |