From nobody Mon May 22 20:35:20 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QQ8Mr4hpKz4CQVD; Mon, 22 May 2023 20:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QQ8Mr4BVgz4Bm4; Mon, 22 May 2023 20:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684787720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dNNBy/muDziVJ572ebpb51PZ6p2LMoyXHyOCfqekIcw=; b=H30c6sC5DNdINX77M2ClYY4cAwdd3IY5UWa34R90SVuNHL1DtevFAx3Kzj0s4ekMUZIUxW OXDW09o0Q2r0ZXuzv49/433NPjzurMneDNiHcCq+zA9m0UdJPoGT40HLcZVdagyIxWVxNI 2FN9oJC4uG02bLpv06cHDNfTNESe1DWyajvlABqtLJ70QKrVHsBTCPqH7gIVUaHRzomQHh vM9fUsYMu0zhn7ShnltsW8DF8Y1zlC5nPdVUZY78h6JWZp1cEcQ1pSCu9iSW1YE/QVftsZ lrWeSxpS/cx0rwn/nvHXTo2tS6eu0KYOxWL/nFQdj1VwraMRkXqdWmMi2j3urA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684787720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dNNBy/muDziVJ572ebpb51PZ6p2LMoyXHyOCfqekIcw=; b=Hj4cniYwAW3xNdLGTpNmHt4f38XGdViYYED2jO3/E1wIIxXYsHPhwqwww8rP9dNo7Jnih2 qyI0UBgUQBwUgUSj8EoLqgywSuqF9JcbpPHuSiVDof5SQlvtbHGiqzFxpoPtVb3iGcCqzN SdDAxo9T6eRr+E8mSDRwuskDl//Mlz+kRb+8xESOprziC0OBE/QBfWQ9iSgmeYtrk7TAnq jGmBZ486PG+FdDTPlb3b82zSR5N2LDlQ5vdEtlmw024mLe5rhXmdtcXTXjaTb/SBY9miw3 dsjxgzIvKoofL5YgwWY9SxvNLCOTcJJJk4EN//Q6QHD6/QJDuioLoouQRav26Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684787720; a=rsa-sha256; cv=none; b=BzgbfoKz5xxj3SyMKrID7ZbSaLrmccaRnbtR2NR8ko61WEzGFpqHYIlEl5zGF/qqvMF4Sb wsLENcKlr+wvS9TDeKVSL42hWm/RSg0tk1Hpf/o+b2SsrnkLaXt2o74hugwcTvHkUl/Jk8 GuP4s6PA3hE1+O5bcblaQG2iB+4aneYb1XTNPnnNeIzFApoCemAvRQG8Do3/16gEb52MQi iDYiCFg2jsn5Vk0LzKPCK7CaJFT83un45jnUPFT0S4pbKsrmYVHa5ksR+FBLd4jA7/Z+xr cw5HYKtOgZn1L9jFcOVDdniCKrVbd21JQSM7j/C9eZPGw/dSKPYBa5aH6VBQFw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QQ8Mr3GdlzXZD; Mon, 22 May 2023 20:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34MKZKiq053308; Mon, 22 May 2023 20:35:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34MKZK8k053307; Mon, 22 May 2023 20:35:20 GMT (envelope-from git) Date: Mon, 22 May 2023 20:35:20 GMT Message-Id: <202305222035.34MKZK8k053307@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: 371841193135 - main - lang/gcc13-devel: Fix enable init_array patch List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 371841193135b8822ac3638ac0eec10cbf8b1983 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=371841193135b8822ac3638ac0eec10cbf8b1983 commit 371841193135b8822ac3638ac0eec10cbf8b1983 Author: Lorenzo Salvadore AuthorDate: 2023-05-22 17:53:27 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-05-22 20:34:50 +0000 lang/gcc13-devel: Fix enable init_array patch Add an error line that was missing in case _FreeBSD_version < 1000010. Reported by: gnikl@users.sourceforge.net Fixes: 503f89cfa5ce lang/gcc13-devel: Enable support for .init_array and .fini_array --- lang/gcc13-devel/Makefile | 1 + lang/gcc13-devel/files/patch-gcc_configure | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lang/gcc13-devel/Makefile b/lang/gcc13-devel/Makefile index 832a9172a6f9..10e804d3d609 100644 --- a/lang/gcc13-devel/Makefile +++ b/lang/gcc13-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc PORTVERSION= 13.1.1.s20230513 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel diff --git a/lang/gcc13-devel/files/patch-gcc_configure b/lang/gcc13-devel/files/patch-gcc_configure index d4e7e8d23e60..cc60593ba6f7 100644 --- a/lang/gcc13-devel/files/patch-gcc_configure +++ b/lang/gcc13-devel/files/patch-gcc_configure @@ -4,9 +4,9 @@ repository. There __FreeBSD_version is 1000009, so we start enabling the support from __FreeBSD_version == 1000010. ---- gcc/configure.orig 2023-05-04 17:36:54 UTC +--- gcc/configure.orig 2023-05-11 22:33:34 UTC +++ gcc/configure -@@ -24214,6 +24214,11 @@ EOF +@@ -24214,6 +24214,13 @@ EOF #else # if defined __sun__ && defined __svr4__ /* Solaris ld.so.1 supports .init_array/.fini_array since Solaris 8. */ @@ -14,6 +14,8 @@ from __FreeBSD_version == 1000010. +# include +# if __FreeBSD_version >= 1000010 + /* FreeBSD supports .init_array/.fini_array since FreeBSD 10. */ ++# else ++# error The C library not known to support .init_array/.fini_array +# endif # else # error The C library not known to support .init_array/.fini_array