From: "'Quentin Rameau' via voidlinux" <voidlinux@googlegroups.com>
To: voidlinux@googlegroups.com
Subject: [PATCH] musl: move NPROCESSORS* constants to regular namespace
Date: Sun, 6 Nov 2022 09:09:03 +0100 [thread overview]
Message-ID: <Y2drn+ld0eiwWALG@fifth.space> (raw)
The constants _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN
have been included in POSIX-next[0] so we can already make them
available as they don't conflict with anything else.
Move them in their own commented caterogy, maybe,
once POSIX release has been done.
[0] https://austingroupbugs.net/view.php?id=339
---
srcpkgs/musl/files/getconf.c | 4 ++--
srcpkgs/musl/template | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/musl/files/getconf.c b/srcpkgs/musl/files/getconf.c
index c4235242b0..5aebeb6b2a 100644
--- a/srcpkgs/musl/files/getconf.c
+++ b/srcpkgs/musl/files/getconf.c
@@ -170,8 +170,8 @@ static const struct conf_variable conf_table[] = {
/* Commonly provided extensions */
{ "_PHYS_PAGES", SYSCONF, _SC_PHYS_PAGES },
{ "_AVPHYS_PAGES", SYSCONF, _SC_AVPHYS_PAGES },
-{ "_NPROCESSORS_CONF", SYSCONF, _SC_NPROCESSORS_CONF },
-{ "_NPROCESSORS_ONLN", SYSCONF, _SC_NPROCESSORS_ONLN },
+{ "NPROCESSORS_CONF", SYSCONF, _SC_NPROCESSORS_CONF },
+{ "NPROCESSORS_ONLN", SYSCONF, _SC_NPROCESSORS_ONLN },
/* Data type related extensions */
{ "CHAR_BIT", CONSTANT, CHAR_BIT },
diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template
index 5bdc5c48e6..34e6ed4fba 100644
--- a/srcpkgs/musl/template
+++ b/srcpkgs/musl/template
@@ -2,7 +2,7 @@
pkgname=musl
reverts="1.2.0_1"
version=1.1.24
-revision=10
+revision=11
archs="*-musl"
bootstrap=yes
build_style=gnu-configure
--
2.38.1
--
You received this message because you are subscribed to the Google Groups "voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/Y2drn%2Bld0eiwWALG%40fifth.space.
next reply other threads:[~2022-11-06 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-06 8:09 'Quentin Rameau' via voidlinux [this message]
2022-11-06 18:07 ` Leah Neukirchen
2022-11-06 19:05 ` 'Quentin Rameau' via voidlinux
2022-11-06 19:05 ` [PATCH] musl: add " 'Quentin Rameau' via voidlinux
2022-11-07 14:28 ` [PATCH] musl: move " Leah Neukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y2drn+ld0eiwWALG@fifth.space \
--to=voidlinux@googlegroups.com \
--cc=quinq@fifth.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).