From nobody Thu Jun 08 15:31:08 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 4QcSq0486Jz4brrF; Thu, 8 Jun 2023 15:31:08 +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 4QcSq03SD5z4WP4; Thu, 8 Jun 2023 15:31:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686238268; 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=neRCnMIWQfTV8q6Ge/DwmOlh9v45f7BRlh6FCdP+LmI=; b=J8DKz8tBOv+5bMB4PxLlq2XpOfOHCAz2ypE2028btakAjJxkLW4trCJr4N+0ARZNDla+6U dXRF0URwX3VV0m2EzBiAqQK+n9/5P+//5Wg6xTyHhYj15UBEgWLvfzqqjHKIjO+SKXPYPQ aw6QB1qlmHrMJj2hOw77Mm4Sp4YxVnsz5y64NAWUHG1jwd4GXRylT00H3aPFUiIx6cm2ee h9nYjiAuctabc/cHEeLFzslnmbWvGpXgX6K5gkYbHGPQPHVZOu0mbtz/qRXxJobMerjvnf Nx9nZslti6pc32zh6biO9agb+uBonobzcLgZ4pBPhLV8esXPM+SV1tt5L7rE0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686238268; 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=neRCnMIWQfTV8q6Ge/DwmOlh9v45f7BRlh6FCdP+LmI=; b=uPMIK3sKhWKgCwtKzgl5rr+Hc54QnpAlfTnsSssUO73RdkGt3SVVfONPx8ixIyRDesRNmz bbAjjZaAQIbNbEK98o7MIMcvaMz+9cTAMTtYkfWT5tzEK6q5w7FqBU1FNgDI4EHqULHNYj SGk++2h1I/BA4Hm54tw6hZFNwYOUXJJxV2YeP9oXxVy4y7hi2FvnclVCFJAuD/sFVq63TW YsKdaIVxJDl17oq+lWNs7qGwJ9oEUji9QEJHT3QQSk8Y0CGF/4QEhSclbVfj2YXMxf6HEI 77C5wx5ccFXyZ/dJnhiPGFVtzerMN++HtVM4470YU6Q/+yayLCHBbNj5aGMf4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686238268; a=rsa-sha256; cv=none; b=W+huPJPc4XblLhxRE3lq4iTJZ1xdrHGmWamR0lhLjxvZKYgBxMsEnWC7QByt2KE/464inE eDRn042R5V7HDCKBXB8t8y/xCWdolAw3bBPDTotvGwfn8HUYnoJTLq+fqIcgHfncfDZUDy 72ZrWutGS05D0WB2IeQnE11BMpVgUjFRcT80coFszyXX3U7Yds6Lg3orm8Q1DoSoYlkrX7 sudZJBocJKipfDEDm6qf60va3/DgFBTm8uaG7KBVONtRk8HNGp4/5UitLQgJDyLnjDnGUH M/vVsfjKjdvGwKtQwa5cblxG64G/GGz1EXlMgxMT8SQaFas0xKwt++p9fvXp2A== 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 4QcSq02GG1z100g; Thu, 8 Jun 2023 15:31:08 +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 358FV8No061347; Thu, 8 Jun 2023 15:31:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358FV8oS061346; Thu, 8 Jun 2023 15:31:08 GMT (envelope-from git) Date: Thu, 8 Jun 2023 15:31:08 GMT Message-Id: <202306081531.358FV8oS061346@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: f85994a9462b - main - net-p2p/torrent-file-editor: Fix build with llvm15 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: f85994a9462b7fdbbdf62a4db5f2b1f43135de95 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f85994a9462b7fdbbdf62a4db5f2b1f43135de95 commit f85994a9462b7fdbbdf62a4db5f2b1f43135de95 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-08 14:15:21 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-08 15:30:54 +0000 net-p2p/torrent-file-editor: Fix build with llvm15 --- net-p2p/torrent-file-editor/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-p2p/torrent-file-editor/Makefile b/net-p2p/torrent-file-editor/Makefile index 23ea32847f69..10ee0769e4db 100644 --- a/net-p2p/torrent-file-editor/Makefile +++ b/net-p2p/torrent-file-editor/Makefile @@ -23,6 +23,12 @@ OPTIONS_DEFAULT= DONATION DONATION_DESC= Show donation text in the About dialog DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + post-patch: @${REINPLACE_CMD} -e 's,const auto file,const auto \&file,' \ ${WRKSRC}/bencodemodel.cpp ${WRKSRC}/mainwindow.cpp @@ -30,4 +36,4 @@ post-patch: @${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \ ${WRKSRC}/cmake/Dmg.cmake ${WRKSRC}/cmake/Version.cmake -.include +.include