# libpthread-stubs - weak aliases for pthread functions (pkg-config-only stub)
# https://gitlab.freedesktop.org/xorg/lib/libpthread-stubs
#
# Confirmed needed on Hammerhead 2026-07-22 (Task 4a): even though illumos
# has native pthreads, libxcb's configure hard-requires the pthread-stubs
# pkg-config module unconditionally (`xau >= 0.99.2 pthread-stubs`). Not a
# skip candidate here.
#
# Build system note: the 0.5 distfile is autotools-only (Makefile.am +
# configure.ac, no meson.build) - built with Template A, not Meson.

[package]
name = "libpthread-stubs"
version = "0.5"
release = 1
description = "Weak aliases for pthread functions not provided by all libc/libpthread implementations"
url = "https://xorg.freedesktop.org/releases/individual/lib/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = ["util-macros"]

[[source]]
file = "libpthread-stubs-0.5.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/lib/libpthread-stubs-0.5.tar.xz"]
checksum = "59da566decceba7c2a7970a4a03b48d9905f1262ff94410a649224e33d2442bc"

[build]
parallel = true
