Index | Thread | Search

From:
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
Subject:
install private headers in devel/libdispatch
To:
ports <ports@openbsd.org>
Date:
Thu, 4 Dec 2025 20:34:39 +0100

Download raw body.

Thread
Hi,

x11/gnustep/libobjc2 provides it's own Blocks Runtime. In the current
version it's installed a bit out of the way to prevent trouble with
devel/libdispatch. But when installing libdispatch, and want to use
libdispatch in an Objective-C project, then bad things happen, because the
Blocks runtimes in libdispatch and libobjc2 then kind of conflict. It's
basically not usable.
The latest version of libobjc2 allows to disable internal Blocks Runtime,
and use the one from libdispatch. To actually be able to use it, the
private headers for libdispatch are needed, or in
particular Block_private.h.

Attached patch to devel/libdispatch finally allows me to use libdispatch in
Objective-C applications.

comments, questions, or concerns are welcome, even OKs ;)

thanks,
Sebastian