From nobody Fri Jul 21 17:20:10 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 4R6xBy5pp1z4nwXR; Fri, 21 Jul 2023 17:20:10 +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 4R6xBy5NN6z3PBy; Fri, 21 Jul 2023 17:20:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689960010; 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=Oq67LbNOc9ShfUIU2BCvYxRgcLH0/LJs7CJdZIevjpw=; b=tZzecJnOVjWh5iNHXmshT1ldoZdDceBXIc0Ak/tx9DnUCdXrK7QEuCcZD03BIuEUCnj3H1 5xSvQdT5zoTtOWRMXvAMkjux4302Ee3D6RWaJ505fVEGq8HBhEk8PwqXyReqgOpIIOQuQv HYNJKq8Qhfpt0c9u0q6qo0b5tpOgasVoTS5Q56g7ac6OcBf4vpg5qckHJ1k0yqnrinVSoy rpgLVMnZyTJYc+XsasncRU/ak2iptbMM1NqubVhnJduNfXS7nunMeOzfWRocN2rAHt6WZp 40xapvfLEUdPS9JYNARyhTAz11d4DCMV8OiL7BHdMZkp904ybmkxkr6njPmzwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689960010; 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=Oq67LbNOc9ShfUIU2BCvYxRgcLH0/LJs7CJdZIevjpw=; b=lFqgYjhdk/KopPL9i/qakZCEij4v4yfkeRBpGCWrfJCIuRvMYil0U8s1trkOqID4JpT5k4 H2tOPF++gC6zA3lR8nVTSLjWpwYbUVjkbhPF/bOLQ6achtIuPbcYIUqKDzt0Vgx5qfGbMa ATqNoBPeV/ihHT++FMdwMtqGBCWVjiheMUrh++X3Pe9pWbdagOydqCczpovtPbBnO7eYWg rcQGaXgz3puZvjXEbLjIuxvfD5+yDbDgTNRe0v31yuikzNtuhB/H4UfZ6q+VQhpH5gU4o1 M5RUNlFjQtvQKRcGQV9AJpLQiMkUecK/3F9LIncGHZNQlLc6Jtcy1Qw4nPQ9bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689960010; a=rsa-sha256; cv=none; b=Rt2w0roglKrI+pBG+TE8JzQvVuSvq+n+4AqlENZkcBd85V7fuSh40I4VWqFtxkZTWoVmnE dyCw31Y579l5uSDcAjvQ8cV6cC7aZmay140oE1WxS2q9V9sVySy5RutHOUgtpPlbGfFl2c diruD4k1CTMcN32hynrP0MJIbULozmWRHEkfFBzy4t2p2upl1qrI7m7D0BOg2amE0JuJUT h8l32HuuWFteEHvLIwWCEGYfC8T31DftZl3MR9hJtmwJEm7uYShzrTe2ajghf+U8ChT4bl IkT2isXO59No9HQxoEowyB8suaRruM0jrEFihdAIxWI9sJRyuoELKohu5ExQFg== 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 4R6xBy4QqCzLxp; Fri, 21 Jul 2023 17:20:10 +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 36LHKAd3080120; Fri, 21 Jul 2023 17:20:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LHKAxk080117; Fri, 21 Jul 2023 17:20:10 GMT (envelope-from git) Date: Fri, 21 Jul 2023 17:20:10 GMT Message-Id: <202307211720.36LHKAxk080117@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: 2b636272ac98 - main - games/chessx: 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: 2b636272ac985fcc3b294a05e6caf87d5a642c52 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b636272ac985fcc3b294a05e6caf87d5a642c52 commit 2b636272ac985fcc3b294a05e6caf87d5a642c52 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 16:14:10 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 17:20:03 +0000 games/chessx: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/chessx/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/games/chessx/Makefile b/games/chessx/Makefile index 7ea3139d624b..40234def862d 100644 --- a/games/chessx/Makefile +++ b/games/chessx/Makefile @@ -31,6 +31,14 @@ STOCKFISH_DESC= Install Stockfish Chess Engine CRAFTY_RUN_DEPENDS= crafty:games/crafty STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish +.include + +post-patch: +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 + @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ + ${WRKSRC}/src/database/polyglotdatabase.cpp +.endif + post-configure: ( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro ) @@ -40,4 +48,4 @@ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chessx ${FIND} ${STAGEDIR}${PREFIX} -name 'ecp.????????' -delete -.include +.include