mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
9bb1034455
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. On microblazeel with the bootlin toolchain, the build fails with an ICE: during RTL pass: reload .../bootlin-microblazeel-uclibc/build/libgeos-3.9.0/src/geom/util/Densifier.cpp: In static member function ‘static std::unique_ptr<std::vector<geos::geom::Coordinate> > geos::geom::util::Densifier::densifyPoints(geos::geom::Coordinate::Vect, double, const geos::geom::PrecisionModel*)’: .../bootlin-microblazeel-uclibc/build/libgeos-3.9.0/src/geom/util/Densifier.cpp:128:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1155 128 | } | ^ Since it's unlikely that postgis will ever be used on a microblaze, simply disable it. https://postgis.net/ Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Arnout: - Move postgresql dependency to package/Config.in, to satisfy alphabetical ordering in the menu while keeping it below postgresql. - Add dependency on !microblaze. - Add comment for dependencies. - Add positive version of --with-raster and --with-protobuf to _CONF_OPTS. - Expand BSD to BSD-2-Clause. ]
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From 97d0cb4f4a6f3bec50729e3f896d4a84b796c5c6 Mon Sep 17 00:00:00 2001
|
|
From: fidomax <adobegitler@gmail.com>
|
|
Date: Tue, 26 Jan 2021 09:17:17 +0300
|
|
Subject: [PATCH] Add POSTGIS_DEBUG_LEVEL define to configure.ac
|
|
|
|
In case of using autoreconf "#define POSTGIS_DEBUG_LEVEL 0" is removed from postgis_config.h.in so build failed with undefined POSTGIS_DEBUG_LEVEL.
|
|
|
|
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
|
|
Fetch from: https://github.com/postgis/postgis/commit/2b2c2cb159cfcaacb75a4e74f17bd2834d61acd0.patch
|
|
---
|
|
configure.ac | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index dddb3aef7..86e1597ee 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1131,6 +1131,8 @@ else
|
|
CPPFLAGS="-DNDEBUG $CPPFLAGS"
|
|
fi
|
|
|
|
+AC_DEFINE([POSTGIS_DEBUG_LEVEL], [0], [Define debug level. Default 0])
|
|
+
|
|
dnl ===========================================================================
|
|
dnl Allow the developer to disable the automatic updates of postgis_revision.h
|
|
dnl with --without-phony-revision
|
|
--
|
|
2.30.0
|
|
|