]> git.pld-linux.org Git - packages/postgis.git/commitdiff
- one more fix for json-c 0.12 auto/th/postgis-2.1.3-4
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 24 Nov 2014 06:22:41 +0000 (07:22 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 24 Nov 2014 06:22:41 +0000 (07:22 +0100)
- rel 4

json-c-0.12.patch
postgis.spec

index 64a30dd6d72d8f1ce921b9d4eb779d0ad65797e6..64b6cc876d2a139170845cee579e9cb4d94187d6 100644 (file)
  #include <string.h>
  
  static void geojson_lwerror(char *msg, int error_code)
+@@ -510,7 +510,7 @@
+       if( jstok->err != json_tokener_success)
+       {
+               char err[256];
+-              snprintf(err, 256, "%s (at offset %d)", json_tokener_errors[jstok->err], jstok->char_offset);
++              snprintf(err, 256, "%s (at offset %d)", json_tokener_error_desc(jstok->err), jstok->char_offset);
+               json_tokener_free(jstok);
+     json_object_put(poObj);
+               geojson_lwerror(err, 1);
index 123ac0b06856ec89718e7ad72969c4c072f563ce..3f794033292d544d477c9a81c1aa30e62e4891c6 100644 (file)
@@ -10,7 +10,7 @@ Summary:      Geographic Information Systems Extensions to PostgreSQL
 Summary(pl.UTF-8):     Rozszerzenie do PostgreSQL wspomagające Geograficzne Systemy Informacyjne
 Name:          postgis
 Version:       2.1.3
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Applications/Databases
 Source0:       http://download.osgeo.org/postgis/source/%{name}-%{version}%{beta}.tar.gz
This page took 0.167505 seconds and 4 git commands to generate.