git: 832fb76d497c - 2024Q4 - devel/qt6-base: Fix broken mouse behavior

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Wed, 20 Nov 2024 21:08:27 UTC
The branch 2024Q4 has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=832fb76d497cd259a0fd8d2e5c7d45a8f221ac44

commit 832fb76d497cd259a0fd8d2e5c7d45a8f221ac44
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-11-20 20:57:54 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-11-20 21:08:20 +0000

    devel/qt6-base: Fix broken mouse behavior
    
    Add upstream patch that reverts a bad commit causing mouse scroll wheel,
    button click, and button mapping issues with certain window managers.
    The report in this case was being unable to click on items in menu bars.
    
    PR:             282335
    Reported by:    <mmatalka@gmail.com>
    MFH:            2024Q4
    
    (cherry picked from commit 877838cddb86aba19f6f2d074dcd13e0da584f79)
---
 devel/qt6-base/Makefile | 4 ++++
 devel/qt6-base/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/devel/qt6-base/Makefile b/devel/qt6-base/Makefile
index dd0c5ef4a01e..0272d24ca2f7 100644
--- a/devel/qt6-base/Makefile
+++ b/devel/qt6-base/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	base
 DISTVERSION=	${QT6_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	qt6-
 
+PATCH_SITES=	https://github.com/qt/qtbase/commit/
+PATCHFILES+=	5875da6d70303468eab85030a80f54c268f80b79.patch:-p1 # PR282335
+
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt base (core, gui, widgets, network,...)
 
diff --git a/devel/qt6-base/distinfo b/devel/qt6-base/distinfo
index bd0810f8b051..d1611125fac6 100644
--- a/devel/qt6-base/distinfo
+++ b/devel/qt6-base/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1727500279
+TIMESTAMP = 1732082826
 SHA256 (KDE/Qt/6.7.3/qtbase-everywhere-src-6.7.3.tar.xz) = 8ccbb9ab055205ac76632c9eeddd1ed6fc66936fc56afc2ed0fd5d9e23da3097
 SIZE (KDE/Qt/6.7.3/qtbase-everywhere-src-6.7.3.tar.xz) = 49426156
+SHA256 (KDE/Qt/6.7.3/5875da6d70303468eab85030a80f54c268f80b79.patch) = 245db6c2856d5db56c4778539182b35dd090f0662e2d31315668ada1efabb8c1
+SIZE (KDE/Qt/6.7.3/5875da6d70303468eab85030a80f54c268f80b79.patch) = 6727