From nobody Sun Jul 23 22:16:26 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 4R8Hgt3Llqz4p9fK; Sun, 23 Jul 2023 22:16:26 +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 4R8Hgt2K6lz4CPj; Sun, 23 Jul 2023 22:16:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690150586; 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=vtvlRAIRRYIAvbtLZXSJtU42kxR3xkwpDD2ek10KTDk=; b=QHA1fbdoaXgHghbS61T9Tw57HH7s7uqWdrZKPwJewPJfiSxYGSch/2IacYw1tOjdJmzMjV 9BBLz0atGG5zyAoe/c7LnBVUD+lC28a6u6yICp/+18FyNH5Ip+2zNvSRvvxHRXLdfA6fZt 9dNzBOUwU07LG5q04Qhp9QvZdAjcR056hKqqePVsFMgMUYA1jp9+sZsdR94jYaESAvApqP Rq8qjhYI84/FjQzDcHH/9vUAMwpjvpCafnZA3OTq+JP3tCozIL+7QTOpbAmLti+eVnX9Qt bgo+Mq3pHvYmmspwxbLBlR5IQCrMkjNULCsLAj7ytK+Z0ayHdtMyYPOF1WjD6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690150586; 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=vtvlRAIRRYIAvbtLZXSJtU42kxR3xkwpDD2ek10KTDk=; b=bIqxyBsoPGbvRFjcX1cM5D3XLkJxqgcTxx1Xd5BF3FDqXPyS0D9PSDjvA6KGAcjnFHnjbV YqC04AGGgak+avpWMwqPlXf7FJh+MYi/6uMKepAfsSgdQf6XDmNuNEGAXL6m6Oz7l2NiLi nd+Y3kuN7ESbGrTrD6GHLjZ7maNwuxxbue+vpimj/E0iqL5zve2P63dIW6SGCmNLaYWfmE xYfE70pFqGYeyg6FsvDrUdc+mHZSo9wJlTcaqAH8FSL+L3avp97d6u9wTyzOjNPXMK+Vaa XkwwD2JSH1Ra9QHb6SlYM497NpFNKi0Yaqw6h+pfPv2i38FvihX7+vKN1z5mqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690150586; a=rsa-sha256; cv=none; b=J3NjQgCIzvnr+a23WECnEPYrT8zRWvmBS0D0NvkIIr51Qfk5h1j6J713ktFwm3F7D9nl+V gyskyUtJopfiv92wFUI6AGGSMCG1uluFSsI5qA/FhLJ7oa4+bKHiCW9+/zSmUFRsZ5F5Yg ZtgLagpIV1D4XB9pduQMivmiJ8NSl4ILwyOki4115AEoOYAE98eEhouGyB09gn/Pi3H6+8 7lzl7d9/3z9vMRKp2+cXqSaDRvkgHEoK34hvVTfaCP/nQDyAiqxQdMC0AxKw3Q4EOysqmt 96+QWr62hXPjIYpAYC+IYKhedeW4FGE1AvUPm0dQF5X63RQDc3yX9TBJ4yLL3w== 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 4R8Hgt1BhkztTL; Sun, 23 Jul 2023 22:16:26 +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 36NMGQWs041129; Sun, 23 Jul 2023 22:16:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NMGQl6041128; Sun, 23 Jul 2023 22:16:26 GMT (envelope-from git) Date: Sun, 23 Jul 2023 22:16:26 GMT Message-Id: <202307232216.36NMGQl6041128@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: 6380a14f7b90 - main - net/asterisk18: Fix build with 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: 6380a14f7b9099d7b93902bcd28a1a78b84d5bc8 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6380a14f7b9099d7b93902bcd28a1a78b84d5bc8 commit 6380a14f7b9099d7b93902bcd28a1a78b84d5bc8 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 20:55:23 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 22:16:15 +0000 net/asterisk18: Fix build with openssl3 Sponsored by: The FreeBSD Foundation --- net/asterisk18/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile index b708994f1937..da1d0195e96e 100644 --- a/net/asterisk18/Makefile +++ b/net/asterisk18/Makefile @@ -227,6 +227,10 @@ CXX= clang++${LLVM_VERSION} .include +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no