SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
multimedia/minidlna/patches/patch-kqueue_c
Normal file
22
multimedia/minidlna/patches/patch-kqueue_c
Normal file
|
@ -0,0 +1,22 @@
|
|||
64bit time_t
|
||||
|
||||
Index: kqueue.c
|
||||
--- kqueue.c.orig
|
||||
+++ kqueue.c
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/event.h>
|
||||
+#include <sys/time.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
@@ -189,7 +190,7 @@ kqueue_process(struct timeval *tv)
|
||||
|
||||
TIMEVAL_TO_TIMESPEC(tv, &ts);
|
||||
|
||||
- DPRINTF(E_DEBUG, L_GENERAL, "kevent timer: %lu.%06lu, changes: %d\n",
|
||||
+ DPRINTF(E_DEBUG, L_GENERAL, "kevent timer: %lld.%06lu, changes: %d\n",
|
||||
ts.tv_sec, ts.tv_nsec, n);
|
||||
|
||||
events = kevent(kq, change_list, n, event_list, MAXEVENTS, &ts);
|
Loading…
Add table
Add a link
Reference in a new issue