[mapcache] 22/43: Add patch to fix deletion of map tiles in seeder's delete mode.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Jun 25 20:52:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch wheezy-backports
in repository mapcache.

commit ac04ae03d23a20605d927c0c9f9b000f01c1745e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Jul 17 23:25:14 2013 +0200

    Add patch to fix deletion of map tiles in seeder's delete mode.
---
 debian/changelog                               |  1 +
 debian/patches/mapcache_seed_delete_mode.patch | 14 ++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2e23626..076329e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ mapcache (1.0.0-3) UNRELEASED; urgency=low
   * Add patch to set the page height to 100% for the demo service.
   * Add patch to use 4 space indenting in the generated HTML.
   * Add patch to return non-zero exit status if errors occured in mapcache_seed.
+  * Add patch to fix deletion of map tiles in seeder's delete mode.
   * Add watch file.
   * Add maintainer scripts for libmapcache0 to call ldconfig.
 
diff --git a/debian/patches/mapcache_seed_delete_mode.patch b/debian/patches/mapcache_seed_delete_mode.patch
new file mode 100644
index 0000000..e9f4fa8
--- /dev/null
+++ b/debian/patches/mapcache_seed_delete_mode.patch
@@ -0,0 +1,14 @@
+Description: Fix deletion of map tiles in seeder's delete mode
+Origin: https://github.com/mapserver/mapcache/commit/fde669fa6a9829afcb3d3be234abf38c1cf2aebe
+Last-Update: 2013-07-15
+--- a/util/mapcache_seed.c
++++ b/util/mapcache_seed.c
+@@ -569,7 +569,7 @@ void cmd_worker()
+       tile->z = z;
+       action = examine_tile(&cmd_ctx, tile);
+ 
+-      if(action == MAPCACHE_CMD_SEED || action == MAPCACHE_CMD_TRANSFER) {
++      if(action == MAPCACHE_CMD_SEED || action == MAPCACHE_CMD_DELETE || action == MAPCACHE_CMD_TRANSFER) {
+         //current x,y,z needs seeding, add it to the queue
+         struct seed_cmd cmd;
+         cmd.x = x;
diff --git a/debian/patches/series b/debian/patches/series
index 3a9d9be..7387d1a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ demo_service_list_newlines.patch
 demo_service_page_height.patch
 demo_service_indenting.patch
 mapcache_seed_non_zero_exit.patch
+mapcache_seed_delete_mode.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcache.git



More information about the Pkg-grass-devel mailing list