From nobody Mon Aug 26 20:54:39 2024 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 4Wt2wv5f7Hz5TbjZ; Mon, 26 Aug 2024 20:54:39 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wt2wv4q4nz4RGc; Mon, 26 Aug 2024 20:54:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724705679; 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=oyg17Hex0Z78WNY9nWw881ReLG2Vwe3igsNyX0ODM7A=; b=hsg283+j9bcgW8TLCuEReAbe5DygNpMMXGI5XFXR2TGdMBJINAqZZNrwwv2Inq3rPKtE1D IZdphQVU9YlXUtH6cjAXARWMNgL2uFkx/vsRWDFUy91JtYB2aosr0q4r2NO0MFE+7ntTiY S2nL8RsVbm9WKds7Vp2ZIiacbF8P3xMkSly2H7S8kaf0yecuEZHJi6rYswsnAbBIPHBKd1 tzz0yDAfi5qd8Fvmjg15W1P0m/SJ0WBd9H4DVmIdLbc2jzJ0wxmgnhr0zOJr35KwbNAaJz Ca4DZ9J871eKf2aSMT3Nycyj8eS5zItM0ycfRgTrpxalD4sAG21GhrXSQZutog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724705679; a=rsa-sha256; cv=none; b=TjnISK9Wa0tt/JyFARnlN0sSKziYIFv/8jZ3qFD8AcOxZOsFX8MlnF97GOviuatcFlplWF o5F17RuPefMrGdttEsJCM00zEZkbxFZj5EWKymiolyenUDT32uzlZG+iVtw9W0Fz4dimhU UV1FWD+0U1U3wgJbQUpKHPkPZlW7nGMyRprl2d2P9XDgOm39SpfzK4ByOkUYNMXC5WRLxw 5dq9vRdpzTMYlJnFo2+405E6nKdY3pgz4qrfFVd8yNbtUKsOeOPVkcZSkwEMz0/lsQBojR 2lzDDCS/gDar0sIRrGPbYqNLyKhzZr9a+aeRQL1mqL8clsFEyhdqDTXytRdAUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724705679; 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=oyg17Hex0Z78WNY9nWw881ReLG2Vwe3igsNyX0ODM7A=; b=o7vgdY8cSHwQ9q+dNBKWN7UAPZTvwDcVqG5UIg2Ku+lrPzld9NO277PED5fA2BICzP5qc9 nV9L42+iG/YjaamreINDmCBr/+ES8R9ufS4upXAFzdtoRn88AeZu5Zcq5DPk42QDzbEi2Q gSUZCPhEVOnlAQLb6ELCB5LWn4dXJEWZPDYmuVf365WpNGOxJRjA6wltw3lrEMFSREhAfu 3Qx1yvA3444gyDC9AMf7OBooqtPe02ULdzP5kSxB4WzQLzAFxerfw4xBemhaMbprDBISEo +i9hV23VSQNY3Hp4x13WeShOoUUHdISDhpPrVGMmnaCZ5AR0NRkOC9+o11MwgQ== 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 4Wt2wv4JD4zMNJ; Mon, 26 Aug 2024 20:54:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47QKsdt8030304; Mon, 26 Aug 2024 20:54:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47QKsda9030301; Mon, 26 Aug 2024 20:54:39 GMT (envelope-from git) Date: Mon, 26 Aug 2024 20:54:39 GMT Message-Id: <202408262054.47QKsda9030301@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: 1d3d911ea042 - main - devel/clazy: update to 1.12, latest upstream release (+) 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d3d911ea042ff78b75896561343b0c00d6e2c28 Auto-Submitted: auto-generated The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d3d911ea042ff78b75896561343b0c00d6e2c28 commit 1d3d911ea042ff78b75896561343b0c00d6e2c28 Author: Dima Panov AuthorDate: 2024-08-26 16:19:53 +0000 Commit: Dima Panov CommitDate: 2024-08-26 16:19:53 +0000 devel/clazy: update to 1.12, latest upstream release (+) * v1.12 (June 30th 2024) - New Checks: - qt-keyword-emit - sanitize-inline-keyword - no-module-include - Support for LLVM 18 - Fixit for QFileInfo::exists - Fixit for qstring-arg - Removed Qt4 compatibility - 2 years worth of bug fixes Full changelog: https://invent.kde.org/sdk/clazy/-/blob/master/Changelog --- devel/clazy/Makefile | 10 ++------ devel/clazy/distinfo | 12 +++------- ...anuallevel_unexpected-flag-enumerator-value.cpp | 28 ---------------------- devel/clazy/pkg-plist | 7 ++++-- 4 files changed, 10 insertions(+), 47 deletions(-) diff --git a/devel/clazy/Makefile b/devel/clazy/Makefile index 4f6238fc456b..e8bd86bcdd6a 100644 --- a/devel/clazy/Makefile +++ b/devel/clazy/Makefile @@ -1,20 +1,14 @@ PORTNAME= clazy -DISTVERSION= 1.11 -PORTREVISION= 2 +DISTVERSION= 1.12 CATEGORIES= devel kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src/ -PATCH_SITES+= https://invent.kde.org/sdk/clazy/-/commit/ -PATCHFILES+= 20fca52da739ebefa47e35f6b338bb99a0da3cfe.diff:-p1 -PATCHFILES+= a05ac7eb6f6198c3f478bd7b5b4bfc062a8d63cc.diff:-p1 -PATCHFILES+= 437d09f61a4a75d8a5e5239d20ccd9dc10b459ca.diff:-p1 - MAINTAINER= kde@FreeBSD.org COMMENT= Qt oriented code checker based on clang WWW= https://github.com/KDE/clazy LICENSE= LGPL20 -LICENSE_FILE= ${WRKSRC}/COPYING-LGPL2.txt +LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.0-or-later.txt USES= cmake llvm:build,run tar:xz diff --git a/devel/clazy/distinfo b/devel/clazy/distinfo index fb8d008d14d8..108832398901 100644 --- a/devel/clazy/distinfo +++ b/devel/clazy/distinfo @@ -1,9 +1,3 @@ -TIMESTAMP = 1690363170 -SHA256 (clazy-1.11.tar.xz) = 66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a -SIZE (clazy-1.11.tar.xz) = 404088 -SHA256 (20fca52da739ebefa47e35f6b338bb99a0da3cfe.diff) = b6f76075f9ecd9fad0d1bea84c3868de07d128df6d24c99d2de761e5718429f5 -SIZE (20fca52da739ebefa47e35f6b338bb99a0da3cfe.diff) = 11827 -SHA256 (a05ac7eb6f6198c3f478bd7b5b4bfc062a8d63cc.diff) = 4257ed252eee84e1fa2b2b072d6cd3ff01a0a8d82a4b2f224ef783d88e341510 -SIZE (a05ac7eb6f6198c3f478bd7b5b4bfc062a8d63cc.diff) = 3154 -SHA256 (437d09f61a4a75d8a5e5239d20ccd9dc10b459ca.diff) = d68fff99b684e51ad5cc8bc7a1d2caeabc54ec1b5034c0b28caa305e618d1170 -SIZE (437d09f61a4a75d8a5e5239d20ccd9dc10b459ca.diff) = 852 +TIMESTAMP = 1724704390 +SHA256 (clazy-1.12.tar.xz) = 611749141d07ce1e006f8a1253f9b2dbd5b7b44d2d5322d471d62430ec2849ac +SIZE (clazy-1.12.tar.xz) = 427740 diff --git a/devel/clazy/files/patch-src_checks_manuallevel_unexpected-flag-enumerator-value.cpp b/devel/clazy/files/patch-src_checks_manuallevel_unexpected-flag-enumerator-value.cpp deleted file mode 100644 index cc4cbd6944e8..000000000000 --- a/devel/clazy/files/patch-src_checks_manuallevel_unexpected-flag-enumerator-value.cpp +++ /dev/null @@ -1,28 +0,0 @@ ---- src/checks/manuallevel/unexpected-flag-enumerator-value.cpp.orig 2022-01-20 23:18:47 UTC -+++ src/checks/manuallevel/unexpected-flag-enumerator-value.cpp -@@ -61,8 +61,13 @@ static bool isIntentionallyNotPowerOf2(EnumConstantDec - if (val.isMask() && val.countTrailingOnes() >= MinOnesToQualifyAsMask) - return true; - -+#if LLVM_VERSION_MAJOR >= 17 -+ if (val.isMask() && val.popcount() >= MinOnesToQualifyAsMask) -+ return true; -+#else - if (val.isShiftedMask() && val.countPopulation() >= MinOnesToQualifyAsMask) - return true; -+#endif - - if (clazy::contains_lower(en->getName(), "mask")) - return true; -@@ -158,7 +163,11 @@ void UnexpectedFlagEnumeratorValue::VisitDecl(clang::D - - for (EnumConstantDecl* enumerator : enumerators) { - const auto &initVal = enumerator->getInitVal(); -+#if LLVM_VERSION_MAJOR >= 17 -+ if (!initVal.isPowerOf2() && !initVal.isZero() && !initVal.isNegative()) { -+#else - if (!initVal.isPowerOf2() && !initVal.isNullValue() && !initVal.isNegative()) { -+#endif - if (isIntentionallyNotPowerOf2(enumerator)) - continue; - const auto value = enumerator->getInitVal().getLimitedValue(); diff --git a/devel/clazy/pkg-plist b/devel/clazy/pkg-plist index 571bf08106af..d25d55a1e4b1 100644 --- a/devel/clazy/pkg-plist +++ b/devel/clazy/pkg-plist @@ -1,7 +1,7 @@ bin/clazy bin/clazy-standalone lib/ClazyPlugin.so -%%PORTDOCS%%%%DOCSDIR%%/COPYING-LGPL2.txt +%%PORTDOCS%%%%DOCSDIR%%/LGPL-2.0-or-later.txt %%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/checks.json %%PORTDOCS%%%%DOCSDIR%%/level0/README-connect-by-name.md @@ -14,6 +14,7 @@ lib/ClazyPlugin.so %%PORTDOCS%%%%DOCSDIR%%/level0/README-lambda-unique-connection.md %%PORTDOCS%%%%DOCSDIR%%/level0/README-lowercase-qml-type-name.md %%PORTDOCS%%%%DOCSDIR%%/level0/README-mutable-container-key.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-no-module-include.md %%PORTDOCS%%%%DOCSDIR%%/level0/README-overloaded-signal.md %%PORTDOCS%%%%DOCSDIR%%/level0/README-qcolor-from-literal.md %%PORTDOCS%%%%DOCSDIR%%/level0/README-qdatetime-utc.md @@ -82,7 +83,7 @@ lib/ClazyPlugin.so %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qrequiredresult-candidates.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qstring-varargs.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt-keywords.md -%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt4-qstring-from-array.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt-keyword-emit.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt6-deprecated-api-fixes.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt6-fwd-fixes.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt6-header-fixes.md @@ -91,11 +92,13 @@ lib/ClazyPlugin.so %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qvariant-template-instantiation.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-raw-environment-function.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-reserve-candidates.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-sanitize-inline-keyword.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-signal-with-return-value.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-thread-with-slots.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-tr-non-literal.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-unexpected-flag-enumerator-value.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-unneeded-cast.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-unused-result-check.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-use-arrow-operator-instead-of-data.md %%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-use-chrono-in-qtimer.md %%PORTDOCS%%share/man/man1/clazy.1.gz