openssh: Fix SIZEOF_TIME_T in freebsd-configure.sh

Sponsored by:	The FreeBSD Foundation
Reviewed by:	jlduran
Differential Revision: https://reviews.freebsd.org/D57053
This commit is contained in:
Ed Maste committed 2026-05-18 09:02:33 -04:00
1 parent 30f500e97b
commit 0b0e5daf43
1 file changed
+7
+7
View File
@@ -55,3 +55,10 @@ diff -u config.h.kerberos5 config.h |
diff -u config.h.sk-builtin config.h |
sed -n '/^-#define/s/^-//p' |
grep -Ff /dev/stdin config.h.sk-builtin > sk_config.h
# Fix 32/64-bit time_t defines
sed -i '' 's/^#define SIZEOF_TIME_T 8$/#ifdef __i386__\
#define SIZEOF_TIME_T 4\
#else\
#define SIZEOF_TIME_T 8\
#endif/' config.h