Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2026 21:21:21 +0000
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5802e9ec58ca - main - devel/libdispatch: do not define HAVE_DISPATCH_WORKQ_MONITORING on FreeBSD
Message-ID:  <6983b851.3e218.3ed75193@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5802e9ec58cadcab823527e55d66c658c1f010a6

commit 5802e9ec58cadcab823527e55d66c658c1f010a6
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-02-04 21:18:56 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-02-04 21:18:56 +0000

    devel/libdispatch: do not define HAVE_DISPATCH_WORKQ_MONITORING on FreeBSD
    
    It causes random crashes in telegram-desktop
    
    Reported by:    freebsd_ru community members
---
 devel/libdispatch/Makefile                                    |  1 +
 devel/libdispatch/files/patch-src_event_workqueue__internal.h | 11 -----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/devel/libdispatch/Makefile b/devel/libdispatch/Makefile
index f3ae0f1b572c..4a6e9475719f 100644
--- a/devel/libdispatch/Makefile
+++ b/devel/libdispatch/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libdispatch
 DISTVERSION=	6.1.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel
 
diff --git a/devel/libdispatch/files/patch-src_event_workqueue__internal.h b/devel/libdispatch/files/patch-src_event_workqueue__internal.h
deleted file mode 100644
index e393356ad346..000000000000
--- a/devel/libdispatch/files/patch-src_event_workqueue__internal.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/event/workqueue_internal.h.orig	2025-03-07 00:50:44 UTC
-+++ src/event/workqueue_internal.h
-@@ -30,7 +30,7 @@ void _dispatch_workq_worker_unregister(dispatch_queue_
- void _dispatch_workq_worker_register(dispatch_queue_global_t root_q);
- void _dispatch_workq_worker_unregister(dispatch_queue_global_t root_q);
- 
--#if defined(__linux__) || defined(_WIN32)
-+#if defined(__linux__) || defined(_WIN32) || defined(__FreeBSD__)
- #define HAVE_DISPATCH_WORKQ_MONITORING 1
- #else
- #define HAVE_DISPATCH_WORKQ_MONITORING 0


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6983b851.3e218.3ed75193>