<pre style='margin:0'>
Vincent (Veence) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/60a55a14c876ee9d179cca6ba11147ec1c2bb9b5">https://github.com/macports/macports-ports/commit/60a55a14c876ee9d179cca6ba11147ec1c2bb9b5</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 60a55a1 postgis2: patch to fit new libjson-c API
</span>60a55a1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 60a55a14c876ee9d179cca6ba11147ec1c2bb9b5
</span>Author: Veence <vince@macports.org>
AuthorDate: Sun Jan 7 11:00:25 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> postgis2: patch to fit new libjson-c API
</span>---
databases/postgis2/Portfile | 3 +++
databases/postgis2/files/patch-liblwgeom_lwin_geojson_c.diff | 11 +++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgis2/Portfile b/databases/postgis2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 20c18b0..4ed4fb0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/postgis2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgis2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ categories databases gis
</span> license GPL-2+
version 2.4.2
epoch 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> platforms darwin
maintainers vince openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +27,8 @@ distname postgis-${version}
</span> checksums rmd160 b0b358866977cd418c38447ee5fccd27585f8ee5 \
sha256 23625bc99ed440d53a20225721095a3f5c653b62421c4d597c8038f0d7a321d9
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-liblwgeom_lwin_geojson_c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build port:autoconf \
port:automake \
port:libtool \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgis2/files/patch-liblwgeom_lwin_geojson_c.diff b/databases/postgis2/files/patch-liblwgeom_lwin_geojson_c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..77eca99
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgis2/files/patch-liblwgeom_lwin_geojson_c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- liblwgeom/lwin_geojson.c.orig 2018-01-07 10:55:06.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ liblwgeom/lwin_geojson.c 2018-01-07 10:55:21.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,7 +33,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_LIBJSON_C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <json-c/json.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <json-c/json_object_private.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <json-c/json_object.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <json/json.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <json/json_object_private.h>
</span></pre><pre style='margin:0'>
</pre>