From nobody Sun Aug 06 23:52:42 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 4RJx8W0dFkz4pdCv; Sun, 6 Aug 2023 23:52:43 +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 4RJx8W0B67z3RgR; Sun, 6 Aug 2023 23:52:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691365963; 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=50yjDwJTl+TquwoeUJ5K7wElf+CFPNsSbHaiKlA7B60=; b=mJDIX+1ZI+1kUODmP4MNGZN1KjFLs/6jXucC/c46vURbTeLPr7Gn2BrWEePZSPFcLMj9lx Vg4kc1t8AYNEyRtpV2sPvKKqQQvQtrdXb4YBPDtNya++uiYnXG8cpn4q09TEtCKMqV6pJH GsZV1VxDC4QbUVZm7+7EXd4NkUQyEiSgwVFqhdsdNtmE6opHblHQm6a/ZXhF+h/mSQHACn YUXDpKGZgPMgDulBcls2iI47En4q2vbBwlKPis7/itqdbEwTMERCsIgp6bw9dN3rSVI6IG SrEUIYmyoU6DEj84bL+EX/TC8kN1y/Y/VzAtFojDHgwoBkv7OagRoydGHSEoKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691365963; 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=50yjDwJTl+TquwoeUJ5K7wElf+CFPNsSbHaiKlA7B60=; b=E38BmFQT29NpiHdvY1aa9uhRSFpxrJyhUsebiclw9qsin2PoBchYexCNz/18pdJex2xXYg SlMWOSQcqGi78A/c1PkOLVEvaB8iiS1hmPf6WfBMkjm1gOF3OzcvXWEdTDyVOVzwjLNNXn PUGpQ5wTIIM2lYhLnT7bAEPFtZvJctBLKoyjDBd1DfCbBB/SJzp39zGTl57kQ0+35A6tJH 2liqSh97zYBOj31qZplaUsNNRUtPtw7MK4cv/z+AEXoJRCQUX4JbkGQSabSR7ebdeqdTqd YOvph6vqwu6KPfJAOv7IqVFO1VcSqFJzLtNpdZXnKceTFOFjiFc1lsvENYlB2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691365963; a=rsa-sha256; cv=none; b=ticRSA6kU2x6w1lAgY1TfKNy229Ov1ZB1Por+HPU12adB8eXe42xzFG3OKCqfxqnWAg4yw a+2B8kJ0JFbIWxkd1yWRO1kYblGiR8mhjj66WcOcGjdznIXde44/Vb4zmE4XcQYwtjksSC QHz7WG6+n1MTuWL/SKMwm2Th/pSQbpKOoc+NXeTAdGJaZ5ZzPXXIatWZIMZfVPzsXXVlj0 5RBxZM4JUgccK5DZ52bEn6TovK8BfbIb6mpZtOUDbqnyQ7RWkf1Xt4M11Fs7MFPMXzMx4u 8n0+ZYYmmQHi0mPRVStgaNrBllHGCf2e7rUeIJnGX1nAuo/insuU6/GqDQhNbQ== 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 4RJx8V6FK9zWK3; Sun, 6 Aug 2023 23:52:42 +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 376NqgHh075530; Sun, 6 Aug 2023 23:52:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 376NqgWP075529; Sun, 6 Aug 2023 23:52:42 GMT (envelope-from git) Date: Sun, 6 Aug 2023 23:52:42 GMT Message-Id: <202308062352.376NqgWP075529@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: 8967ed2438a7 - main - devel/kore: Fix build with llvm16 and openssl3 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: 8967ed2438a73449c1688c27f177f17b1776460f Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8967ed2438a73449c1688c27f177f17b1776460f commit 8967ed2438a73449c1688c27f177f17b1776460f Author: Muhammad Moinur Rahman AuthorDate: 2023-08-06 23:29:55 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-06 23:52:28 +0000 devel/kore: Fix build with llvm16 and openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/kore/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/devel/kore/Makefile b/devel/kore/Makefile index b576e1c075cf..6b5cd35b7d01 100644 --- a/devel/kore/Makefile +++ b/devel/kore/Makefile @@ -51,6 +51,16 @@ TLS_MAKE_ARGS_OFF= NOTLS=1 .include +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L +.endif + +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CFLAGS+= -Wno-error=incompatible-pointer-types-discards-qualifiers +.endif + post-patch: .if ${LOCALBASE} != /usr/local @${REINPLACE_CMD} 's|/usr/local/|${LOCALBASE}/|g' \ @@ -67,4 +77,4 @@ post-install-EXAMPLES-on: @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/conf && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.include +.include