osm2pgsql: Update to 1.6.0
* Make sure to use bundled fmt headers
This commit is contained in:
parent
e22ce602fa
commit
9689f11b5a
19
packages/osm2pgsql/CMakeLists.txt.patch
Normal file
19
packages/osm2pgsql/CMakeLists.txt.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -177,6 +177,7 @@
|
||||
|
||||
if (NOT EXTERNAL_FMT)
|
||||
set(FMT_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/contrib/fmt/include")
|
||||
+ include_directories(${FMT_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
if (NOT EXTERNAL_RAPIDJSON)
|
||||
@@ -186,7 +187,7 @@
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
find_package(Osmium 2.17.3 REQUIRED COMPONENTS io)
|
||||
-include_directories(SYSTEM ${OSMIUM_INCLUDE_DIRS} ${PROTOZERO_INCLUDE_DIR} ${FMT_INCLUDE_DIR} ${RAPIDJSON_INCLUDE_DIR})
|
||||
+include_directories(SYSTEM ${OSMIUM_INCLUDE_DIRS} ${PROTOZERO_INCLUDE_DIR} ${RAPIDJSON_INCLUDE_DIR})
|
||||
|
||||
if (WITH_LUA)
|
||||
if (WITH_LUAJIT)
|
@ -2,9 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://osm2pgsql.org/
|
||||
TERMUX_PKG_DESCRIPTION="osm2pgsql imports OpenStreetMap (OSM) data into a PostgreSQL/PostGIS database"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.5.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_VERSION=1.6.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/openstreetmap/osm2pgsql/archive/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=d31be268dda21cf31418f68c78b8e0cbbd90cd8a283c4dfe0c134a7960936fce
|
||||
TERMUX_PKG_DEPENDS="libexpat, proj, bzip2, zlib, boost, postgresql, lua54"
|
||||
TERMUX_PKG_SHA256=0ec8b58ab972ac8356185af4161270c1b625a77299f09e5fb7f45e616ef1a9a5
|
||||
TERMUX_PKG_DEPENDS="libexpat, proj, bzip2, zlib, postgresql, lua54"
|
||||
TERMUX_PKG_BUILD_DEPENDS="boost"
|
||||
TERMUX_PKG_GROUPS="science"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DEXTERNAL_FMT=OFF
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user