geo/osm2pgsql: backport upstream commit to fix build with fmt 8.1.1
from a29d1fa6b1
fixes build failure reported by naddy@
This commit is contained in:
parent
99950b0f25
commit
ea557228c3
15
geo/osm2pgsql/patches/patch-src_output-flex_cpp
Normal file
15
geo/osm2pgsql/patches/patch-src_output-flex_cpp
Normal file
@ -0,0 +1,15 @@
|
||||
fix build with fmt 8.1.1
|
||||
|
||||
from https://github.com/openstreetmap/osm2pgsql/commit/a29d1fa6b105bfe385280b39ac3143f020ff241d
|
||||
Index: src/output-flex.cpp
|
||||
--- src/output-flex.cpp.orig
|
||||
+++ src/output-flex.cpp
|
||||
@@ -636,7 +636,7 @@ void output_flex_t::write_column(
|
||||
}
|
||||
} else {
|
||||
throw std::runtime_error{
|
||||
- "Column type {} not implemented."_format(column.type())};
|
||||
+ "Column type {} not implemented."_format(static_cast<uint8_t>(column.type()))};
|
||||
}
|
||||
|
||||
lua_pop(lua_state(), 1);
|
Loading…
Reference in New Issue
Block a user