git: 0859e2a9feb5 - main - devel/qt6-tools: Fix build with LLVM 19

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 13 Oct 2024 15:50:41 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0859e2a9feb50303508309d0068d098702676f96

commit 0859e2a9feb50303508309d0068d098702676f96
Author:     Oleg Sidorkin <osidorkin@gmail.com>
AuthorDate: 2024-10-09 17:01:19 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-10-13 15:49:49 +0000

    devel/qt6-tools: Fix build with LLVM 19
    
    PR:             281972
---
 devel/qt6-tools/Makefile | 7 ++++++-
 devel/qt6-tools/distinfo | 8 +++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/devel/qt6-tools/Makefile b/devel/qt6-tools/Makefile
index 7ebf6bf481a8..e20f79d0f116 100644
--- a/devel/qt6-tools/Makefile
+++ b/devel/qt6-tools/Makefile
@@ -3,6 +3,11 @@ DISTVERSION=	${QT6_VERSION}
 CATEGORIES=	devel
 PKGNAMEPREFIX=	qt6-
 
+PATCH_SITES=	https://github.com/qt/qttools/commit/
+PATCHFILES+=	687fc1601863ae7a67897bc3590b33bd3bdcc3bc.patch:-p1
+PATCHFILES+=	4a368a06afa5929d8674d2e94c2d7cbd6ad85d4e.patch:-p1
+PATCHFILES+=	a2f478b20f369132de1e67b30716d5f070d7bf80.patch:-p1
+
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt declarative framework for dynamic user interfaces
 
@@ -13,8 +18,8 @@ LIB_DEPENDS=	libxkbcommon.so:x11/libxkbcommon \
 USES=		cmake compiler:c++17-lang gl llvm:lib,noexport python:build \
 		qt-dist:6
 USE_GL=		opengl
-USE_QT=		base declarative sqldriver-sqlite:run
 USE_LDCONFIG=	${PREFIX}/${QT_LIBDIR_REL}
+USE_QT=		base declarative sqldriver-sqlite:run
 
 CMAKE_ARGS+=	-DClang_DIR:PATH="${LLVM_PREFIX}/lib/cmake/clang" \
 		-DLLVM_DIR:PATH="${LLVM_PREFIX}/lib/cmake/llvm"
diff --git a/devel/qt6-tools/distinfo b/devel/qt6-tools/distinfo
index 138095115cb7..e761169f1aeb 100644
--- a/devel/qt6-tools/distinfo
+++ b/devel/qt6-tools/distinfo
@@ -1,3 +1,9 @@
-TIMESTAMP = 1727500285
+TIMESTAMP = 1728800066
 SHA256 (KDE/Qt/6.7.3/qttools-everywhere-src-6.7.3.tar.xz) = f03bb7df619cd9ac9dba110e30b7bcab5dd88eb8bdc9cc752563b4367233203f
 SIZE (KDE/Qt/6.7.3/qttools-everywhere-src-6.7.3.tar.xz) = 9022820
+SHA256 (KDE/Qt/6.7.3/687fc1601863ae7a67897bc3590b33bd3bdcc3bc.patch) = 50de89291c6af06f8f3426939c0a08f99575f25d98693991a15a8550aef767a7
+SIZE (KDE/Qt/6.7.3/687fc1601863ae7a67897bc3590b33bd3bdcc3bc.patch) = 1442
+SHA256 (KDE/Qt/6.7.3/4a368a06afa5929d8674d2e94c2d7cbd6ad85d4e.patch) = e7407d7d0bfbcf385b09f354decd9dcec414979e509352553fb2b310c9b4621a
+SIZE (KDE/Qt/6.7.3/4a368a06afa5929d8674d2e94c2d7cbd6ad85d4e.patch) = 4429
+SHA256 (KDE/Qt/6.7.3/a2f478b20f369132de1e67b30716d5f070d7bf80.patch) = edee150309c56f677b1131f8cb3d3895669943fbcb81668802af6b70e9e852a6
+SIZE (KDE/Qt/6.7.3/a2f478b20f369132de1e67b30716d5f070d7bf80.patch) = 3373