From patchwork Thu Nov 10 23:07:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Salvadore X-Patchwork-Id: 18343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp423714wru; Thu, 10 Nov 2022 15:08:22 -0800 (PST) X-Google-Smtp-Source: AMsMyM6ltu0UxSME7AKvf4yT5dsSHef97l+tw+8HB8UH3kgKKoqhdz4CMmlxf7ntcb7FPXh4cPhS X-Received: by 2002:a17:906:30c9:b0:78d:9bcf:4d9f with SMTP id b9-20020a17090630c900b0078d9bcf4d9fmr4136748ejb.749.1668121702007; Thu, 10 Nov 2022 15:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668121702; cv=none; d=google.com; s=arc-20160816; b=EkpKTPJqH2PGRQzXp3FCMTV9w6kmvv7/+EXbnaCQJl+cpRjIgM9bLKZLD38dny0yLy kiP+PXB/eQ9T4liOdClu5Mlh9aQqFmPPtyr2EckTXC7P/0SKyMXnpr4nefJdkvmD3O3E oxzaDt0uZGqTEtUIwQnuWtBXnNPh+xMgoQ7dni5NKV7wvFnl0y+dSsbxH6tWaUHks8mN Mo02aMefrIPfwZtDAtBxskJI8c6X03Cp7F0KuOtu8fSUVG0gNTF1ngHUdQMxwOIT3ZRJ y5vNkk8nyHC3m8jYtPlBWSqj5M38HxBQ+o9/Y5Pjbgp2FFCoIplmVQrgQxqUWCdZ0rwH Nqkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:feedback-id:message-id :subject:cc:to:date:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=PTxHPyEXaiDNAu1ufAhMtjnKOQyumJgTmG8AdL7QSmc=; b=tPc0yO0KqKC0iino+vrBT+DHQ1+PI24V8sKPtuvqJLsYCGH/ifghbZO5ddPmchV+VI IDZFRgKw2Db1mxgX/ZpfCHH6Nuozi/X6SsR13PBdnFFyHr/iRv3QSftbANaYTH6wg0ZN iun5gLwME8VAXuTSv+Nlrcks0K1vgYvyW4lO2DxG4lg0eUYRJT7qcbO4qzaY54UjWQzb kmKuDxqxY0dBTM+sY1Xi6UJR8hZTKxocvIv1rBlK15akB9KI9X3iQeSEbi4zwWHRaAo9 pA2oOfTADGo5ntcoxbahaKvy8S9ZLj4jPHi9cx14pNj27MFfbxTPL+21ZLDcILjzFmzO BYfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=wvQARFBI; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id dt13-20020a170907728d00b007ada030c2e9si490012ejc.944.2022.11.10.15.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 15:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=wvQARFBI; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 13C3D3858C52 for ; Thu, 10 Nov 2022 23:08:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13C3D3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668121701; bh=PTxHPyEXaiDNAu1ufAhMtjnKOQyumJgTmG8AdL7QSmc=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=wvQARFBIL9JRLHcFicpIiV4hwA++xXsGLDwJ95ETNiT9yr7nxORmrE06GdrW9H3KH 9/zY51K2quo27aLQMC1+1CkHGm+0CzldcCKxyqZ5piYyqBYG8Y16GtRkMF0LBjIIUX UFa+JATyl8MPKiS40fCwBeh2pTckN9Sun4ma8DQ8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by sourceware.org (Postfix) with ESMTPS id BBE403857C44 for ; Thu, 10 Nov 2022 23:07:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBE403857C44 Date: Thu, 10 Nov 2022 23:07:30 +0000 To: "gcc-patches@gcc.gnu.org" Cc: "ibuclaw@gdcproject.org" , "andreast@gcc.gnu.org" , Gerald Pfeifer Subject: [PATCH] d: Update __FreeBSD_version values [PR107469] Message-ID: Feedback-ID: 53711648:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Lorenzo Salvadore via Gcc-patches From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749152381784530404?= X-GMAIL-MSGID: =?utf-8?q?1749152381784530404?= Hello, I would like to submit the patch below. Gerald Pfeifer already volunteered to commit it once approved. Thanks, Lorenzo Salvadore --- Update __FreeBSD_version values for the latest FreeBSD supported versions. In particular, add __FreeBSD_version for FreeBSD 14, which is necessary to compile libphobos successfully on FreeBSD 14. The patch has already been applied successfully in the official FreeBSD ports tree for the ports lang/gcc11 and lang/gcc11-devel. Please see the following commits: https://cgit.freebsd.org/ports/commit/?id=f61fb49b2e76fd4f7a5b7a11510b5109206c19f2 https://cgit.freebsd.org/ports/commit/?id=57936dba89ea208e5dbc1bd2d7fda3d29a1838b3 libphobos/ChangeLog: 2022-11-10 Lorenzo Salvadore PR d/107469. * libdruntime/core/sys/freebsd/config.d: Update __FreeBSD_version. --- libphobos/libdruntime/core/sys/freebsd/config.d | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.38.0 diff --git a/libphobos/libdruntime/core/sys/freebsd/config.d b/libphobos/libdruntime/core/sys/freebsd/config.d index 5e3129e2422..9d502e52e32 100644 --- a/libphobos/libdruntime/core/sys/freebsd/config.d +++ b/libphobos/libdruntime/core/sys/freebsd/config.d @@ -14,8 +14,9 @@ public import core.sys.posix.config; // NOTE: When adding newer versions of FreeBSD, verify all current versioned // bindings are still compatible with the release. - version (FreeBSD_13) enum __FreeBSD_version = 1300000; -else version (FreeBSD_12) enum __FreeBSD_version = 1202000; + version (FreeBSD_14) enum __FreeBSD_version = 1400000; +else version (FreeBSD_13) enum __FreeBSD_version = 1301000; +else version (FreeBSD_12) enum __FreeBSD_version = 1203000; else version (FreeBSD_11) enum __FreeBSD_version = 1104000; else version (FreeBSD_10) enum __FreeBSD_version = 1004000; else version (FreeBSD_9) enum __FreeBSD_version = 903000;