From nobody Sun May 28 18:39:11 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 4QTnW35Cgxz4XkQg; Sun, 28 May 2023 18:39:11 +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 4QTnW34Z1Gz3qjr; Sun, 28 May 2023 18:39:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685299151; 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=GIQyYb3UtotnpA+svnAUm3f2/S5q/qH4Q9soZZB5frs=; b=bIZ9phcrGzlzhAJQj+p0mkvx7bfoUQ2wOZD6KIQdsdmdbxeBdw6iyM1Af8Z9X5dqF7EDjh pWcKTvv2c9YSzbOGpLsEgdNREg2PfTiZW3iNNogne2MwEyrkcyJjXETMhhl8izisWpqp+T wS2SlEa+sj2UruPyEl10cAlu8HLL6Inn5wy/f8xADrd/zA+5CzUA4huOblBNVZHMZhcmP4 0p6mR6gzCqs20KbcpNeajJwKR1gYqIRfSs+Cs1pFnz6sykU14KFjfGmPy82m8wDJxJvzn2 U5SWbio4v/0dRTfLCtazArKsOuGyC/0ByUy5MY81rb3fGgEQYeN4jlFDeyR3Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685299151; 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=GIQyYb3UtotnpA+svnAUm3f2/S5q/qH4Q9soZZB5frs=; b=JYZE/T4KmFmIuJ6+aelVOaiSdht86P0iNXVBkDAVIKE9pEnLikoQxFTkc27xAmWxoaYgi9 jXiKbQqQS9lAt0Q0JMkIZCTIUC+MXW3CKbRMNwsvz+eWcdfj7M3S7LQdmOLyjDUZWQoIRC Kx5wK2NS6GzyVxqWOYwUCoM8TqlpztNd1QVwjpJKQR1bHPA7Pr2IW8c7H8SmIdu04CkLlO fvDswtCo6B7R3lg2VNeCzHT0OsRzSmaleFrf/zQMe+LKLMhL84PHxBYdvt4KYpotgmcCQg xFliGBfc0Y4rBAyYQ9W53u4LOmhQ7X4TveGM4UN2touxYV0U+e2wWIJyzisN4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685299151; a=rsa-sha256; cv=none; b=fRWRbvElHYqJUehVx2iZsf0aI84y7PDkOnSuSYEAnkOq0QU1WJ1qMWMxuXLqVI8RCQqF1n aUQrD+k0tCmjljhf2BPyeMipGHqCX8drdlH6oxK34OmhS9T9nk4F8cKODKutLEp1Ih59qH qhsbArcsnMNUwauhJpbVaE34B+hBota9ai/gGgTMQV8eyVcJodr+Jc6xwDDEtza5vXpHCJ 5n+lHqf0KdUnIdbea922IhEZPu6sLFF4g7fkEATJxfidmQF00wFn092yKQ5CtAaj/pA6AX JMjipgeCRHbbp/B1StK4o6n1vtmWnprOXRYqLFEJUBIOsMpVjQvjwp6spKvgkg== 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 4QTnW33W55zgX6; Sun, 28 May 2023 18:39:11 +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 34SIdBXn013270; Sun, 28 May 2023 18:39:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34SIdBXt013269; Sun, 28 May 2023 18:39:11 GMT (envelope-from git) Date: Sun, 28 May 2023 18:39:11 GMT Message-Id: <202305281839.34SIdBXt013269@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: dd7afe65c58a - main - lang/gcc14-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: dd7afe65c58a8083ccf6f3a9e063df6a7620e5b5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd7afe65c58a8083ccf6f3a9e063df6a7620e5b5 commit dd7afe65c58a8083ccf6f3a9e063df6a7620e5b5 Author: Lorenzo Salvadore AuthorDate: 2023-05-24 21:45:22 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-05-28 18:39:06 +0000 lang/gcc14-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: 8a1885234ce7 lang/gcc14-devel: Enable support for .init_array and .fini_array --- lang/gcc14-devel/Makefile | 1 + lang/gcc14-devel/files/patch-gcc_configure | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lang/gcc14-devel/Makefile b/lang/gcc14-devel/Makefile index cc06aa69116f..5d6698a39990 100644 --- a/lang/gcc14-devel/Makefile +++ b/lang/gcc14-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc PORTVERSION= 14.0.0.s20230514 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel diff --git a/lang/gcc14-devel/files/patch-gcc_configure b/lang/gcc14-devel/files/patch-gcc_configure index d4e7e8d23e60..cc60593ba6f7 100644 --- a/lang/gcc14-devel/files/patch-gcc_configure +++ b/lang/gcc14-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