summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-12-13 13:43:01 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2019-12-13 13:43:13 +0100
commitc1caf7b967dcf9118ee2dddb971f78ba4c3de37b (patch)
treef37c50c591c8e5f8197d30bf6009611222f35b56 /net-misc/nextcloud-client
parentmedia-sound/qsampler-9999: removed trailing empty line (diff)
downloadgentoo-c1caf7b967dcf9118ee2dddb971f78ba4c3de37b.tar.gz
gentoo-c1caf7b967dcf9118ee2dddb971f78ba4c3de37b.tar.bz2
gentoo-c1caf7b967dcf9118ee2dddb971f78ba4c3de37b.zip
net-misc/nextcloud-client: fix test compilation
Closes: https://bugs.gentoo.org/700262 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-misc/nextcloud-client')
-rw-r--r--net-misc/nextcloud-client/files/nextcloud-client-2.6.1-include_tests.patch22
-rw-r--r--net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild2
2 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/nextcloud-client/files/nextcloud-client-2.6.1-include_tests.patch b/net-misc/nextcloud-client/files/nextcloud-client-2.6.1-include_tests.patch
new file mode 100644
index 000000000000..da8423022b7a
--- /dev/null
+++ b/net-misc/nextcloud-client/files/nextcloud-client-2.6.1-include_tests.patch
@@ -0,0 +1,22 @@
+From f9c6449c050cad673cf37971d9815a35e6ffb5dd Mon Sep 17 00:00:00 2001
+From: tuxmaster5000 <837503+tuxmaster5000@users.noreply.github.com>
+Date: Fri, 12 Oct 2018 15:56:26 +0200
+Subject: [PATCH] Fix include file
+
+---
+ test/testnextcloudpropagator.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/testnextcloudpropagator.cpp b/test/testnextcloudpropagator.cpp
+index 6ad1a6b37..dc2e476ad 100644
+--- a/test/testnextcloudpropagator.cpp
++++ b/test/testnextcloudpropagator.cpp
+@@ -8,7 +8,7 @@
+ #include <QDebug>
+
+ #include "propagatedownload.h"
+-#include "nextcloudpropagator_p.h"
++#include "owncloudpropagator_p.h"
+
+ using namespace OCC;
+ namespace OCC {
diff --git a/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild b/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild
index 9b0d12160a76..ba40a56dc34c 100644
--- a/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild
+++ b/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild
@@ -51,6 +51,8 @@ DEPEND="${COMMON_DEPEND}
RESTRICT="!test? ( test )"
+PATCHES=( "${FILESDIR}"/${P}-include_tests.patch )
+
S=${WORKDIR}/desktop-${PV/_/-}
src_prepare() {