summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff')
-rw-r--r--arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff b/arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff
new file mode 100644
index 000000000..5dbe6e492
--- /dev/null
+++ b/arch/tde-extra/tde-tdeedu/bp000-0cb84fb9.diff
@@ -0,0 +1,31 @@
+From 0cb84fb9036ce7bc7c757a3971fdb0c619d0c011 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <francois.andriot@free.fr>
+Date: Tue, 11 May 2021 09:15:26 +0200
+Subject: Fix FTBFS on Fedora 34
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+error: static assertion failed: comparison object must be invocable as const
+
+Signed-off-by: François Andriot <francois.andriot@free.fr>
+---
+ kiten/learn.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kiten/learn.cpp b/kiten/learn.cpp
+index 94e77b9a..a1b685d4 100644
+--- a/kiten/learn.cpp
++++ b/kiten/learn.cpp
+@@ -762,7 +762,7 @@ void Learn::qupdate()
+
+ struct Learn::scoreCompare
+ {
+- bool operator()(const TQListViewItem* v1, const TQListViewItem* v2)
++ bool operator()(const TQListViewItem* v1, const TQListViewItem* v2) const
+ {
+ return v1->text(4).toInt() < v2->text(4).toInt();
+ }
+--
+cgit v1.2.1
+