mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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:
1 parent
30f500e97b
commit
0b0e5daf43
1 file changed
+7
@@ -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
|
||||
Reference in new issue
Block a user