[osm2pgsql] 04/05: Drop patches, included upstream.

Bas Couwenberg sebastic at debian.org
Thu Apr 13 21:59:54 UTC 2017


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

sebastic pushed a commit to branch master
in repository osm2pgsql.

commit fbf40bab9e9a34db191fb50a6d3aa93d7a469bec
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Apr 13 23:52:51 2017 +0200

    Drop patches, included upstream.
---
 debian/changelog                                   |  1 +
 ...e-logic-for-queuing-pending-ways-with-mul.patch | 27 ----------------------
 ...nore-relations-with-more-than-32k-members.patch | 20 ----------------
 debian/patches/series                              |  2 --
 4 files changed, 1 insertion(+), 49 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1365e38..9f2fd8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 osm2pgsql (0.92.1+ds-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Drop patches, included upstream.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 13 Apr 2017 23:51:48 +0200
 
diff --git a/debian/patches/0001-Use-the-same-logic-for-queuing-pending-ways-with-mul.patch b/debian/patches/0001-Use-the-same-logic-for-queuing-pending-ways-with-mul.patch
deleted file mode 100644
index ec4676b..0000000
--- a/debian/patches/0001-Use-the-same-logic-for-queuing-pending-ways-with-mul.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: Use the same logic for queuing pending ways with multi and pgsql
- Fixes ways disappearing from the output table.
-Author: Paul Norman <penorman at mac.com>
-Origin: https://github.com/openstreetmap/osm2pgsql/commit/8ffe16e67da43fd531a5e73b10d31465324f4a91
-Bug: https://github.com/openstreetmap/osm2pgsql/issues/735
-Bug-Debian: https://bugs.debian.org/860273
-
---- a/output-multi.cpp
-+++ b/output-multi.cpp
-@@ -92,7 +92,7 @@ void output_multi_t::enqueue_ways(pendin
-     }
- 
-     //make sure to get this one as well and move to the next
--    if(popped == id) {
-+    if (popped > id) {
-         if (!ways_done_tracker->is_marked(popped) && id_tracker::is_valid(popped)) {
-             job_queue.push(pending_job_t(popped, output_id));
-             added++;
-@@ -143,7 +143,7 @@ void output_multi_t::enqueue_relations(p
-     }
- 
-     //make sure to get this one as well and move to the next
--    if(popped == id) {
-+    if (popped > id) {
-         if(id_tracker::is_valid(popped)) {
-             job_queue.push(pending_job_t(popped, output_id));
-             added++;
diff --git a/debian/patches/0001-ignore-relations-with-more-than-32k-members.patch b/debian/patches/0001-ignore-relations-with-more-than-32k-members.patch
deleted file mode 100644
index 53b4767..0000000
--- a/debian/patches/0001-ignore-relations-with-more-than-32k-members.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Description: ignore relations with more than 32k members
- There is a hard restriction in the pgsql middle tables, where
- relation members are indexed using a smallint. To remain
- consistent, drop all relations which exceed this size.
-Author: Sarah Hoffmann <lonvia at denofr.de>
-Origin: https://github.com/openstreetmap/osm2pgsql/commit/ec9c84edbcbd0dafab6d6c30290083e75c023890
-Bug: https://github.com/openstreetmap/osm2pgsql/issues/713
-
---- a/parse-osmium.cpp
-+++ b/parse-osmium.cpp
-@@ -176,6 +176,9 @@ void parse_osmium_t::relation(osmium::Re
-     if (rel.deleted()) {
-         m_data->relation_delete(rel.id());
-     } else {
-+        if (rel.members().size() > 32767) {
-+            return;
-+        }
-         convert_tags(rel);
-         convert_members(rel.members());
-         if (m_append) {
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index acaf7fc..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-0001-ignore-relations-with-more-than-32k-members.patch
-0001-Use-the-same-logic-for-queuing-pending-ways-with-mul.patch

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



More information about the Pkg-grass-devel mailing list