buildroot/package/postgis/Config.in
Fabrice Fontaine 4eeb69c983 package/proj: needs NPTL
NPTL is mandatory since bump to version 9.3.0 in commit
57aba033e6 and
ce08025122:

/home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp: In member function 'std::shared_ptr<osgeo::proj::io::SQLiteHandle> osgeo::proj::io::SQLiteHandleCache::getHandle(const std::string&, PJ_CONTEXT*)':
/home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp:622:9: error: 'pthread_atfork' was not declared in this scope; did you mean 'pthread_attr_t'?
  622 |         pthread_atfork(nullptr, nullptr,
      |         ^~~~~~~~~~~~~~
      |         pthread_attr_t

Fixes: 57aba033e6
 - http://autobuild.buildroot.org/results/392664375c5bc5f047d39bff31534a226e8ea526

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-05-05 13:14:21 +02:00

23 lines
814 B
Plaintext

config BR2_PACKAGE_POSTGIS
bool "postgis"
depends on BR2_PACKAGE_POSTGRESQL_FULL
depends on BR2_INSTALL_LIBSTDCPP # libgeos, proj
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgeos
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # proj
depends on BR2_USE_WCHAR # libgeos, proj
select BR2_PACKAGE_LIBGEOS
select BR2_PACKAGE_PROJ
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
PostGIS is a spatial database extender for PostgreSQL
object-relational database. It adds support for
geographic objects allowing location queries
to be run in SQL.
https://postgis.net/
comment "postgis needs a toolchain w/ C++, NPTL, wchar, gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR