SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Use clock(3) instead of time(3) to compute elapsed cpu time.
Index: base/config.h
--- base/config.h.orig
+++ base/config.h
@@ -39,7 +39,7 @@
/* #define HAVE_GETRUSAGE */
/* define the following if your system has ANSI C: clock and CLOCKS_PER_SEC */
-/* #define HAVE_CLOCK */
+#define HAVE_CLOCK
/* define the following if your (nominally BSD) system provides the SYSV
string functions: strchr, strrchr, memcpy, and memset */