pkgsrc/devel/cvs-fast-export/patches/patch-lex.l
ryoon 875567caa0 Update to 1.30
Changelog:
1.30: 2015-04-02
    Tagged branchlets are created for any CVS tag not matching a gitspace commit.
    Many portability fixes for *BSD.

1.29: 2014-12-17
    A significant improvement in the correctness of vendor-branch handling.
    More speed improvements.

1.28: 2014-12-08
    Fix for buggy emission of lines ending in @.
    More speedups, and dramatic reduction in working-set size.

1.27: 2014-11-27
    The bug that produced "unnumbered head" warnings has been fixed.

1.26: 2014-11-05
    cvscompare changed to cvsconvert, a validating wrapper script.
    The rules for keyword expansion have changed yet again.

1.25: 2014-11-03
    Simplify and fully document -k; it now requires an argument.
    In normal (non-promiscuous) mode, paths containing CVSROOT are ignored.
    There is a new wrapper script, 'cvscompare', for sanity-checking conversions.
    A HOWTO on reporting bugs has been added to the distribution.

1.24: 2014-10-30
    Bugfix release: a late change to I/O buffering in 1.23 was faulty.

1.23: 2014-10-29
    New -l option for redirecting logs during long conversions.
    More speedups and working-set reductions.
    Incremental dumping can now be done in fast mode.

1.22: 2014-10-21
    New --embed-id and --expand options by Robert deBath.

1.21: 2014-10-19
    When incremental dumping, suppress tags associated with old commits.
    Performance improved by x8; see also the new -F and -C options.
    New -a optio to dump a list of author IDs found in a repo.

1.20: 2014-10-08
    Files not ending with ,v are now ignored unless the new -P option is on.
    New -t option for parallelizing analysis on multicore systems.

1.19: 2014-10-04
    Dramatic speedups in some bottleneck functions.

1.18: 2014-10-02
    A bug in the regression tests was fixed by slowing down calls to CVS.

1.17: 2014-09-11
    Some changes to reduce working-set size. More internals documentation.

1.16: 2014-09-04
    Added an internals tour to the documentation. Polished some comments.
    Prevented a possible buffer overrun.  Fixed broken -R option.

1.15: 2014-09-02
    Fixed a nasty order-instability bug that was confounding testing.
    Add a fatal error check for when revision numbers in input get too long.
    A significant speed improvement by tuning one of the sort algorithms.

1.14: 2014-08-12
    Fixed several issues near ignore conversions.

1.13: 2014-08-11
    Allow ()<> in symbol names.
    Fix a minor memory leak.
    Make cvssync a bit more liberal about SourceForge hostnames.
    In cvssync, leading /cvsroot can be omitted on Sourceforge paths.
    In cvssync, leading /sources can be omitted on Savannah paths.

1.12: 2014-06-26
    Allow []! in symbol names.
    Python in the test suite now runs under 2.6.

1.11: 2014-06-06
    Teach cvssync about sourceware.org.
2015-04-16 23:05:06 +00:00

14 lines
423 B
Text

$NetBSD: patch-lex.l,v 1.2 2015/04/16 23:05:07 ryoon Exp $
'struct tm' has no member named 'tm_zone' on SunOS
--- lex.l.orig 2015-01-18 10:11:55.000000000 +0000
+++ lex.l
@@ -313,7 +313,7 @@ lex_date(const cvs_number* const n, yysc
tm.tm_min = n->n[4];
tm.tm_sec = n->n[5];
tm.tm_isdst = 0;
-#ifndef __CYGWIN__
+#if !defined(__CYGWIN__) && !defined(__sun)
tm.tm_zone = 0;
#endif
d = mktime(&tm);