[Pkg-owncloud-commits] [owncloud-client] 66/69: Removed backported patch
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 7 19:41:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 2a60b2d49fb199ffe150f9b627d0e61c0eaa2f18
Author: Sandro Knauß <bugs at sandroknauss.de>
Date: Fri Nov 7 20:24:58 2014 +0100
Removed backported patch
---
...Sync-Journal-test-use-real-CSYNC-struct-f.patch | 64 ----------------------
debian/patches/series | 1 -
2 files changed, 65 deletions(-)
diff --git a/debian/patches/0006-tests-Fix-CSync-Journal-test-use-real-CSYNC-struct-f.patch b/debian/patches/0006-tests-Fix-CSync-Journal-test-use-real-CSYNC-struct-f.patch
deleted file mode 100644
index 71e96cc..0000000
--- a/debian/patches/0006-tests-Fix-CSync-Journal-test-use-real-CSYNC-struct-f.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From: Klaas Freitag <freitag at owncloud.com>
-Date: Mon, 27 Oct 2014 13:14:41 +0100
-Subject: tests: Fix CSync Journal test,
- use real CSYNC struct from csync_private.
-
-This fixes bug #2396
----
- test/testcsyncsqlite.h | 32 +++-----------------------------
- 1 file changed, 3 insertions(+), 29 deletions(-)
-
-diff --git a/test/testcsyncsqlite.h b/test/testcsyncsqlite.h
-index 0765668..01b886b 100644
---- a/test/testcsyncsqlite.h
-+++ b/test/testcsyncsqlite.h
-@@ -8,6 +8,7 @@
- #define MIRALL_TESTCSYNCSQLITE_H
-
- #include "csync_statedb.h"
-+#include "csync_private.h"
- #include <QtTest>
-
-
-@@ -16,39 +17,12 @@ class TestCSyncSqlite : public QObject
- Q_OBJECT
-
- private:
-- /* Attention !!!!!!!!!!!!!!!!!!!
-- * This struct MY_CSYNC has to be a copy of the CSYNC struct defined
-- * in csync_private.h until the end of struct statedb.
-- * Subsequent functions cast the struct to CSYNC. In order to get the
-- * same values as in the original struct, the start must be the same.
-- */
-- typedef struct {
-- struct {
-- csync_auth_callback auth_function;
-- void *userdata;
-- csync_update_callback update_callback;
-- void *update_callback_userdata;
-- } callbacks;
-- c_strlist_t *excludes;
--
-- struct {
-- char *file;
-- sqlite3 *db;
-- int exists;
-- int disabled;
--
-- sqlite3_stmt* by_hash_stmt;
-- sqlite3_stmt* by_fileid_stmt;
-- sqlite3_stmt* by_inode_stmt;
-- } statedb;
-- } MY_CSYNC;
--
-- MY_CSYNC _ctx;
-+ CSYNC _ctx;
- private slots:
- void initTestCase() {
- int rc;
-
-- memset(&_ctx, 0, sizeof(MY_CSYNC));
-+ memset(&_ctx, 0, sizeof(CSYNC));
-
- _ctx.statedb.file = c_strdup("./test_journal.db");
-
diff --git a/debian/patches/series b/debian/patches/series
index a301601..713d1a6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@
0003-skip_tests_freebsd.patch
0004-shell_integration_copyright.patch
0005-remove_admin.patch
-0006-tests-Fix-CSync-Journal-test-use-real-CSYNC-struct-f.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list