diff options
| author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-03-20 09:29:05 +0000 |
|---|---|---|
| committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-03-20 09:29:05 +0000 |
| commit | 8f5d0f33d7992b40fdb069f46a75144c3a55586d (patch) | |
| tree | 43a8dd51d6c30076bdd5282926379f97d45155e7 /net/samba3/files/patch-utils_net_time.c | |
| parent | Add freebsd-sha256 20050310, (diff) | |
Update to version 3.0.12.
Currently, ADS support is off for the package builds, as it creates
dependency problems with Kerberos5. Also, an experimental support
for extended attributes is included.
PR: ports/79037
Submitted by: maintainer
Diffstat (limited to 'net/samba3/files/patch-utils_net_time.c')
| -rw-r--r-- | net/samba3/files/patch-utils_net_time.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/samba3/files/patch-utils_net_time.c b/net/samba3/files/patch-utils_net_time.c new file mode 100644 index 000000000000..7248d85066dc --- /dev/null +++ b/net/samba3/files/patch-utils_net_time.c @@ -0,0 +1,19 @@ +--- utils/net_time.c.orig Fri Feb 25 18:59:42 2005 ++++ utils/net_time.c Sun Mar 20 01:41:20 2005 +@@ -76,9 +76,16 @@ + + tm = localtime(&t); + ++#if defined(FREEBSD) ++ fstr_sprintf(s, "%02d%02d%02d%02d%02d.%02d", ++ tm->tm_year+1900,tm->tm_mon+1,tm->tm_mday, ++ tm->tm_hour,tm->tm_min,tm->tm_sec); ++#else + fstr_sprintf(s, "%02d%02d%02d%02d%04d.%02d", + tm->tm_mon+1, tm->tm_mday, tm->tm_hour, + tm->tm_min, tm->tm_year + 1900, tm->tm_sec); ++#endif /* defined(FREEBSD) */ ++ + return s; + } + |
