[packages/libspatialite] - updated to 4.3.0a - added lwgeom patch (fixes build with liblwgeom 2.2.x)
qboosh
qboosh at pld-linux.org
Sat Mar 19 07:41:09 CET 2016
commit 898fd003f95b4bf94d6910b9b2cdb116baefc793
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 19 07:45:17 2016 +0100
- updated to 4.3.0a
- added lwgeom patch (fixes build with liblwgeom 2.2.x)
libspatialite-lwgeom.patch | 20 ++++++++++++++++++++
libspatialite.spec | 8 +++++---
2 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/libspatialite.spec b/libspatialite.spec
index e869196..a3f7dfb 100644
--- a/libspatialite.spec
+++ b/libspatialite.spec
@@ -7,12 +7,13 @@
Summary: Spatial SQL database engine based on SQLite
Summary(pl.UTF-8): Silnik przestrzennej bazy danych SQL oparty na SQLite
Name: libspatialite
-Version: 4.3.0
-Release: 2
+Version: 4.3.0a
+Release: 1
License: MPL v1.1 or GPL v2+ or LGPL v2.1+
Group: Libraries
Source0: http://www.gaia-gis.it/gaia-sins/libspatialite-sources/%{name}-%{version}.tar.gz
-# Source0-md5: 59ec162d3e4db2d247945e3a943f64bc
+# Source0-md5: 6b380b332c00da6f76f432b10a1a338c
+Patch0: %{name}-lwgeom.patch
URL: https://www.gaia-gis.it/fossil/libspatialite
%{?with_apidocs:BuildRequires: doxygen >= 1.7.3}
BuildRequires: freexl-devel >= 1.0.1
@@ -81,6 +82,7 @@ Dokumentacja API biblioteki spatialite.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
diff --git a/libspatialite-lwgeom.patch b/libspatialite-lwgeom.patch
new file mode 100644
index 0000000..ec49790
--- /dev/null
+++ b/libspatialite-lwgeom.patch
@@ -0,0 +1,20 @@
+--- libspatialite-4.3.0a/src/gaiageo/gg_lwgeom.c.orig 2016-03-19 07:15:09.917471871 +0100
++++ libspatialite-4.3.0a/src/gaiageo/gg_lwgeom.c 2016-03-19 07:15:14.954138404 +0100
+@@ -92,7 +92,7 @@
+ lwgaia_noticereporter (const char *fmt, va_list ap)
+ {
+ char *msg;
+- if (!lw_vasprintf (&msg, fmt, ap))
++ if (!vasprintf (&msg, fmt, ap))
+ {
+ va_end (ap);
+ return;
+@@ -106,7 +106,7 @@
+ lwgaia_errorreporter (const char *fmt, va_list ap)
+ {
+ char *msg;
+- if (!lw_vasprintf (&msg, fmt, ap))
++ if (!vasprintf (&msg, fmt, ap))
+ {
+ va_end (ap);
+ return;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libspatialite.git/commitdiff/898fd003f95b4bf94d6910b9b2cdb116baefc793
More information about the pld-cvs-commit
mailing list