Bug 269462 - x11/libxcb: drop unnecessary libpthread-stubs dependency
Summary: x11/libxcb: drop unnecessary libpthread-stubs dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL: https://gitlab.freedesktop.org/xorg/l...
Keywords:
Depends on:
Blocks: 269453
  Show dependency treegraph
 
Reported: 2023-02-10 14:53 UTC by Jan Beich
Modified: 2023-03-11 17:33 UTC (History)
2 users (show)

See Also:
manu: maintainer-feedback+
antoine: exp-run+


Attachments
v1 (apply via "git am") (1.70 KB, patch)
2023-02-10 14:53 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2023-02-10 14:53:03 UTC
Created attachment 240044 [details]
v1 (apply via "git am")
Comment 1 Jan Beich freebsd_committer freebsd_triage 2023-02-10 15:14:22 UTC
Let's check if consumers directly depend on libpthread-stubs but bootleg the dependency via RUN_DEPENDS in libxcb.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2023-02-17 04:27:15 UTC
Merged upstream: will be in 1.16 but releases are infrequent, so it may take 1 more year.
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2023-02-18 07:57:09 UTC
Exp-run looks fine
Comment 4 Jan Beich freebsd_committer freebsd_triage 2023-03-01 15:13:32 UTC
Ping. I still need maintainer approval (due to past conflicts when using timeout).
Comment 5 Jan Beich freebsd_committer freebsd_triage 2023-03-11 12:36:24 UTC
Ping
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-03-11 17:33:00 UTC
A commit in branch main references this bug:

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

commit a387409d2b1af8da566cd75d43105059138fae37
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-10 14:45:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-11 17:29:05 +0000

    x11/libxcb: drop libpthread-stubs dependency

    Switch from libpthread to pthread stubs in libc. This is how
    libpthread-stubs was supposed to work before it became useless.

    PR:             269462
    Exp-run by:     antoine
    Approved by:    manu

 x11/libxcb/Makefile                    |  5 ++---
 x11/libxcb/files/patch-configure (new) | 13 +++++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)