From nobody Sun Jun 04 13:23:40 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 4QYy9m5Tmcz4YwpQ; Sun, 4 Jun 2023 13:23:40 +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 4QYy9m3Hqfz3Ln3; Sun, 4 Jun 2023 13:23:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685885020; 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=JKeKp4hTXlbfd/8vM/AsCCiaMAnC2Z7CF/tpnrNoP2I=; b=CBF/T/AUX1fSaBmOn//JMVR5E4X3ijDPaUjSS7dAZ1ogFsPfq4uHzBaKV1i8nAzTrsJFIt gUCSsuRCIwGhC2HJwN2iy7JTn9XHgaUrdbeEtdTT2XsbZ3xg8s70FSzG4E/xDouz1/jXh3 P5F/1uROb/KtkiJ+gFzVDHrExY5RT23a354ZwTikAnuTTpXOLDa2fMIBaGTIk8zXZnUtxN IRdQBi1k4ehmxMWUoD0rO4vu2PQP9datCd9/I4zZZumSWiBvFhnV58BkKe4ULQ23p28GnF UDQnqKdKzO938skuwq8oeC6UJg9XnCDTfS84LGBFx2PzVbgPhTcd+FlnAFJ4Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685885020; 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=JKeKp4hTXlbfd/8vM/AsCCiaMAnC2Z7CF/tpnrNoP2I=; b=c9rotGNx185mLF8Dcye7BpXzSzC62o15r29hS2Ruo7mjxugFYkC2HpwIMVoLQ+4NUwEhsZ GFIudoLDhWn06D8XdR8vz4yRInGlGb5CxaQ/7ZGNsc6ZV0J7bPtng31uk+mSdvud5BKogP PdzxsVRQo1uhbsH81HcECsd2aAA+W9csbIayG3Foy5adc7AV2ucXqbmvR6KgbEP5qexoQr jvcqZ62NqViecOGq0qYwSo4ePz6pcvuvTih5R0rNzwBGLfLM+VqN2rGQXETw1vHIQHBpsd Mc+Awsu6mAWGAI+MMREkec5Idl5AjmVuHjK3roYgcMAm0pMUOEWR9AY9wRrOgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685885020; a=rsa-sha256; cv=none; b=CMloYgrPJWVVIeLagN7sYdSrUW5yQrDyQzIfd0w/IFAMoeYRnkTHPqP+hRLS7Pfn1UmWRz oQSaOMJqrN23YIv3fg5yVhQaG2ufNk6Dyo9x50fzoWJ/BSgXfRRuxaSFLGkoHQ8HOC+PDu 5MZtEoX+tWtmFmLhw3MO3tNE9K26bNOTkENg69klVpQOPFvKodGPmEh3yELbQAZThnpJ4f rMjYV6cNIYp/tz/CH5X5/J6pHltEzsgvHzz3BPCx56Msf7X/2CUzQMBli0xOqUO7oJndIt /+ouSeTa9tn3zny7KBN3iMzYcWG/lRM3o/wjFqLPltiMyuuVFiqkkXkIA4uz9w== 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 4QYy9m2B6Jz17dv; Sun, 4 Jun 2023 13:23:40 +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 354DNeSr029259; Sun, 4 Jun 2023 13:23:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 354DNeDx029258; Sun, 4 Jun 2023 13:23:40 GMT (envelope-from git) Date: Sun, 4 Jun 2023 13:23:40 GMT Message-Id: <202306041323.354DNeDx029258@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: ce8aecf2886b - main - security/akmos: Fix build with llvm15 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: ce8aecf2886bfaff90d5b57f6a221e51577ba95d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce8aecf2886bfaff90d5b57f6a221e51577ba95d commit ce8aecf2886bfaff90d5b57f6a221e51577ba95d Author: Muhammad Moinur Rahman AuthorDate: 2023-06-04 12:46:21 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-04 13:23:26 +0000 security/akmos: Fix build with llvm15 - Pet portclippy Approved by: portmgr (blanket) --- security/akmos/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/security/akmos/Makefile b/security/akmos/Makefile index 05d97c4fcedf..82d620c8129d 100644 --- a/security/akmos/Makefile +++ b/security/akmos/Makefile @@ -13,14 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= as:devel/binutils USES= cmake compiler:c++11-lang - USE_GITHUB= yes GH_ACCOUNT= melanhit +USE_LDCONFIG= yes GNU_CONFIGURE= yes -USE_LDCONFIG= yes - # Fix build with clang11 CFLAGS+= -fcommon @@ -38,4 +36,10 @@ BENCH_DESC= Install benchmark TEST_CMAKE_ON= -DAKMOS_ENABLE_TEST:BOOL=TRUE TEST_CMAKE_OFF= -DAKMOS_ENABLE_TEST:BOOL=FALSE -.include +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=strict-prototypes +.endif + +.include