Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2025 08:18:30 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 11709058bf68 - main - libstdthreads: Move to the runtime package
Message-ID:  <202509300818.58U8IUDo024749@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=11709058bf680f5738c6656597f2ff9e662c9400

commit 11709058bf680f5738c6656597f2ff9e662c9400
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-09-30 08:11:14 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-30 08:14:38 +0000

    libstdthreads: Move to the runtime package
    
    This library is required for C11 conformance, and is tiny (11kB), so
    instead of creating a bunch of packages for it, put it in runtime.
    
    Although this is a core C library and might be expected to live in
    clibs, kib objected to this on the basis that almost nothing actually
    uses libstdthreads and putting it in clibs would be wasteful.
    
    MFC after:      1 day
    Reviewed by:    kib
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D52792
---
 lib/libstdthreads/Makefile                 |  2 +-
 release/packages/ucl/libstdthreads-all.ucl | 28 ----------------------------
 2 files changed, 1 insertion(+), 29 deletions(-)

diff --git a/lib/libstdthreads/Makefile b/lib/libstdthreads/Makefile
index 49d024052420..dcdac58efc12 100644
--- a/lib/libstdthreads/Makefile
+++ b/lib/libstdthreads/Makefile
@@ -1,4 +1,4 @@
-PACKAGE=lib${LIB}
+PACKAGE=runtime
 LIB=	stdthreads
 SHLIB_MAJOR= 0
 
diff --git a/release/packages/ucl/libstdthreads-all.ucl b/release/packages/ucl/libstdthreads-all.ucl
deleted file mode 100644
index 493a1cce1a46..000000000000
--- a/release/packages/ucl/libstdthreads-all.ucl
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * SPDX-License-Identifier: ISC
- *
- * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-comment = "C11 threading library"
-
-desc = <<EOD
-libstdthreads provides the thread-control interface defined in the
-ISO/IEC 9899:2011 (C11) standard.
-EOD
-
-annotations {
-	set = "optional,optional-jail"
-}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509300818.58U8IUDo024749>