pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba4/patches Add missing patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9ce0c0e23eb
branches:  trunk
changeset: 382123:f9ce0c0e23eb
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jul 21 09:35:50 2022 +0000

description:
Add missing patch

diffstat:

 net/samba4/patches/patch-lib_util_time.h |  25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diffs (29 lines):

diff -r 3823ebd294cc -r f9ce0c0e23eb net/samba4/patches/patch-lib_util_time.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/patches/patch-lib_util_time.h  Thu Jul 21 09:35:50 2022 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-lib_util_time.h,v 1.1 2022/07/21 09:35:50 adam Exp $
+
+Define timeval/timespec.
+
+--- lib/util/time.h.orig       2022-07-20 13:08:26.333843041 +0000
++++ lib/util/time.h
+@@ -28,6 +28,18 @@
+ #include <stdint.h>
+ #include <talloc.h>
+ 
++/* From "system/time.h" */
++#ifdef TIME_WITH_SYS_TIME
++#include <sys/time.h>
++#include <time.h>
++#else
++#ifdef HAVE_SYS_TIME_H
++#include <sys/time.h>
++#else
++#include <time.h>
++#endif
++#endif
++
+ #ifndef TIME_T_MIN
+ /* we use 0 here, because (time_t)-1 means error */
+ #define TIME_T_MIN 0



Home | Main Index | Thread Index | Old Index