Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: CVS: cvs.openbsd.org: ports
To:
ports@openbsd.org, mn@superpc.suicide.solutions, kn@openbsd.org, noiseless-ak@yandex.ru
Date:
Tue, 22 Sep 2026 21:17:19 +0100

Download raw body.

Thread
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.


> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/libdispatch/Makefile,v
> diff -u -p -r1.12 Makefile
> --- Makefile	20 Sep 2026 15:50:44 -0000	1.12
> +++ Makefile	22 Sep 2026 19:02:40 -0000
> @@ -2,6 +2,7 @@ COMMENT =	support for concurrent code ex
>  
>  PKGNAME =	libdispatch-$V
>  V =		6.4.0
> +REVISION =	0
>  
>  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
> --- /dev/null	1 Jan 1970 00:00:00 -0000
> +++ patches/patch-src_event_event_config_h	22 Sep 2026 19:02:40 -0000
> @@ -0,0 +1,16 @@
> +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
> 
> 
> -- 
> wbr, Kirill