<pre style='margin:0'>
tenomoto pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/151bb8b1045a4db68050d44840f3ea5e1b894ce0">https://github.com/macports/macports-ports/commit/151bb8b1045a4db68050d44840f3ea5e1b894ce0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 151bb8b1045a4db68050d44840f3ea5e1b894ce0
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Tue Nov 15 17:26:48 2016 +0900

<span style='display:block; white-space:pre;color:#404040;'>    grib_api: fix build and rev bump due to jasper
</span>---
 science/grib_api/Portfile                                  |  5 ++++-
 science/grib_api/files/patch-src-grib_jasper_encode.c.diff | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/grib_api/Portfile b/science/grib_api/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4992f40..a1a83b4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/grib_api/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/grib_api/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ PortGroup compilers 1.0
</span> 
 name                grib_api
 version             1.18.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> platforms           darwin
 maintainers         takeshi
 license             Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,8 +43,10 @@ depends_lib         port:jasper \
</span> fetch.ignore_sslcert yes
 cmake.out_of_source yes
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-src-grib_jasper_encode.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![fortran_variant_isset]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants    +gcc5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants    +gcc6
</span> }
 
 configure.args-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/grib_api/files/patch-src-grib_jasper_encode.c.diff b/science/grib_api/files/patch-src-grib_jasper_encode.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fd00d98
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/grib_api/files/patch-src-grib_jasper_encode.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;'>+--- src/grib_jasper_encoding.c.orig        2016-04-25 23:43:16.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/grib_jasper_encoding.c     2016-11-15 16:29:55.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -110,7 +110,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     image.maxcmpts_ = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     image.clrspc_   = JAS_CLRSPC_SGRAY;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     image.cmprof_   = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    image.inmem_    = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//    image.inmem_    = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     cmpt.tlx_       = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     cmpt.tly_       = 0;
</span></pre><pre style='margin:0'>

</pre>