Hello community, here is the log from the commit of package kcharselect for openSUSE:Factory checked in at 2019-11-15 22:37:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcharselect (Old) and /work/SRC/openSUSE:Factory/.kcharselect.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcharselect" Fri Nov 15 22:37:20 2019 rev:103 rq:748592 version:19.08.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kcharselect/kcharselect.changes 2019-11-12 11:35:57.570126326 +0100 +++ /work/SRC/openSUSE:Factory/.kcharselect.new.26869/kcharselect.changes 2019-11-15 22:37:21.595951934 +0100 @@ -1,0 +2,5 @@ +Thu Nov 14 10:10:09 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr> + +- Add 0001-Make-it-compiles-against-qt5.14.patch to fix build with Qt 5.14. + +------------------------------------------------------------------- New: ---- 0001-Make-it-compiles-against-qt5.14.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcharselect.spec ++++++ --- /var/tmp/diff_new_pack.9WaAIq/_old 2019-11-15 22:37:23.271957366 +0100 +++ /var/tmp/diff_new_pack.9WaAIq/_new 2019-11-15 22:37:23.287957418 +0100 @@ -32,6 +32,8 @@ Source1: https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif +# PATCH-FIX-UPSTREAM +Patch0: 0001-Make-it-compiles-against-qt5.14.patch BuildRequires: extra-cmake-modules BuildRequires: kbookmarks-devel BuildRequires: kdoctools-devel @@ -58,7 +60,7 @@ %endif %prep -%setup -q -n kcharselect-%{version} +%autosetup -p1 -n kcharselect-%{version} %build %cmake_kf5 -d build ++++++ 0001-Make-it-compiles-against-qt5.14.patch ++++++ >From 956b63170b2606fb274f0bd90399dac0ae9dbcd4 Mon Sep 17 00:00:00 2001 From: Laurent Montel <mon...@kde.org> Date: Tue, 17 Sep 2019 13:41:01 +0200 Subject: [PATCH] Make it compiles against qt5.14 --- kcharselectdia.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kcharselectdia.cc b/kcharselectdia.cc index f1790b5..116cba4 100644 --- a/kcharselectdia.cc +++ b/kcharselectdia.cc @@ -265,7 +265,6 @@ void KCharSelectDia::toClipHTML() QClipboard *cb = QApplication::clipboard(); QString input; QString html; - QString tempstring; QChar tempchar; int i = 0; @@ -282,7 +281,7 @@ void KCharSelectDia::toClipHTML() } else { - html.append(tempstring.sprintf("&#x%x;", tempchar.unicode())); + html.append(QString::asprintf("&#x%x;", tempchar.unicode())); } } cb->setText(html); -- 2.24.0