<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5183b4307c9d6250bb014f9461608f6bceb7d843">https://github.com/macports/macports-ports/commit/5183b4307c9d6250bb014f9461608f6bceb7d843</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 5183b4307c9 grass7: fix bool redefinition conflict with GDAL 3.3
</span>5183b4307c9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5183b4307c9d6250bb014f9461608f6bceb7d843
</span>Author: nila <n_larsson@yahoo.com>
AuthorDate: Sun May 30 13:51:30 2021 +0200
<span style='display:block; white-space:pre;color:#404040;'> grass7: fix bool redefinition conflict with GDAL 3.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/62989
</span>---
gis/grass7/Portfile | 3 +-
gis/grass7/files/patch-bool-fix.diff | 72 ++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/grass7/Portfile b/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b1ce5b2088b..ee8ef1566a7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ PortGroup debug 1.0
</span> github.setup OSGeo grass 7.8.5
name grass7
set main_version [join [lrange [split ${version} "."] 0 1] ""]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> set realVersion ${version}
#distname grass-${version}
distname grass-${realVersion}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +44,7 @@ depends_lib port:bzip2 \
</span> patchfiles patch-configure.diff \
patch-Install_make.diff \
patch-grass.py.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-bool-fix.diff \
</span> patch-libraster_gdal_c.diff
configure.args-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/grass7/files/patch-bool-fix.diff b/gis/grass7/files/patch-bool-fix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ba5cbdfeae8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/grass7/files/patch-bool-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,72 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- vector/v.hull/chull.c.orig 2021-05-29 15:37:11.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ vector/v.hull/chull.c 2021-05-29 18:39:54.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,6 +22,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdbool.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <grass/gis.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <grass/vector.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -29,10 +30,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "globals.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/*Define Boolean type */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-typedef enum
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{ BFALSE, BTRUE } bool;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define vertex indices. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define X 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define Y 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -76,10 +73,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define flags */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define ONHULL BTRUE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define REMOVED BTRUE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define VISIBLE BTRUE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define PROCESSED BTRUE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define ONHULL true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define REMOVED true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define VISIBLE true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define PROCESSED true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Global variable definitions */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tVertex vertices = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -436,7 +433,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tFace f;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tEdge e, temp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long int vol;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bool vis = BFALSE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bool vis = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Mark faces visible from p. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -446,7 +443,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (vol < 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f->visible = VISIBLE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- vis = BTRUE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ vis = true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f = f->next;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } while (f != faces);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -454,7 +451,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* If no faces are visible from p, then p is inside the hull. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!vis) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ p->onhull = !ONHULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return BFALSE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Mark edges in interior of visible region for deletion.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -470,7 +467,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e->newface = MakeConeFace(e, p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e = temp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } while (e != edges);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return BTRUE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*---------------------------------------------------------------------
</span></pre><pre style='margin:0'>
</pre>