Thursday, September 24, 2026

Re: CVS: cvs.openbsd.org: ports

On Thu, 24 Sep 2026 16:40:34 +0200, Stuart Henderson <stu@spacehopper.org> wrote: > > On 2026/09/23 18:49, Brad Smith wrote: > > On Tue, Sep 22, 2026 at 09:17:19PM +0100, Stuart Henderson wrote: > > > On 2026/09/22 21:04, Kirill A. Korinsky wrote: > > > > Well, check-shlib-syms states that here no difference... probably > > > > SHARED_LIBS really doesn't need a bump. > > > > > > it seemed that way to me (and I was quite happy to get rid of all those > > > patches!). > > > > > > > Anyway, here a diff which a bit hacky and fixes regression in tdesktop and > > > > 64gram, and I think in other similar places. > > > > > > > Thoughts? > > > > > > thanks, that makes sense. ok. > > > > This looks like a more appropraite fix. > > > > > > Index: Makefile > > =================================================================== > > RCS file: /cvs/ports/devel/libdispatch/Makefile,v > > retrieving revision 1.13 > > diff -u -p -u -p -r1.13 Makefile > > --- Makefile 22 Sep 2026 20:26:42 -0000 1.13 > > +++ Makefile 23 Sep 2026 22:24:43 -0000 > > @@ -2,7 +2,7 @@ COMMENT = support for concurrent code ex > > > > PKGNAME = libdispatch-$V > > V = 6.4.0 > > -REVISION = 0 > > +REVISION = 1 > > > > GH_ACCOUNT = apple > > GH_PROJECT = swift-corelibs-libdispatch > > Index: patches/patch-src_event_event_config_h > > =================================================================== > > RCS file: patches/patch-src_event_event_config_h > > diff -N patches/patch-src_event_event_config_h > > --- patches/patch-src_event_event_config_h 22 Sep 2026 20:26:42 -0000 1.1 > > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > > @@ -1,18 +0,0 @@ > > -https://github.com/swiftlang/swift-corelibs-libdispatch/pull/960 > > - > > -Index: src/event/event_config.h > > ---- src/event/event_config.h.orig > > -+++ src/event/event_config.h > > -@@ -116,9 +116,10 @@ > > - # define NOTE_FUNLOCK 0x00000100 > > - # endif > > - > > --// FreeBSD's kevent does not support those > > -+// FreeBSD's and OpenBSD's kevent does not support those > > -+// OpenBSD's NOTE_ABSTIME uses CLOCK_REALTIME > > - # ifndef NOTE_ABSOLUTE > > --# ifdef NOTE_ABSTIME > > -+# if defined(NOTE_ABSTIME) && !defined(__OpenBSD__) > > - # define NOTE_ABSOLUTE NOTE_ABSTIME > > - # else > > - # define NOTE_ABSOLUTE 0 > > Index: patches/patch-src_event_event_kevent_c > > =================================================================== > > RCS file: patches/patch-src_event_event_kevent_c > > diff -N patches/patch-src_event_event_kevent_c > > --- /dev/null 1 Jan 1970 00:00:00 -0000 > > +++ patches/patch-src_event_event_kevent_c 23 Sep 2026 22:24:43 -0000 > > @@ -0,0 +1,41 @@ > > +- Use relative kqueue deadlines for BSD uptime and monotonic timers > > + https://github.com/swiftlang/swift-corelibs-libdispatch/pull/943 > > + > > +Index: src/event/event_kevent.c > > +--- src/event/event_kevent.c.orig > > ++++ src/event/event_kevent.c > > +@@ -60,10 +60,22 @@ DISPATCH_STATIC_GLOBAL(struct dispatch_muxnote_bucket_ > > + #define DISPATCH_NOTE_CLOCK_UPTIME 0 > > +

No comments:

Post a Comment