From nobody Sat Aug 05 11:53:30 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 4RJ1F631Vtz4gwx5; Sat, 5 Aug 2023 11:53:30 +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 4RJ1F62VJ7z3Phc; Sat, 5 Aug 2023 11:53:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236410; 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=tUgQZEAd7hYmtg+u01r29J4UHK80ZT7+EDcg2PVAI3A=; b=JI2gJmEx4ny7MMHCBG7x4FpjVZF6iaZb6Mq9dhpCzphzbJpIq8a3a7LidH0JKNYbXUZhYP DXc26s/vfuHW06dt8Pgj8BMySANuuXqTUnlaWbiYHg5XQ5/xznZYLhaLyV/+EJhlOxfVch 2+pu55uXeWzbMjTw3x2HZY6Xw+9HoUj0nig16A7HanusMp1dabgHZ0ThULgucXckYH8mfT D7pNYM8X4KE1lhTGnUsDq+6G2Yjodz33PEaeNjIbNn9dX9bnpU4+e8RkWJI9HTlLvmbZIx dbUDE+B5F0w9krkP91ikZfbIQlVaWNM0McK6qdEAk7WlLV0TDGNa1F3kNFYPCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236410; 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=tUgQZEAd7hYmtg+u01r29J4UHK80ZT7+EDcg2PVAI3A=; b=o3TVz0OVHm1N6e+TyhA/Z1zBb4mF44tkhyIVvF4kC0qxeJGAwHRZU2C4R4RhWKq7r+xuOd mcKpkIWo6+8JORGdAo7VSuuY6HjLlrD69Y37uaZ+TL3/sesqm7ftS+aVBHqhnifNEYyVqa 2+HX8ZDH4OodNoOpWEHoryYTNn9tRQF2Oh3soAMc4W3GFbMJexIk326LH06lsqAumgqLD1 ZoyAsn935QApmsfTnuU/Tg/eP4Cwgqm2WcMbHpcvMzZsN+HpA8SVVrwZNYdMf6mLMXNveR I3fmw61Kd979SsfrnCNzq16eQS5mAFSlbuvQOFAqPR+OGF7gadGjKEV8UQbzlw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691236410; a=rsa-sha256; cv=none; b=VyriTPlWI6WoLKBzWupfHuJMphK0v5PfYCiWl29uCdCTKulpJpwErHox7+/bcFIefXHU5q I+vF9m+PseaG1D6J78eYGm/iOMWrEBikuaRPUlPEWFhA6TiWlfwvxDk8sXiX/jrE4nRf+e O1aYRAXbxgFXSf9SP3nnF6JBYn+6xbatpYtfhCXtocu8idSIfNzppm2MRrwqJ5/tX4rmHu oBH/JbUk5LAO33umITjcgfmLeNJL6oHfdVNgJpOB7E+D4D8EcD7MR8IotFHGIj5YGrmnmf k/Zwv2UR6QUE0GZrJR+w8FWFZmTLfyuLOxA2Asl14xlBi58+QucIGuYNja0Mlw== 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 4RJ1F61ZTdzD5Y; Sat, 5 Aug 2023 11:53:30 +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 375BrURp075063; Sat, 5 Aug 2023 11:53:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375BrU1t075062; Sat, 5 Aug 2023 11:53:30 GMT (envelope-from git) Date: Sat, 5 Aug 2023 11:53:30 GMT Message-Id: <202308051153.375BrU1t075062@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: 02c61dffcbac - main - security/pecl-crypto: 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: 02c61dffcbacd639cec46b55501f7c10ecedc1ec Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=02c61dffcbacd639cec46b55501f7c10ecedc1ec commit 02c61dffcbacd639cec46b55501f7c10ecedc1ec Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 10:08:12 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 11:53:18 +0000 security/pecl-crypto: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- security/pecl-crypto/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/security/pecl-crypto/Makefile b/security/pecl-crypto/Makefile index 48ef0cb0a3c7..b19667bc3d00 100644 --- a/security/pecl-crypto/Makefile +++ b/security/pecl-crypto/Makefile @@ -8,9 +8,17 @@ WWW= https://pecl.php.net/package/crypto LICENSE= PHP301 -USES= compiler:c++11-lang php:pecl +USES= compiler:c++11-lang php:pecl ssl + CONFIGURE_ARGS= --with-crypto + CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include