Fix KIO build for older versions
This commit is contained in:
parent
7fd0db14e8
commit
2e6f18841e
@ -15,7 +15,7 @@ PPA_KEYID=7808CE96D38B9201
|
||||
RCLVERS=1.28.1
|
||||
SCOPEVERS=1.20.2.4
|
||||
GSSPVERS=1.1.0
|
||||
PPAVERS=1
|
||||
PPAVERS=2
|
||||
|
||||
#
|
||||
RCLSRC=/y/home/dockes/projets/fulltext/recoll/src
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
diff --git a/kde/kioslave/kio_recoll/dirif.cpp b/kde/kioslave/kio_recoll/dirif.cpp
|
||||
index b1f38fb4..4438a1e7 100644
|
||||
--- a/kde/kioslave/kio_recoll/dirif.cpp
|
||||
+++ b/kde/kioslave/kio_recoll/dirif.cpp
|
||||
@@ -35,12 +35,17 @@
|
||||
#include <QDebug>
|
||||
#include <QUrl>
|
||||
#include <QStandardPaths>
|
||||
+#include <KF5/kio_version.h>
|
||||
|
||||
#include "kio_recoll.h"
|
||||
#include "pathut.h"
|
||||
|
||||
using namespace KIO;
|
||||
|
||||
+#if KIO_VERSION < ((5<<16)|(49<<8)|(0))
|
||||
+#define fastInsert insert
|
||||
+#endif
|
||||
+
|
||||
static const QString resultBaseName("recollResult");
|
||||
|
||||
// Check if the input URL is of the form that konqueror builds by
|
||||
@ -0,0 +1 @@
|
||||
kio-has-uds-fastInsert.patch
|
||||
@ -35,12 +35,17 @@
|
||||
#include <QDebug>
|
||||
#include <QUrl>
|
||||
#include <QStandardPaths>
|
||||
#include <KF5/kio_version.h>
|
||||
|
||||
#include "kio_recoll.h"
|
||||
#include "pathut.h"
|
||||
|
||||
using namespace KIO;
|
||||
|
||||
#if KIO_VERSION < ((5<<16)|(49<<8)|(0))
|
||||
#define fastInsert insert
|
||||
#endif
|
||||
|
||||
static const QString resultBaseName("recollResult");
|
||||
|
||||
// Check if the input URL is of the form that konqueror builds by
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user