[arch-commits] Commit in postgis/trunk (PKGBUILD fix_json_012.patch postgis.changelog)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Fri Sep 12 04:44:33 UTC 2014
Date: Friday, September 12, 2014 @ 06:44:33
Author: jlichtblau
Revision: 118843
upgpkg: postgis 2.1.4-1
Modified:
postgis/trunk/PKGBUILD
postgis/trunk/postgis.changelog
Deleted:
postgis/trunk/fix_json_012.patch
--------------------+
PKGBUILD | 17 ++++-------------
fix_json_012.patch | 23 -----------------------
postgis.changelog | 3 +++
3 files changed, 7 insertions(+), 36 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-12 04:32:29 UTC (rev 118842)
+++ PKGBUILD 2014-09-12 04:44:33 UTC (rev 118843)
@@ -4,8 +4,8 @@
# Contributor: William Rea <sillywilly at gmail.com>
pkgname=postgis
-pkgver=2.1.3
-pkgrel=2
+pkgver=2.1.4
+pkgrel=1
pkgdesc="Adds support for geographic objects to PostgreSQL"
arch=('i686' 'x86_64')
url="http://postgis.net/"
@@ -12,18 +12,9 @@
license=('GPL')
depends=('postgresql' 'gdal' 'json-c')
changelog=$pkgname.changelog
-source=(http://download.osgeo.org/postgis/source/${pkgname}-${pkgver}.tar.gz
- fix_json_012.patch)
-sha256sums=('c17812aa4bb86ed561dfc65cb42ab45176b94e0620de183a4bbd773d6d876ec1'
- '68fd36730baf96341744c03582b0e8af309328ba79bb59fa981a515299cc1bda')
+source=(http://download.osgeo.org/postgis/source/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('cd73c2a38428c8736f6cae73b955aee0bd42f9ca4fd8d93c1af464524cb100fc')
-prepare() {
- cd ${pkgname}-${pkgver}
-
- # Compilation failure from upstream. FS#40528
- patch -p1 < "$srcdir"/fix_json_012.patch
-}
-
build() {
cd ${pkgname}-${pkgver}
Deleted: fix_json_012.patch
===================================================================
--- fix_json_012.patch 2014-09-12 04:32:29 UTC (rev 118842)
+++ fix_json_012.patch 2014-09-12 04:44:33 UTC (rev 118843)
@@ -1,23 +0,0 @@
-diff -N -aur postgis-2.1.3.orig/liblwgeom/lwin_geojson.c postgis-2.1.3/liblwgeom/lwin_geojson.c
---- postgis-2.1.3.orig/liblwgeom/lwin_geojson.c 2014-05-29 12:27:08.842806693 +0000
-+++ postgis-2.1.3/liblwgeom/lwin_geojson.c 2014-05-29 12:27:24.349473709 +0000
-@@ -17,8 +17,8 @@
-
- #ifdef HAVE_LIBJSON
-
--#include <json/json.h>
--#include <json/json_object_private.h>
-+#include <json-c/json.h>
-+#include <json-c/json_object_private.h>
- #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);
Modified: postgis.changelog
===================================================================
--- postgis.changelog 2014-09-12 04:32:29 UTC (rev 118842)
+++ postgis.changelog 2014-09-12 04:44:33 UTC (rev 118843)
@@ -1,3 +1,6 @@
+2014-09-12 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * postgis-2.1.4-1
+
2014-05-25 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
* postgis-2.1.3-1
More information about the arch-commits
mailing list