[Git][debian-gis-team/osm2pgsql][master] Add upstream patch to fix FTBFS with gcc-13. (closes: #1037812)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Jun 14 11:46:12 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / osm2pgsql


Commits:
903fd866 by Bas Couwenberg at 2023-06-14T12:44:12+02:00
Add upstream patch to fix FTBFS with gcc-13. (closes: #1037812)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-Add-missing-cstdint-header-includes-to-some-files.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,8 @@
 osm2pgsql (1.8.1+ds-2) UNRELEASED; urgency=medium
 
   * Bump debhelper compat to 13.
+  * Add upstream patch to fix FTBFS with gcc-13.
+    (closes: #1037812)
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 12 Jun 2023 17:50:41 +0200
 


=====================================
debian/patches/0001-Add-missing-cstdint-header-includes-to-some-files.patch
=====================================
@@ -0,0 +1,86 @@
+Description: Add missing cstdint header includes to some files
+Author: Jochen Topf <jochen at topf.org>
+Origin: https://github.com/openstreetmap/osm2pgsql/commit/c619302bc538e1dbf74dccf7f59d5b0d8f12ef5d
+Bug: https://github.com/openstreetmap/osm2pgsql/issues/1957
+Bug-Debian: https://bugs.debian.org/1037812
+
+--- a/src/expire-tiles.hpp
++++ b/src/expire-tiles.hpp
+@@ -10,6 +10,7 @@
+  * For a full list of authors see the git log.
+  */
+ 
++#include <cstdint>
+ #include <memory>
+ #include <string_view>
+ #include <unordered_set>
+--- a/src/flex-index.hpp
++++ b/src/flex-index.hpp
+@@ -11,6 +11,7 @@
+  */
+ 
+ #include <cassert>
++#include <cstdint>
+ #include <stdexcept>
+ #include <string>
+ #include <vector>
+--- a/src/flex-write.cpp
++++ b/src/flex-write.cpp
+@@ -16,6 +16,7 @@
+ 
+ #include <algorithm>
+ #include <cmath>
++#include <cstdint>
+ #include <cstdlib>
+ #include <cstring>
+ #include <limits>
+--- a/src/gazetteer-style.hpp
++++ b/src/gazetteer-style.hpp
+@@ -10,6 +10,7 @@
+  * For a full list of authors see the git log.
+  */
+ 
++#include <cstdint>
+ #include <memory>
+ #include <string>
+ #include <tuple>
+--- a/src/middle-pgsql.cpp
++++ b/src/middle-pgsql.cpp
+@@ -16,6 +16,7 @@
+ */
+ 
+ #include <cassert>
++#include <cstdint>
+ #include <cstdlib>
+ #include <memory>
+ #include <stdexcept>
+--- a/src/pgsql-capabilities.hpp
++++ b/src/pgsql-capabilities.hpp
+@@ -10,6 +10,7 @@
+  * For a full list of authors see the git log.
+  */
+ 
++#include <cstdint>
+ #include <string>
+ 
+ class pg_conn_t;
+--- a/src/pgsql.hpp
++++ b/src/pgsql.hpp
+@@ -25,6 +25,7 @@
+ #include <array>
+ #include <atomic>
+ #include <cassert>
++#include <cstdint>
+ #include <map>
+ #include <memory>
+ #include <string>
+--- a/src/progress-display.hpp
++++ b/src/progress-display.hpp
+@@ -19,6 +19,7 @@
+  */
+ 
+ #include <cstddef>
++#include <cstdint>
+ #include <ctime>
+ 
+ #include <osmium/handler.hpp>


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+0001-Add-missing-cstdint-header-includes-to-some-files.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/osm2pgsql/-/commit/903fd86623bdce202b62c3a7605a6d9b85e1ae17

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/osm2pgsql/-/commit/903fd86623bdce202b62c3a7605a6d9b85e1ae17
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230614/cc6af55c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list