[Bug 263874] [NEW PORT] net/samba416

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Jun 2022 19:08:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263874

--- Comment #14 from georg-bsd@schorsch-tech.de ---
This was my "patch"

git diff
diff --git a/lib/util/time.h b/lib/util/time.h
index bdb67de5431..8b61e41ae94 100644
--- a/lib/util/time.h
+++ b/lib/util/time.h
@@ -27,6 +27,7 @@
 #include <stdbool.h>
 #include <stdint.h>
 #include <talloc.h>
+#include <time.h>

 #ifndef TIME_T_MIN
 /* we use 0 here, because (time_t)-1 means error */

git describe
samba-4.15.7

I compiled with:
sudo pkg install git gcc11 py38-iso8601 py38-pyasn1 p5-parse-yapp devel/icu
bison python3 pkgconf lmdb gnutls gpgme jansson openldap24-client py38-markdown
py38-dnspython popt py38-cryptography

make distclean && ./configure CC=/usr/local/bin/gcc11
CFLAGS="-I/usr/local/include" --enable-selftest && make -j16 && make quicktest

The selftests did not run successfully. I tried that also on linux and they
failed like on freebsd. Not sure if i did anything wrong ....

I guess if you try to use this, you can remove the enable-selftest option.

-- 
You are receiving this mail because:
You are the assignee for the bug.