summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2013-02-11 14:11:31 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2013-02-11 14:11:31 +0000
commitca60d26d10e17e23d2b8eb84acfe94c876180dd4 (patch)
tree56c382afb8f72b39e4d0a2992efe028ec61f577e /dev-db/postgis
parentUpdated EULA for TeamSpeak 3.x to revised version of February 2nd, 2010. (diff)
downloadgentoo-2-ca60d26d10e17e23d2b8eb84acfe94c876180dd4.tar.gz
gentoo-2-ca60d26d10e17e23d2b8eb84acfe94c876180dd4.tar.bz2
gentoo-2-ca60d26d10e17e23d2b8eb84acfe94c876180dd4.zip
Patch now defines HAVE_LIBJSON
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0)
Diffstat (limited to 'dev-db/postgis')
-rw-r--r--dev-db/postgis/ChangeLog9
-rw-r--r--dev-db/postgis/files/postgis-2.0-pkgconfig-json.patch26
-rw-r--r--dev-db/postgis/postgis-2.0.2-r2.ebuild (renamed from dev-db/postgis/postgis-2.0.2-r1.ebuild)2
3 files changed, 23 insertions, 14 deletions
diff --git a/dev-db/postgis/ChangeLog b/dev-db/postgis/ChangeLog
index 5bda4d9d6042..e300861919a5 100644
--- a/dev-db/postgis/ChangeLog
+++ b/dev-db/postgis/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/postgis
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.75 2013/02/06 02:52:58 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/ChangeLog,v 1.76 2013/02/11 14:11:31 titanofold Exp $
+
+*postgis-2.0.2-r2 (11 Feb 2013)
+
+ 11 Feb 2013; Aaron W. Swenson <titanofold@gentoo.org>
+ -postgis-2.0.2-r1.ebuild, +postgis-2.0.2-r2.ebuild,
+ files/postgis-2.0-pkgconfig-json.patch:
+ Patch now defines HAVE_LIBJSON.
06 Feb 2013; Aaron W. Swenson <titanofold@gentoo.org>
postgis-2.0.2-r1.ebuild:
diff --git a/dev-db/postgis/files/postgis-2.0-pkgconfig-json.patch b/dev-db/postgis/files/postgis-2.0-pkgconfig-json.patch
index 06a1c6a5740c..45c5b07654e3 100644
--- a/dev-db/postgis/files/postgis-2.0-pkgconfig-json.patch
+++ b/dev-db/postgis/files/postgis-2.0-pkgconfig-json.patch
@@ -1,7 +1,7 @@
-diff -Naurw postgis-2.0.2.orig/configure.ac postgis-2.0.2/configure.ac
+diff -Naruw postgis-2.0.2.orig/configure.ac postgis-2.0.2/configure.ac
--- postgis-2.0.2.orig/configure.ac 2012-05-17 12:10:04.000000000 +0000
-+++ postgis-2.0.2/configure.ac 2013-02-03 23:23:31.884847406 +0000
-@@ -701,57 +701,11 @@
++++ postgis-2.0.2/configure.ac 2013-02-11 11:57:06.733323130 +0000
+@@ -701,57 +701,14 @@
dnl Detect if json-c installed
dnl ===========================================================================
@@ -34,8 +34,7 @@ diff -Naurw postgis-2.0.2.orig/configure.ac postgis-2.0.2/configure.ac
- JSON_LDFLAGS="-L$JSONDIR/lib -ljson"
- fi
-fi
-+PKG_CHECK_MODULES([JSON], [json], [HAVE_JSON=yes], [HAVE_JSON=no])
-
+-
-dnl Check that we can find the json/json.h header file
-CPPFLAGS_SAVE="$CPPFLAGS"
-CPPFLAGS="$JSON_CPPFLAGS"
@@ -49,21 +48,24 @@ diff -Naurw postgis-2.0.2.orig/configure.ac postgis-2.0.2/configure.ac
-LIBS="$LIBS_SAVE"
-
-if test "$HAVE_JSON" = "yes"; then
-- AC_DEFINE([HAVE_LIBJSON], 1, [Define to 1 if libjson is present])
++PKG_CHECK_MODULES([JSON], [json],
++ [
++ HAVE_JSON=yes
+ AC_DEFINE([HAVE_LIBJSON], 1, [Define to 1 if libjson is present])
- if test "x$JSON_LDFLAGS" = "x"; then
- JSON_LDFLAGS="-ljson"
- fi
-fi
--
++ ],
++ [HAVE_JSON=no])
+
-AC_SUBST([JSON_CPPFLAGS])
-AC_SUBST([JSON_LDFLAGS])
+AC_SUBST([HAVE_JSON])
-+AC_SUBST([JSON_CFLAGS])
-+AC_SUBST([JSON_LIBS])
dnl ===========================================================================
dnl Detect GTK+2.0 for GUI
-@@ -842,10 +796,10 @@
+@@ -842,10 +799,10 @@
AC_DEFINE_UNQUOTED([POSTGIS_USE_STATS], [1], [Enable use of ANALYZE statistics])
@@ -76,9 +78,9 @@ diff -Naurw postgis-2.0.2.orig/configure.ac postgis-2.0.2/configure.ac
AC_SUBST([SHLIB_LINK])
dnl AC_MSG_RESULT([SHLIB_LINK: $SHLIB_LINK])
-diff -Naurw postgis-2.0.2.orig/postgis/lwgeom_in_geojson.c postgis-2.0.2/postgis/lwgeom_in_geojson.c
+diff -Naruw postgis-2.0.2.orig/postgis/lwgeom_in_geojson.c postgis-2.0.2/postgis/lwgeom_in_geojson.c
--- postgis-2.0.2.orig/postgis/lwgeom_in_geojson.c 2012-12-03 16:18:33.000000000 +0000
-+++ postgis-2.0.2/postgis/lwgeom_in_geojson.c 2013-02-04 14:23:34.242564302 +0000
++++ postgis-2.0.2/postgis/lwgeom_in_geojson.c 2013-02-11 12:09:29.017167709 +0000
@@ -28,8 +28,8 @@
#ifdef HAVE_LIBJSON
diff --git a/dev-db/postgis/postgis-2.0.2-r1.ebuild b/dev-db/postgis/postgis-2.0.2-r2.ebuild
index 77c12de91bee..e7633f258808 100644
--- a/dev-db/postgis/postgis-2.0.2-r1.ebuild
+++ b/dev-db/postgis/postgis-2.0.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-2.0.2-r1.ebuild,v 1.3 2013/02/06 02:52:58 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-2.0.2-r2.ebuild,v 1.1 2013/02/11 14:11:31 titanofold Exp $
EAPI="4"