I committed an update to that earlier today. The existing patches are based on much older code, much of which was no longer relevant even before the update (i.e. they already fixed a bunch of things for 32-bit machines with 64-bit time_t, though not quite all; reading times from files wasn't working properly which resulted in about half the tests failing). what I committed passes all tests on 32-bit and 64-bit archs but if you run into other problems at runtime let me know (with a reproducer if possible please). On 2026/11/21 10:06, Heppler, J. Scott wrote: > Upstream released 4.9.0 last week. It's was fairly extensive but missed > a few items which were subsequently addressed in 4.9.1. > > Updating the port mainly concerns applying patches for 64bit time. > With the exception of the following, they look fairly easy with shifts > of a few lines. > > src/day.c > Index: src/day.c > --- src/day.c.orig > +++ src/day.c > @@ -856,6 +856,7 @@ int day_paste_item(struct day_item *p, time_t date) > * Careful: p->start is not yet set. > */ > time_t until; > + long until_l; > switch (p->type) { > case EVNT: > > The new 4.9.1 code now assigns time_t until=0; > > Should the old patch src/day.c > > long until_l; > > be updated to > > long until_l=0; > ? > > Thanks, > -- > J. Scott Heppler >
No comments:
Post a Comment