From nobody Sun Jun 25 04:50:46 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 4QpdpH15kSz4hLjb; Sun, 25 Jun 2023 04:50:47 +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 4QpdpH0cD8z48vQ; Sun, 25 Jun 2023 04:50:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687668647; 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=QMVJUAHzRGdSqoSq7Y924fCWfwTFRPgPNS6eG7EoFCg=; b=Oh+f4aijghJNMFxrycy+0yifpx6+F4hlUxgGNtzF9uLv3SnLVHSE7hpHZOt2WMdfWzxjgR F9IWSloV/OWJxJOSsvASx3brisJrU/YHOLl9CrTngFVylyP+CDGzal+EPXFS0EdutoarCB b2vIY7oraMjxainYOY1dXjCekzSyI07vAUTRPvXsZZ1flVpD5V4DRUD7xeAEv4h3M4Agru JMnDvY1uYeu+tonQU1lHVkH/xEpzt6HfmgIE15beQyh8xFB8x/zy5fb7DVWPgipjKGBoIk KNHwH+MZ+JGWkmBm+wAD9BmWASGIjZZGT2nKr5mLeB65TeffG3qk8Mt8BZMa6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687668647; 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=QMVJUAHzRGdSqoSq7Y924fCWfwTFRPgPNS6eG7EoFCg=; b=atQTkzAouSyx4KWYP4AeBSsU02eCIt64QRqCbEAvrMAFWPImmZ/Aummq8H6rNcluAwzF/T 45I/eiyy1TX2PUlIgk1ZUo09XwfxMLJRrHWJmR/aoRaQSxOHjINxwFHD9dSXOj3XdnQnG5 KW0NACxLdTTXqI8mUOZsM9J3/aTV/5361ossqirH6GI7S8PkL264AGHa4PXoErzpPSX8/Q uaILYt1cZETlwQEIYv9uxspPSQHuYSOjU3Js3dXuWHyWn7Fmf9lIeHmypkrM/+4MRJXolk mM1kdS5q0jH4kdX5nAf4en1vy+AsrFzwsIHGEp9/5+zi11RQ3JZv/NmGm3U0ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687668647; a=rsa-sha256; cv=none; b=VRU5RdQXjTKfc5WG3qQjFwzENnpszvWWHesmB5+rJGviMjonrr1oDmFsiYTVD+W8XEVOFO zklLmEnoVfRe5A4v8on84HH8oQVNcedQ94l5vGzl2o7x4Ty2a1IXIVQXbhOVy7Am4ORpQw lVD3vMlBkYpLyuvrHDKKICUdORncassc0hP0WLv80+Yed8v2N6sKAJ3AfI1eWWqhgJ/N+W t0znjIJguFF3Qipmcmw6oo0GIRbUuH0rYK9NoxdDN43tLGl/bA1oGkxGW665fKMjl+JQmK HEF/Oe3je2L0SHdFmZIyRE/9zq2hTrz2J3L09a/6L2RzYTpNMh6nHJjDby8+Lw== 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 4QpdpG6mtszFB3; Sun, 25 Jun 2023 04:50:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35P4okl9075767; Sun, 25 Jun 2023 04:50:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35P4okbt075766; Sun, 25 Jun 2023 04:50:46 GMT (envelope-from git) Date: Sun, 25 Jun 2023 04:50:46 GMT Message-Id: <202306250450.35P4okbt075766@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jung-uk Kim Subject: git: 97bb4872ef4e - main - net/messagelib: Fix build with llvm 16 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: jkim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 97bb4872ef4e97eb157f8063ddbe4b83f3795ddd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jkim: URL: https://cgit.FreeBSD.org/ports/commit/?id=97bb4872ef4e97eb157f8063ddbe4b83f3795ddd commit 97bb4872ef4e97eb157f8063ddbe4b83f3795ddd Author: Jung-uk Kim AuthorDate: 2023-06-25 04:48:38 +0000 Commit: Jung-uk Kim CommitDate: 2023-06-25 04:48:38 +0000 net/messagelib: Fix build with llvm 16 Approved by: portmgr (blanket) --- net/messagelib/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/messagelib/Makefile b/net/messagelib/Makefile index 2e68778bd2dc..eca7bc2b672b 100644 --- a/net/messagelib/Makefile +++ b/net/messagelib/Makefile @@ -42,4 +42,10 @@ OPTIONS_SUB= yes INOTIFY_DESC= Filesystem alteration notifications using inotify INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify -.include +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CXXFLAGS+= -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION +.endif + +.include