From nobody Wed Jul 19 17:30:48 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 4R5jX90BBjz4ns80; Wed, 19 Jul 2023 17:30:49 +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 4R5jX83B4bz4ksk; Wed, 19 Jul 2023 17:30:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787848; 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=r8TP7LL9g9ixElicmJzvEqN/bOdTqt/D5ppYuZn1Tfc=; b=DtQsl/0nG/VICRz1fLMMC7KsK25rZ1ETbSxTwbVlnp6eqr3j7ZgFNGnJYMyPdUTWfIM+Di 7L9cXMuzQ0TdU+2zCMEVfnZFb/sX5LPff6Sl0HHDtzOzyO4fQ9MsV3jW13UnBLxS9klpEq Zs7c4SnvLExJsei8kEEpRYffk8hd8x1/vuweLujFShoQD4l8m+boIsZzPPva2e2DvXUN+G gDKVc7lMPPST8ENr3iuHhL85TSELgx+DF8T+vjwD9hnd+3Kwo0rPQVpmJRK0IO5xldIpEe uuujwBLubcayqBbqeadBezNkavlxTS+4yzCY/81AhUs0ALf51NjDIrdvd/p6HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689787848; 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=r8TP7LL9g9ixElicmJzvEqN/bOdTqt/D5ppYuZn1Tfc=; b=bBsokscCOXTiTckA1K+DopYbO8Oeo2s/5LzAaQqFm3OYuCb7VV5Oq4OKnI5ABpH0kCAz6B j+AW2KcEyjr8FOR41JIt3zQpwRYx1owjUf65Oj8FFrbaCC4p2RcAEuiAA9NIZdQqrUe6tx s1oZK5khaGZ16+cYDXOCJYUu07IGRWNWYhgvMdz4MqGn0k/YPT5IEJRQ04VGr+HOohOu0e BRwD1TlfZmLGT5BVheDrgpUYu8+8Vq8bAWq0bwoNCFIUU0rDW9ERy2xzq+n8h/9GRBgIKm JG590trKTN1WZhJt9vF9nZTRTmN7Tx4TAl0131QMuP0J/4o24BNjHrEVslx0sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689787848; a=rsa-sha256; cv=none; b=WUsh2lKxOWbfP/B52ROC0QaaD12TMSwMTtZaG1qcK4cXcMgRROjsfplZhWv68rF5bCq2kK RPe20J1UnSdEnYb3D31Zf8yjB05NZlMF9mKIXVT1jhHNKsDAD8xXibCgVdKuSJeZwXwhlL hEoW4Hyb8bAPom+2EvP0dOVnu/fINXtIa+Ywi3bx0CbMW4urGwYc/buNFFD6RXpR7k6w9J dVk1O+agEw4azf2+HXHhDHS2r4CoEr0Kpeoz16lXCTMN9jE+E7QsMALd+y1Jg4XxmUyCYg hFOC1XikLV0cjTJxwFye0UHxElGr3OWUwuF+B3RxkLEfrl8CKFg3k7qofw45Vg== 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 4R5jX821f0zwwB; Wed, 19 Jul 2023 17:30:48 +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 36JHUmoi026900; Wed, 19 Jul 2023 17:30:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36JHUmWc026899; Wed, 19 Jul 2023 17:30:48 GMT (envelope-from git) Date: Wed, 19 Jul 2023 17:30:48 GMT Message-Id: <202307191730.36JHUmWc026899@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: ff42bb605e1c - main - devel/cjose: 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: ff42bb605e1c46a95f4a7d91ad1194869be7e5ee Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff42bb605e1c46a95f4a7d91ad1194869be7e5ee commit ff42bb605e1c46a95f4a7d91ad1194869be7e5ee Author: Muhammad Moinur Rahman AuthorDate: 2023-07-19 16:32:13 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-19 17:30:38 +0000 devel/cjose: Fix build with llvm16 - Fix build with OpenSSL 3 and later Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/cjose/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/devel/cjose/Makefile b/devel/cjose/Makefile index e657681e2eac..c1a52369bcaf 100644 --- a/devel/cjose/Makefile +++ b/devel/cjose/Makefile @@ -13,8 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjansson.so:devel/jansson USES= compiler:c++11-lang libtool pathfix pkgconfig ssl -BROKEN_SSL= openssl30 openssl31 -BROKEN_SSL_REASON= Requires OpenSSL 3.0.0 deprecated RSA_ routines USE_LDCONFIG= yes INSTALL_TARGET= install-strip @@ -24,10 +22,15 @@ GH_ACCOUNT= cisco GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-jansson=${PREFIX} --with-openssl=${OPENSSLBASE} -.include +.include -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=strict-prototypes .endif -.include +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CFLAGS+= -Wno-error=deprecated-declarations +.endif + + +.include