From nobody Tue Jul 25 09:42:35 2023 X-Original-To: dev-commits-ports-all@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 4R9BsD6Tpzz4p9c4; Tue, 25 Jul 2023 09:42:36 +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 4R9Bs81Ljmz4Wsx; Tue, 25 Jul 2023 09:42:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690278156; 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=iGo0vw7USXoqQc0JOWGoRMu8DXFCcODD2h+gVLB5+Ho=; b=hkxQiotl0ZfFuGbZvyFEWYpmVA7CogrIPRZ7vqpcs4oi1joGt/LiqLWTWr+TlFF+ZOay3j pwc5TkLk1GjrOYEOi5l9vnUTkO52scnBMmbZrE1/lI6cNyI7pvmt5tzoR7YTOO7tH78weY 2VTKW4tdpubuRNpSTMBJGlQy3FgZcpLVegIAIBDQkD5OKShb7tWIkXUTlG/oY+8wQlHZgO BcpXTptOyzwXP5UGlQQtzT8n1KzuOBzUkOLdU53noW1sXX9LoOVwc9I+ZyjsS11CqHlSLc UnX7cYVI0dUfqRu1etQMctkF+BzTUCydY1PlTqDZwcR8/3IStIxl6heSYKjVKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690278156; 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=iGo0vw7USXoqQc0JOWGoRMu8DXFCcODD2h+gVLB5+Ho=; b=ZnFHiyqUD97dHTluJp0BXT8xNiM4+Sy8S/aJRvgaJeoNBdkcf+Ytsnwg8fyo2lZ8l5tfjc fvFg/P2LmZan4deaZzsq2WoR6NDdBeCUFDHl9WDFhM4eHGBYfVqW8CB8EQpQLsCJFI2Ri5 3tb9WKNTg6C8tEvIXTq6m9jHJ7GtgW5VLuRuTVjKVu5UcsD81lmKSGbq8N4y0fwbyOPfIp 7+EheSFKNUf4N9JHbc007CBv+ewjQsvLrWM2lKxvjYPu6Nc9hsPlDgdTdZixp+3M3adgFB v8jrvTAtrzhI5OSvbt9+Nzi6HLs1ucaJ0tXcVYYrtyt7B2cDjd7I7wrhhVmh4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690278156; a=rsa-sha256; cv=none; b=wGf3beBTfAp/a+vlGTgAWPoCac2RAklWUauXMTEr7HswE3B1s8rwD+VZMxCWbieYsacqqf Sshgftpd66ipcTjW1CN0kTLgHxMgRGCbVU/eCUeHEX2WKujR4dTAWS3IgWYeMqmPctRlUj OHRpoqIjUkHsTL8fwkx4Z14Nd2FjC+I/zcauW9QVNZTl+XnAVmR2EX8Xyp+pxJwbgy+nWj yPU2HsypzHnvasQwnFACAvpH9Ioh/5wB8K/6GTV7NJ6cx3Haj3OMHbfv2cADLUvNktImmK zZIS4MxpuxBPQekGN9gjylzHo2P1st/abyiISnPzideDRVnJFfaFFgSEiosZ8Q== 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 4R9Bs803GdzvVp; Tue, 25 Jul 2023 09:42:36 +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 36P9gZsB069886; Tue, 25 Jul 2023 09:42:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36P9gZeJ069885; Tue, 25 Jul 2023 09:42:35 GMT (envelope-from git) Date: Tue, 25 Jul 2023 09:42:35 GMT Message-Id: <202307250942.36P9gZeJ069885@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: c544161f8230 - main - devel/thrift-c_glib: Fix build with openssl3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: c544161f8230def97eb21305cd88612127142cc0 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c544161f8230def97eb21305cd88612127142cc0 commit c544161f8230def97eb21305cd88612127142cc0 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-25 09:18:01 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-25 09:42:19 +0000 devel/thrift-c_glib: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/thrift-c_glib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/thrift-c_glib/Makefile b/devel/thrift-c_glib/Makefile index f92aa8a86df8..e6e993acbe23 100644 --- a/devel/thrift-c_glib/Makefile +++ b/devel/thrift-c_glib/Makefile @@ -28,6 +28,12 @@ USE_LDCONFIG= yes PLIST_SUB+= PORTVERSION="${PORTVERSION}" +.include + +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + post-patch: @${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \ ${WRKSRC}/lib/rb/ext/extconf.rb