diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-08-27 10:33:03 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-08-27 10:33:03 +0000 |
commit | ed4f116ca0c98f938cf7fdf18c033416d32620b5 (patch) | |
tree | 1ed8b5ee8e42e02f2c1aebc9b219fa0ea747ea32 /textproc/libxslt/files/patch-libxslt::extra.c | |
parent | 0c93669feb9c14e9084b6d03d38df977f7aa7bd4 (diff) |
Notes
Diffstat (limited to 'textproc/libxslt/files/patch-libxslt::extra.c')
-rw-r--r-- | textproc/libxslt/files/patch-libxslt::extra.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/libxslt/files/patch-libxslt::extra.c b/textproc/libxslt/files/patch-libxslt::extra.c new file mode 100644 index 000000000000..b4039d8b49e8 --- /dev/null +++ b/textproc/libxslt/files/patch-libxslt::extra.c @@ -0,0 +1,19 @@ + +$FreeBSD$ + +--- libxslt/extra.c.orig Wed Aug 15 05:55:12 2001 ++++ libxslt/extra.c Mon Aug 27 13:24:28 2001 +@@ -235,7 +235,12 @@ + * Calling localtime() has the side-effect of setting timezone. + * After we know the timezone, we can adjust for it + */ +- lmt = gmt - timezone; ++ /* ++ * May be on some stupid Linux localtime() have such side-effect, ++ * but FreeBSD DOESN'T HAVE such side-ffect, so we should use ++ * local_tm. ++ */ ++ lmt = gmt - local_tm->tm_gmtoff; + + /* + * FIXME: it's been too long since I did manual memory management. |