From nobody Fri Jun 23 19:30:52 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 4QnnQj1Vlxz4hFtx; Fri, 23 Jun 2023 19:30:53 +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 4QnnQj0wl8z4NBN; Fri, 23 Jun 2023 19:30:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687548653; 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=OgfN2s3TKUAEfAVN9NqRnzpzxcICeUJBw6onE5CBs8s=; b=Tb0ruG3TmCrCO12MMxGz7HpY+DVIB776KLPKGqISHdzprCTH1fX63BzEwrXTmYsDPioquQ zL1NchYIKO7dwv1waX1GX2LhzKaud/VCbpx3XJL1v15X0fHJ7teFALDU8l52lZlc0y7lD/ o5iHosHBmZNHiXG8o7o5vLrkuKaNxfd86Qj1SrGKGwaIdkzAI2z5XUi4OIlvQJNy1gzHq6 lzKkQ4Pj6ppcp4h6IFA/TNAxkh91/6B1gHLm3nSdgwNRp4Y+p4c3jrAFQ6XhvkQR5ThrHo gHxQFr8H2JmXaaWp0udHFzd25QSOZIhGBdLhsHyPaTdEiVdTFmc1mF9LHCFtSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687548653; 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=OgfN2s3TKUAEfAVN9NqRnzpzxcICeUJBw6onE5CBs8s=; b=O5oVLpVWYDiq8GDIu25eXp5WCdZJcilkFTkuL+QWOzKXkhuowH6ibrPQQH7RfuZusmqa4/ WPBG7COfkHhwOOTB8SBY2Dz5R4EOR1C9x/hhOSX+Yjz6va7uUjbp/yae5g9WyCrJmUKv0/ i6IErGANG/+Dxpav73oaGCEIVV0LtDe9x60jcA0COUtOc+wWQ4NCITip/Hx/WruDwEhyte L9FxK1eOUsfvhA000YTPKRILhAHlKTi1qU7+JPyfAd1Cvxi+P5GQCbJjDDzRByrtTwerQY lZkqbnZK2RZ63lF6AE+UmjQ64msc1MWV6apf91GidNZQ2HFcjcE60eiS/4Fdcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687548653; a=rsa-sha256; cv=none; b=h/Yd9k1MgqrhjpZB/LF0prauScbNAeYfieUIv6ohdFi/8KwvguULGyLD+Zp4Jaa98zr5MI 9EemIn5bnpU883BOD6Zu/HdeDCAsQTdtuFtJKyzPyjaQ9wlfiW8VjQjCoqTr0CPngxiEHg Tbnor7EozmHxDWxh1bdtFonY/R8ozCRDLOe9nCjWUxaDrUt713zkZXpmxBnK9QwQruVILf 7ccqXi8khBd07mUxuHfg9gHDttUzY9dDHEeWv4T1MtFYbXjnG55ZxSilW8RQRpTcdynQjN Jzp7emgTebtryvNfMAlR9upNDJWUkzo0Hn9+T16f82qBWdtA+SirQWxNGTWW2A== 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 4QnnQh6z9nzH3L; Fri, 23 Jun 2023 19:30:52 +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 35NJUqdJ074788; Fri, 23 Jun 2023 19:30:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35NJUqsf074787; Fri, 23 Jun 2023 19:30:52 GMT (envelope-from git) Date: Fri, 23 Jun 2023 19:30:52 GMT Message-Id: <202306231930.35NJUqsf074787@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: 876c0129cd0f - main - science/cgnslib: Fix build with llvm16 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: 876c0129cd0fe0d2e3d9e38de0abbf1dacc2bbc3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=876c0129cd0fe0d2e3d9e38de0abbf1dacc2bbc3 commit 876c0129cd0fe0d2e3d9e38de0abbf1dacc2bbc3 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-23 18:06:33 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-23 19:30:40 +0000 science/cgnslib: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- science/cgnslib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index 5979fca02a05..c166ff2541f4 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -52,6 +52,12 @@ TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \ -DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}" +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R:R}