[packages/kde4-kdelibs] - fix fo 64bit support in strigi - rel 2
baggins
baggins at pld-linux.org
Mon Mar 21 14:13:57 CET 2016
commit 98b6e963d419eda2c3ff6f12c5255f6998c69711
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Mar 21 14:13:38 2016 +0100
- fix fo 64bit support in strigi
- rel 2
kde4-kdelibs.spec | 4 +++-
strigi-64bit.patch | 15 +++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/kde4-kdelibs.spec b/kde4-kdelibs.spec
index 46ed45a..31a9c79 100644
--- a/kde4-kdelibs.spec
+++ b/kde4-kdelibs.spec
@@ -17,7 +17,7 @@ Summary(ru.UTF-8): K Desktop Environment - Библиотеки
Summary(uk.UTF-8): K Desktop Environment - Бібліотеки
Name: kde4-kdelibs
Version: 4.14.18
-Release: 1
+Release: 2
License: LGPL
Group: X11/Libraries
Source0: http://download.kde.org/%{_state}/applications/15.12.3/src/%{orgname}-%{version}.tar.xz
@@ -31,6 +31,7 @@ Patch3: %{name}-aboutPLD.patch
Patch4: %{name}-devicemanager_remove.patch
Patch5: kde4-kdelibs-sync.patch
Patch6: kde4-kdelibs-pld-flags.patch
+Patch7: strigi-64bit.patch
URL: http://www.kde.org/
BuildRequires: OpenEXR-devel >= 1.2.2
BuildRequires: Qt3Support-devel >= %{qtver}
@@ -246,6 +247,7 @@ KDE.
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%if "%{pld_release}" == "ti"
sed -i -e 's#PLDLINUX_VERSION#PLD/Titanium#g' kio/kio/kprotocolmanager.cpp
diff --git a/strigi-64bit.patch b/strigi-64bit.patch
new file mode 100644
index 0000000..3c56ddf
--- /dev/null
+++ b/strigi-64bit.patch
@@ -0,0 +1,15 @@
+--- kdelibs-4.14.18/kio/kio/kfilemetainfo.cpp~ 2016-03-11 00:50:17.000000000 +0100
++++ kdelibs-4.14.18/kio/kio/kfilemetainfo.cpp 2016-03-21 14:00:39.213763857 +0100
+@@ -162,6 +162,12 @@
+ }
+ }
+ void addValue(const Strigi::AnalysisResult* idx, const Strigi::RegisteredField* field,
++ int64_t value) {
++ if (idx->writerData()) {
++ addValue(idx, field, QVariant((qint64)value));
++ }
++ }
++ void addValue(const Strigi::AnalysisResult* idx, const Strigi::RegisteredField* field,
+ double value) {
+ if (idx->writerData()) {
+ addValue(idx, field, QVariant(value));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdelibs.git/commitdiff/98b6e963d419eda2c3ff6f12c5255f6998c69711
More information about the pld-cvs-commit
mailing list