From nobody Fri Aug 18 02:57:18 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 4RRmkQ3PSlz4qXTk; Fri, 18 Aug 2023 02:57:18 +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 4RRmkQ2zrbz3XHJ; Fri, 18 Aug 2023 02:57:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692327438; 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=eIsgIyrCK/vuN57v6QmMKeyK+CgOcUBenn0dcRfKVio=; b=cSc0TDlWJrpzy6jP3zbxGRwZgmOhErNduhtWpsB1KHCc4wUCfX6desxenF5R8S0fS1fo1B RZrELl1nsYddEAM1pduBKC9FQE4XeQgSqalxXnmfOL4MPvCoQlbWkNm0V3Vh+QtiAAOWIb jjW4F+2ofBbZykVTM5QGINDGUNw5Oem9FkNJS4qt7urD5X8lhX/eVo+HtAzJTMrjF8opxm 2g/hGRzGGZuzr9xXM5Vgw8bxDI27GfDJ4hvvnozrK94y9qHZY30L1LqnuCG6SJVoCCgvPC jux0zi7jbbMFCEn1rDQMxVw+7K0/uPE8Sgh9b5ItX0k74nFvDRwnnGIriClkWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692327438; 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=eIsgIyrCK/vuN57v6QmMKeyK+CgOcUBenn0dcRfKVio=; b=Pi+d3SL9Y4c/eMnd/XZf53LsyeSrXc5Cosmw2/1gN1W0gZrIi0fpU7plMBeHg8pkqJAUjV CEgleqtGSvw4AwlZWOLq7L+Svd9/Z37cvKu+L3swWQ6kG2z7h/1soKizeUIa1ge6KehWaj cH6qnTNTaFJ+D8gYnUOlF3rLvIT0ENkPhLvkxbLDPwirLThMQTnP+bbrtv9toq24/jIPAb /E7Bw7fjnxqXxjyURNRWeRbCwZN2aKZZNx0/XqAUeSTMy7mFAJKUjSr0YoUAHIXagk367T 16gUfDTz5fM94raPJqVBMVBQEQH5gyXfM8iHYquUI8rwW/OcQVpI3poOTZ7PZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692327438; a=rsa-sha256; cv=none; b=dtE4PMLdPG5PL0vr8VjOT5zba3hpV1StfTChe5oK5xF4kmncLAO8hZSvC3bUtnScbLqWrP S0+sSTHSgT1nCviIhPxVeOEloefjbDjxo9WRnqDvMPX0hd/aMH+JK6rCLsPcQJlnciPT2Q 5pSmzhUS9AdntpD2pHdKIdH3NJZovrwUxg1aDmiCXoiMZP8qPjzRsuJZuG89eJtxrHDjgZ YBuf13fhsxMBafCI4F6+LdXwWDeAx8pSahrQ6hMLc7vq9BQZIyLaqNs1Hq1x/WllzndJkh /6WNBWsrA0pbzWjrn9xHlFF2RVcvxFiiujJxRIBVWi0SMbvOW4ufQdwcaVA9qQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRmkQ1lyjzywx; Fri, 18 Aug 2023 02:57:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37I2vIqx079868; Fri, 18 Aug 2023 02:57:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37I2vIMw079865; Fri, 18 Aug 2023 02:57:18 GMT (envelope-from git) Date: Fri, 18 Aug 2023 02:57:18 GMT Message-Id: <202308180257.37I2vIMw079865@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 79ef06b046e4 - main - devel/gcc-arm-embedded: Fix build on 14 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 79ef06b046e40e03684a98241d138169863579f2 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=79ef06b046e40e03684a98241d138169863579f2 commit 79ef06b046e40e03684a98241d138169863579f2 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-18 00:53:18 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-18 02:57:09 +0000 devel/gcc-arm-embedded: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/gcc-arm-embedded/Makefile | 4 ++++ devel/gcc-arm-embedded/files/Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/devel/gcc-arm-embedded/Makefile b/devel/gcc-arm-embedded/Makefile index 1af3d67b5cee..31d7e9deed83 100644 --- a/devel/gcc-arm-embedded/Makefile +++ b/devel/gcc-arm-embedded/Makefile @@ -101,6 +101,10 @@ VAR_TO_SUBMAKE_NOEXPAND= CONFIGURE_ENV MAKE_ENV #IGNORE= PURE option is not valid anymore, no libraries are bundled #.endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USE_GCC= yes +.endif + post-extract: .if ${PORT_OPTIONS:MPURE} .for L in ${BUNDLED_LIBS} diff --git a/devel/gcc-arm-embedded/files/Makefile b/devel/gcc-arm-embedded/files/Makefile index 145fe00d633e..2a74e6f32bec 100644 --- a/devel/gcc-arm-embedded/files/Makefile +++ b/devel/gcc-arm-embedded/files/Makefile @@ -19,9 +19,13 @@ WORLD_LIB=${LOCALBASE} LDFLAGS+= -L${WORLD_LIB}/lib +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +MAKE_ARGS+= CFLAGS="-Wno-error -Wno-deprecated-register" CXXFLAGS="-Wno-error -Wno-deprecated-register" +.else .if ${CHOSEN_COMPILER_TYPE} == clang MAKE_ARGS+= CFLAGS="-Wno-error -fbracket-depth=512 -Wno-deprecated-register" CXXFLAGS="-Wno-error -fbracket-depth=512 -Wno-deprecated-register" .endif +.endif MISC_DOCS= license.txt readme.txt release.txt