pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/kf6-ktexteditor



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Nov 27 22:32:25 UTC 2025

Modified Files:
        pkgsrc/devel/kf6-ktexteditor: distinfo
Added Files:
        pkgsrc/devel/kf6-ktexteditor/patches:
            patch-autotests_src_vimode_keys.cpp

Log Message:
kf6-ktexteditor: fix build with qt6 6.10


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/kf6-ktexteditor/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/kf6-ktexteditor/patches/patch-autotests_src_vimode_keys.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/kf6-ktexteditor/distinfo
diff -u pkgsrc/devel/kf6-ktexteditor/distinfo:1.3 pkgsrc/devel/kf6-ktexteditor/distinfo:1.4
--- pkgsrc/devel/kf6-ktexteditor/distinfo:1.3   Mon Oct  6 09:56:02 2025
+++ pkgsrc/devel/kf6-ktexteditor/distinfo       Thu Nov 27 22:32:25 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2025/10/06 09:56:02 markd Exp $
+$NetBSD: distinfo,v 1.4 2025/11/27 22:32:25 wiz Exp $
 
 BLAKE2s (ktexteditor-6.18.0.tar.xz) = e45a1b337f65cebac2f1686622d52dc075ac0a13f44bb90cbf7356c13350f1d0
 SHA512 (ktexteditor-6.18.0.tar.xz) = dc55c37744c5f851561dde4753248c9dfd4c0fed787de5543d3b861c41033239cda0948c5124e82ccfc903bde3ee5417b632fcfa2d356642606cf7ec159dfd8f
 Size (ktexteditor-6.18.0.tar.xz) = 2947728 bytes
+SHA1 (patch-autotests_src_vimode_keys.cpp) = a60e4518e593fc92e1ba8adba03aec8f0917ba04

Added files:

Index: pkgsrc/devel/kf6-ktexteditor/patches/patch-autotests_src_vimode_keys.cpp
diff -u /dev/null pkgsrc/devel/kf6-ktexteditor/patches/patch-autotests_src_vimode_keys.cpp:1.1
--- /dev/null   Thu Nov 27 22:32:25 2025
+++ pkgsrc/devel/kf6-ktexteditor/patches/patch-autotests_src_vimode_keys.cpp    Thu Nov 27 22:32:25 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-autotests_src_vimode_keys.cpp,v 1.1 2025/11/27 22:32:25 wiz Exp $
+
+Fix build with qt6 6.10.
+https://github.com/KDE/ktexteditor/commit/33936c0fd561fa0e84a44b325a4501f8847cd68d
+
+--- autotests/src/vimode/keys.cpp.orig 2025-09-08 08:14:38.000000000 +0000
++++ autotests/src/vimode/keys.cpp
+@@ -722,7 +722,7 @@ void KeysTest::AltGr()
+     QApplication::postEvent(kate_view->focusProxy(), altGrDown);
+     QApplication::sendPostedEvents();
+     QKeyEvent *altGrAndUGrave = new QKeyEvent(QEvent::KeyPress, Qt::Key_Ugrave, Qt::ShiftModifier | Qt::GroupSwitchModifier, ugrave);
+-    qDebug() << QStringLiteral("%1").arg(altGrAndUGrave->modifiers(), 10, 16);
++    qDebug() << QStringLiteral("%1").arg(static_cast<int>(altGrAndUGrave->modifiers()), 10, 16);
+     QApplication::postEvent(kate_view->focusProxy(), altGrAndUGrave);
+     QApplication::sendPostedEvents();
+     altGrUp = new QKeyEvent(QEvent::KeyRelease, Qt::Key_AltGr, Qt::NoModifier);



Home | Main Index | Thread Index | Old Index