diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-12-04 13:46:14 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-12-04 13:46:14 +0000 |
commit | 4b73072bc5608d200cea0563c2adcc59e12c6d51 (patch) | |
tree | fda22270a0ab02e8c0838a6dd8ee752f686fdd0b /devel/libevent/files/patch-evdns.c | |
parent | Remove expired ports: (diff) |
- Update to 1.2a
Diffstat (limited to '')
-rw-r--r-- | devel/libevent/files/patch-evdns.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/devel/libevent/files/patch-evdns.c b/devel/libevent/files/patch-evdns.c deleted file mode 100644 index d41d574b6cb1..000000000000 --- a/devel/libevent/files/patch-evdns.c +++ /dev/null @@ -1,17 +0,0 @@ -# -# Use CLOCK_REALTIME when CLOCK_MONOTONIC does not exists. -# ---- evdns.c.orig Wed Nov 29 15:37:46 2006 -+++ evdns.c Wed Nov 29 15:39:14 2006 -@@ -793,7 +793,11 @@ - #ifdef DNS_USE_CPU_CLOCK_FOR_ID - struct timespec ts; - const u16 trans_id = ts.tv_nsec & 0xffff; -+#ifdef CLOCK_MONOTONIC - if (clock_gettime(CLOCK_MONOTONIC, &ts)) -+#else -+ if (clock_gettime(CLOCK_REALTIME, &ts)) -+#endif - event_err(1, "clock_gettime"); - #endif - |