From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1420 invoked from network); 6 Nov 2022 19:06:20 -0000 Received: from mail-lj1-x240.google.com (2a00:1450:4864:20::240) by inbox.vuxu.org with ESMTPUTF8; 6 Nov 2022 19:06:20 -0000 Received: by mail-lj1-x240.google.com with SMTP id e15-20020a2e8ecf000000b00277113737fdsf3342095ljl.17 for ; Sun, 06 Nov 2022 11:06:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667761579; cv=pass; d=google.com; s=arc-20160816; b=vSrraUeywOtVevYzFgQzlN2Atc7JeitkgjKeyv0cEdtHXGedA86EzG8YmrVvvMNnW1 QnGsGvUh9XmrAmG1lqKVKUetmmlGmFMijqJwry1Dzo5U4FzrSc4TR6s/cWMhfBRvw0oY gsS6wRwa7OT3Q/w3FuxF6wUNBaDSherWdaZUCxV1sW43FmnPeNwST+pkghpT+yGLc0oJ 65b/iFTLJFBy3x22nDEmC58kF1O3L6raMK/rVp1EwPnAjR5fUnKK1eQSBpl+1qjt1Edt cP06+x1KD6F6ladZG3v35wsjyQPlCQMnRZVO36WNjqgAawvEwhRTy/wHzJ0rgsT/3tHe C6lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:references :in-reply-to:message-id:date:subject:to:from:dkim-signature; bh=DtcZhoXoby8wIiAM0UrsJGv1WoDuE4ANYFML0GA9heQ=; b=LrOB4tXVyXuHmZf+vKtdMwWQp9+mQiYPF/npBCwn7hUpF//6nPLm5DQ1GUDIX/lkeE zUpEAeincjyFrQNeH1IPzNlJwVv2WjTKDwUbBLArFaI88NVEb/w6+q+jHj0dUAD4Tl+m HQaR9WVoI1xGGgJk8YjYjgKWstyzJU7BIIZcla/dK4SVRajKumLp1TmNl12EVPTuT6/f KsRQfI7RGBUgUUdj7dZpjyCbcokqt98JjuEs/KqgWgKGQprSuFJGbdyM/Liqyks5XAPH n85KzP8VaWug3ibJEFXdo50RYunjMLouXrEL36rPx3qszQifK64Uwnl1/i3mi7MXrnSZ 8vhg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@fifth.space header.s=20190812 header.b=Swn8D4mS; spf=pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) smtp.mailfrom=quinq@fifth.space; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fifth.space DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=DtcZhoXoby8wIiAM0UrsJGv1WoDuE4ANYFML0GA9heQ=; b=HJjBb0R1fOx7BiRkoMGMiTV6g63a6ceT0mtqz9WgVyyc7VkwjpPMbJ1MLfrAFgY80Y TNwMFVWmgIl4TLM5tE9c+c1BDQelfoUiXwUqgECwZ+Ibds88xq1GepqaKha3MC1xtoKe udErO3ykt1XaKEQdV0cWVoUPeaqXzGuRjEBL/782Pj/3Ev2qusfTtREl8mf9gWFza2kM 0tIyMilhOUT+oiX7Xwwqu7Z3plwLQsrTELyqMuQzIIwgMuicimELuVaZYI03NMHdjNDS pWCY37gglSIZMFZ+lXD/xjEJcg5/KlqGOFfrO6K5FTNDiCPB5+W5p4Y7kgyzGdgZ7X50 XIBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DtcZhoXoby8wIiAM0UrsJGv1WoDuE4ANYFML0GA9heQ=; b=Yqkvl21EaFi+ITaMgi8R+aaSDlOkXHxjaja6Aa45iUV17dt+iiiu1FDesfgiUhiYFr TsO8oWhFEXL9Gp70JSO+Mm6ImrRjGKouWiwAtH7AzK5/3nXd31ZtMRxSjhTasoHz0QUQ CNAxJoZ0qDrFXyDrEj1eqheAlEGwLjxFpGMM2FAdWzYWaHRQNkwcidEZNML8NGXZpooc +fYCVQbSe5gZtqsevhKNm0pXptfCi20Pq8fIYmCwDj+FnmBmp4QKfit69ph3V4A12kMs 9C3pjJSEkx1TpA6GGsyimXbUBBlCOEu5sCShfrQGG8XGgRuL4XtjOtKsE7YJV2odUkS2 Y+9w== X-Gm-Message-State: ACrzQf3PVvkcmHZqz8eDDmS/NDoJlTWosWB9kW0pQshX+HwUNwmTJVGQ 9/jET3x3LhWlQamZ463Ah2k= X-Google-Smtp-Source: AMsMyM4ipcybOTRdoGWrEzpPzMnu5hB4aFWumgUuaDScP9PMYpyQmInWxEaXArvw1mRRtKKmq4al6w== X-Received: by 2002:a2e:9095:0:b0:276:cd72:10cf with SMTP id l21-20020a2e9095000000b00276cd7210cfmr4689743ljg.151.1667761579576; Sun, 06 Nov 2022 11:06:19 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 2002:a2e:8781:0:b0:26f:8b88:ccbf with SMTP id n1-20020a2e8781000000b0026f8b88ccbfls1879552lji.1.-pod-prod-gmail; Sun, 06 Nov 2022 11:06:18 -0800 (PST) X-Received: by 2002:a05:651c:883:b0:26d:d4ce:befa with SMTP id d3-20020a05651c088300b0026dd4cebefamr15772399ljq.180.1667761578134; Sun, 06 Nov 2022 11:06:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667761578; cv=none; d=google.com; s=arc-20160816; b=uPdATR7EFONYa9hShoAOuJc2dT88B+WSepHEAjzsJrm0Nqh2xucwyM++EfMZDQQjDw B7JYZ309hi3FkcTDi+qG7zJe59Z346OMB2HDqwtTUwDj0QD8R5yiy40bko/I9Odme00f 4jxJwHTqOUcaAEN+1WLPjc+wnwiViO4QmywC2WTThfyvQJSrZQV/lOz9iGlm5hPNuC3N WmizOdbv7K1HfjPujEn4X4NY1FuuMJ4LHPAxT9sep02n4cTONJ+cMgTuU7oVCS8dQUPF 4HuNOmBYbIRMIwtgZjJvVMipr+iCSW7BhUMBKdjoRifgCwmxS4BvcW8oEIqxK0Ly8OXL krkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=SnVf4D/PV8iyNcWr2EbMV/jUsoWh4Lr6ohmgUX6hl/g=; b=VfuLDDZVkqC7g6ECoCRWWVSyiJsvwf+S1B45pcnxn14bNR/hirE3DiyyoudO688nk9 wQDGW+5EAyJjM/s6xt6NsvyibWSXV6FZKvNKh3IPr+VQZmm3livdr9ICMUPn7m3C6ahR X3fwT7yWbqB4vos1138o1CZ2iqOVTykSHZJwxSJaFsMg1PIDmBVdtC8EXbdSmQMcwGBB 5oLxM13ZTRy/xqs3SABmooi/c4SrK88jNIiijLwTmy484HTDPGtQOmEEXiP9jmxgf9cR ajcS0p86MpJlqn4vo3y6pBXv5C+IEGCZLP9UUfhwoINQ5ONZJSrXxfoKq+A3CTMj6dKj m2xw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@fifth.space header.s=20190812 header.b=Swn8D4mS; spf=pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) smtp.mailfrom=quinq@fifth.space; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fifth.space Received: from fifth.space (fifth.space. [45.32.148.28]) by gmr-mx.google.com with ESMTPS id i24-20020a2ea378000000b0027760dd5b20si191565ljn.3.2022.11.06.11.06.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 11:06:18 -0800 (PST) Received-SPF: pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) client-ip=45.32.148.28; Received: by fifth.space (OpenSMTPD) with ESMTPSA id 07d81f05 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 6 Nov 2022 20:06:11 +0100 (CET) From: "'Quentin Rameau' via voidlinux" To: voidlinux@googlegroups.com Subject: [PATCH] musl: add NPROCESSORS* constants to regular namespace Date: Sun, 6 Nov 2022 20:05:58 +0100 Message-Id: <20221106190558.26434-2-quinq@fifth.space> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221106190558.26434-1-quinq@fifth.space> References: <87o7tkvtw7.fsf@vuxu.org> <20221106190558.26434-1-quinq@fifth.space> MIME-Version: 1.0 X-Original-Sender: quinq@fifth.space X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fifth.space header.s=20190812 header.b=Swn8D4mS; spf=pass (google.com: domain of quinq@fifth.space designates 45.32.148.28 as permitted sender) smtp.mailfrom=quinq@fifth.space; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fifth.space X-Original-From: Quentin Rameau Reply-To: Quentin Rameau Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list voidlinux@googlegroups.com; contact voidlinux+owners@googlegroups.com List-ID: X-Google-Group-Id: 289663804196 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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. The previous definitions are kept for backward-compatibility, although most likely nobody uses those as they're undocumented extensions of this implementation; remove them later. [0] https://austingroupbugs.net/view.php?id=339 --- srcpkgs/musl/files/getconf.c | 2 ++ srcpkgs/musl/template | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/musl/files/getconf.c b/srcpkgs/musl/files/getconf.c index c4235242b0..0435e59345 100644 --- a/srcpkgs/musl/files/getconf.c +++ b/srcpkgs/musl/files/getconf.c @@ -172,6 +172,8 @@ static const struct conf_variable conf_table[] = { { "_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/20221106190558.26434-2-quinq%40fifth.space.