From nobody Fri Aug 25 21:55:07 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 4RXYf36lBKz4qrX7; Fri, 25 Aug 2023 21:55:07 +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 4RXYf367chz4DdV; Fri, 25 Aug 2023 21:55:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693000507; 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=5hwiRgnWJSjbx5oIJjVJxW2VSn5lu4A5VL/bzdX13W0=; b=YMWywXDxFy8pHxa9skSjLcS3AGlsjRdSn1cG+wnSZeprh8PuwnW9PAfYSA0y8zO3mYiXXI JZNeuztbGF5nxOo/F3stuezErMS2qAAscR8d6X+z9xIWULGcqQ4INrvA5ZP7WKJbrjuYAq 9Oj16UnAWRNUeVd1pIy9iPy1+lAWuRDcCc1jSRcqgMsyF22B5zTM9M1W1mURX7fZkZ5STr c/v/gZWZvqd8C8Y8xL86NpitSLiUyCHGcU6JGsZEgu51rtXRyEXqDuKqgRvQvgAES8o27W AAYbo22SwW1OCZAfF+zBLxSzCZ5BhYnLY6NvYUYijGZc5PtKMduaec2MHYY7pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693000507; 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=5hwiRgnWJSjbx5oIJjVJxW2VSn5lu4A5VL/bzdX13W0=; b=nnKmi1Mb/nviSWewMs57KU/Ys5KACCBk8WScQgW4OSBnK5OV8GLMgg37MIXbfkpfjI3mJf WQscOoMKeLV9BbNseL6TS1a32horrtSX1VTKj9yJSsgfAHt0knxeGcvVKtaZ2Tycj3Kq59 mfP2qTlSff9PB+2ZzdutDSt/ZclTiFASIIyot8wbTwVZshfEn+sPKmGtiGjuqDteFRzMz0 MjMiFs1vBSmuAdaXKip7TY5PKvYmx5zeQEolgBTZHZwSWKPB2OSoSUAAD+6lTuEZEhxqlQ rEl29zmtv8WB5fhG/PcMKnK6QwCLHhQV+FfwEW0JMUAPk6r1VTUFWnkiqNSyRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693000507; a=rsa-sha256; cv=none; b=H9oAALgXZ0VMGL+FnzOTEZ0a9LuvqoeN9uNbZMkwo6uo4/BhMSF+0Bo4ibaAvWbKJPFAIL gCPk8oFPP+NMadZo8jiHcnpl/E2hWF4gobuwtvz5W+n/cGgiROxu/AthuviVfwkAfFUNmM gwwIQUMFSTYgYOHLhH3/cqx8S7EsbjaYEdlpjGLIkhfB3XhA5S4nnv1ixSqx38wneyMOFd jFN8BKeHsJKgJz22zY2dEmfp9lccjeajEYsQr/UqRVb8jPYd28bMkU00wFf1UWtyq5jLT/ AdtEvmbPwd3RhqtyldD1oA5qAfFIVJ87IEaT7y/ckVv5WYKT7lbgKIy42htW8Q== 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 4RXYf353mpz1P3G; Fri, 25 Aug 2023 21:55:07 +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 37PLt7Xx031355; Fri, 25 Aug 2023 21:55:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37PLt7aO031352; Fri, 25 Aug 2023 21:55:07 GMT (envelope-from git) Date: Fri, 25 Aug 2023 21:55:07 GMT Message-Id: <202308252155.37PLt7aO031352@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: 5f9b68c773d6 - main - security/botan3: 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: 5f9b68c773d6442dccb248c8a190dce9c4d4a519 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f9b68c773d6442dccb248c8a190dce9c4d4a519 commit 5f9b68c773d6442dccb248c8a190dce9c4d4a519 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-25 08:55:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-25 21:54:51 +0000 security/botan3: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- security/botan3/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/security/botan3/Makefile b/security/botan3/Makefile index a3c9e71f7cea..180dd539db7c 100644 --- a/security/botan3/Makefile +++ b/security/botan3/Makefile @@ -82,6 +82,13 @@ PLIST_SUB+= HAS_PROCESSOR_RNG="" PLIST_SUB+= HAS_PROCESSOR_RNG="@comment " .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + post-patch: @${REINPLACE_CMD} -e 's|^optimization_flags .*|optimization_flags "${CXXFLAGS}"|' \ ${WRKSRC}/src/build-data/cc/clang.txt