<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[142654] trunk/dports/science/nco</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/142654">142654</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2015-11-18 12:33:48 -0800 (Wed, 18 Nov 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>nco: update to 4.5.3 and fix build failure with gsl 2 (#49609; maintainer timeout)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportssciencencoPortfile">trunk/dports/science/nco/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/science/nco/files/</li>
<li><a href="#trunkdportssciencencofilesgsl2patch">trunk/dports/science/nco/files/gsl-2.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportssciencencoPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/nco/Portfile (142653 => 142654)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/nco/Portfile        2015-11-18 19:16:23 UTC (rev 142653)
+++ trunk/dports/science/nco/Portfile        2015-11-18 20:33:48 UTC (rev 142654)
</span><span class="lines">@@ -5,8 +5,7 @@
</span><span class="cx"> PortGroup           compilers 1.0
</span><span class="cx"> PortGroup           github 1.0
</span><span class="cx"> 
</span><del>-github.setup        nco nco 4.5.2
-revision            3
</del><ins>+github.setup        nco nco 4.5.3
</ins><span class="cx"> platforms           darwin
</span><span class="cx"> maintainers         takeshi
</span><span class="cx"> license             GPL-3
</span><span class="lines">@@ -18,8 +17,8 @@
</span><span class="cx"> compilers.choose    cc cxx
</span><span class="cx"> compilers.setup     -clang -dragonegg -llvm -gfortran
</span><span class="cx"> 
</span><del>-checksums           rmd160  d64c2447ae02273264d43c1fe1f74934160e0553 \
-                    sha256  db4dee684d1ac30b7abfd1b74084f33e2c7cb4c517089bef0caceb94d9f2659f
</del><ins>+checksums           rmd160  c3d893b84fa531f50c8fb6bc461856d80557c86b \
+                    sha256  725e5d93cdc369752839eb3c34c4fbdb02e680f64c4247c975931335d6dae1c6
</ins><span class="cx"> 
</span><span class="cx"> homepage            http://nco.sourceforge.net/
</span><span class="cx"> long_description \
</span><span class="lines">@@ -49,6 +48,8 @@
</span><span class="cx">                     port:texinfo
</span><span class="cx"> depends_run         port:wget
</span><span class="cx"> 
</span><ins>+patchfiles-append   gsl-2.patch
+
</ins><span class="cx"> configure.env       HAVE_ANTLR=yes ANTLR_ROOT=${prefix} \
</span><span class="cx">                     PATH_TO_NCGEN=${prefix}/bin/ncgen
</span><span class="cx"> configure.cppflags-append   -I/usr/include/malloc \
</span></span></pre></div>
<a id="trunkdportssciencencofilesgsl2patch"></a>
<div class="addfile"><h4>Added: trunk/dports/science/nco/files/gsl-2.patch (0 => 142654)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/nco/files/gsl-2.patch                                (rev 0)
+++ trunk/dports/science/nco/files/gsl-2.patch        2015-11-18 20:33:48 UTC (rev 142654)
</span><span class="lines">@@ -0,0 +1,278 @@
</span><ins>+Fix build with gsl 2
+https://github.com/nco/nco/issues/19
+https://github.com/nco/nco/commit/4d2ef537ec6c47c86a6bb14b0bd5ae82086c4bb3
+https://github.com/nco/nco/commit/112cf8c18177103a6a6ff27a16af2aef62d9c3b3
+--- config.h.in.orig        2015-10-20 20:55:09.000000000 -0500
++++ config.h.in        2015-11-18 14:25:57.000000000 -0600
+@@ -418,9 +418,15 @@
+ /* Building TeXInfo documentation requires version greater than 4.8 */
+ #undef MAKEINFO_VERSION

++/* GSL major version number */
++#undef NCO_GSL_MAJOR_VERSION
++
+ /* GSL minor version number */
+ #undef NCO_GSL_MINOR_VERSION

++/* GSL version number */
++#undef NCO_GSL_VERSION
++
+ /* POSIX extended regular expressions available */
+ #undef NCO_HAVE_REGEX_FUNCTIONALITY

+--- configure.orig        2015-10-20 20:55:09.000000000 -0500
++++ configure        2015-11-18 14:25:57.000000000 -0600
+@@ -19770,17 +19770,31 @@
+     elif test &quot;${enable_gsl}&quot; = 'yes'; then
+ # Assumes GSL version in form 1.[0-9]+  extract minor version only
+         GSL_VER=&quot;`${GSL_CONFIG} --version`&quot;
+-        GSL_VER=`echo &quot;${GSL_VER}&quot; | sed -e 's/^1\.//'`
++        GSL_MAJOR=&quot;`echo &quot;${GSL_VER}&quot; | cut -d '.' -f 1`&quot;
++        GSL_MINOR=&quot;`echo &quot;${GSL_VER}&quot; | cut -d '.' -f 2`&quot;
++        GSL_VER=`expr $GSL_MAJOR \* 100 + $GSL_MINOR`
+         if test &quot;x${GSL_VER}&quot; = 'x'; then
+             # 20100115: Fix for machines like bluefire that lack gsl-config
+-            GSL_VER='4'
++            GSL_VER='104'
++            GSL_MAJOR='1'
++            GSL_MINOR='4'
+         fi

+ $as_echo &quot;#define ENABLE_GSL 1&quot; &gt;&gt;confdefs.h


+ cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
+-#define NCO_GSL_MINOR_VERSION ${GSL_VER}
++#define NCO_GSL_MINOR_VERSION ${GSL_MINOR}
++_ACEOF
++
++
++cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
++#define NCO_GSL_MAJOR_VERSION ${GSL_MAJOR}
++_ACEOF
++
++
++cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
++#define NCO_GSL_VERSION ${GSL_VER}
+ _ACEOF

+         { $as_echo &quot;$as_me:${as_lineno-$LINENO}: GSL support enabled&quot; &gt;&amp;5
+--- data/gsl_sf.in.orig        2015-10-20 20:55:09.000000000 -0500
++++ data/gsl_sf.in        2015-11-18 14:25:51.000000000 -0600
+@@ -200,13 +200,17 @@

+   // d2,d3 identical
+   d2=gsl_sf_legendre_Plm(time.int()-1,0,0.7);
+-  d3=time;
+-  gsl_sf_legendre_Plm_array(9,0,0.7,&amp;d3);
++
++    
++  // not in gsl 2.0
++  //gsl_sf_legendre_Plm_array(9,0,0.7,&amp;d3);

+   // d4,d5 identical
+   d4=gsl_sf_legendre_sphPlm(leg,0,0.7);
+-  d5=leg.double();
+-  gsl_sf_legendre_sphPlm_array(3,0,0.7,&amp;d5);
++  
++
++  // not in gsl 2.0
++  // gsl_sf_legendre_sphPlm_array(3,0,0.7,&amp;d5);


+   if( fabs(d0.total()-d1.total() ) &gt;0.01){
+@@ -214,14 +218,14 @@
+      nbr_err++;        
+   }

+-
+-  if( fabs(d2.total()-d3.total() ) &gt;0.01){
++  
++  if( fabs(d2.total()- 1.56887  ) &gt;0.01){
+      print(&quot;ERROR: d2:Legendre functions\n&quot;);
+      nbr_err++;        
+   }


+-  if( fabs(d4.avg()-d5.avg() ) &gt;0.01){
++  if( fabs(d4.ttl()- 0.628677 ) &gt;0.01){
+      print(&quot;ERROR: d4:Legendre functions\n&quot;);
+      nbr_err++;        
+   }
+--- src/nco++/fmc_gsl_cls.cc.orig        2015-10-20 20:55:09.000000000 -0500
++++ src/nco++/fmc_gsl_cls.cc        2015-11-18 14:25:51.000000000 -0600
+@@ -117,10 +117,10 @@
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_debye_3&quot;,f_unn(gsl_sf_debye_3_e),hnd_fnc_x,NC_DOUBLE));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_debye_4&quot;,f_unn(gsl_sf_debye_4_e),hnd_fnc_x,NC_DOUBLE));

+-# if NCO_GSL_MINOR_VERSION &gt;= 8
++# if NCO_GSL_VERSION &gt;= 108
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_debye_5&quot;,f_unn(gsl_sf_debye_5_e),hnd_fnc_x,NC_DOUBLE));
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_debye_6&quot;,f_unn(gsl_sf_debye_6_e),hnd_fnc_x,NC_DOUBLE));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 8
++# endif // NCO_GSL_VERSION &lt; 8
+     
+     // Dilogarithm
+     // not implemented as all involve complex numbers
+@@ -131,10 +131,10 @@
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_ellint_Kcomp&quot;,f_unn(gsl_sf_ellint_Kcomp_e),hnd_fnc_nd,P1DBLMD));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_ellint_Ecomp&quot;,f_unn(gsl_sf_ellint_Ecomp_e),hnd_fnc_nd,P1DBLMD));

+-# if NCO_GSL_MINOR_VERSION &gt;= 9 
++# if NCO_GSL_VERSION &gt;= 109 
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_ellint_Pcomp&quot;,f_unn(gsl_sf_ellint_Pcomp_e),hnd_fnc_nd,P2DBLMD));
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_ellint_Dcomp&quot;,f_unn(gsl_sf_ellint_Dcomp_e),hnd_fnc_nd,P1DBLMD));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 9
++# endif // NCO_GSL_VERSION &lt; 9
+  
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_ellint_F&quot;,f_unn(gsl_sf_ellint_F_e),hnd_fnc_nd,P2DBLMD));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_ellint_E&quot;,f_unn(gsl_sf_ellint_E_e),hnd_fnc_nd,P2DBLMD));
+@@ -178,10 +178,10 @@
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_expint_E1_scaled&quot;,f_unn(gsl_sf_expint_E1_scaled_e),hnd_fnc_x,NC_DOUBLE));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_expint_E2_scaled&quot;,f_unn(gsl_sf_expint_E2_scaled_e),hnd_fnc_x,NC_DOUBLE));

+-# if NCO_GSL_MINOR_VERSION &gt;= 10 
++# if NCO_GSL_VERSION &gt;= 110 
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_expint_En&quot;,f_unn(gsl_sf_expint_En_e),hnd_fnc_xd,NC_INT));
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_expint_En_scaled&quot;,f_unn(gsl_sf_expint_En_scaled_e),hnd_fnc_xd,NC_INT));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 10
++# endif // NCO_GSL_VERSION &lt; 10

+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_expint_Ei&quot;,f_unn(gsl_sf_expint_Ei_e),hnd_fnc_x,NC_DOUBLE));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_expint_Ei_scaled&quot;,f_unn(gsl_sf_expint_Ei_scaled_e),hnd_fnc_x,NC_DOUBLE));
+@@ -271,10 +271,17 @@
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_Q1&quot;,f_unn(gsl_sf_legendre_Q1_e),hnd_fnc_x,NC_DOUBLE));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_Ql&quot;,f_unn(gsl_sf_legendre_Ql_e),hnd_fnc_xd,NC_INT));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_Plm&quot;,f_unn(gsl_sf_legendre_Plm_e),hnd_fnc_iid));
++
++    #if NCO_GSL_VERSION &lt; 200    
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_Plm_array&quot;,f_unn(gsl_sf_legendre_Plm_array),hnd_fnc_iidpd,PLEGEND));
++    #endif
+     // gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_Plm_deriv_array&quot;,f_unn(gsl_sf_legendre_Plm_deriv_array),));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_sphPlm&quot;,f_unn(gsl_sf_legendre_sphPlm_e),hnd_fnc_iid));
++
++    #if NCO_GSL_VERSION &lt; 200    
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_sphPlm_array&quot;,f_unn(gsl_sf_legendre_sphPlm_array),hnd_fnc_iidpd,PLEGEND));
++    #endif
++
+     // gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_sphPlm_deriv_array&quot;,f_unn(gsl_sf_legendre_sphPlm_deriv_array),));
+     // gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_legendre_array_size&quot;,f_unn(gsl_sf_legendre_array_size),));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_conicalP_half&quot;,f_unn(gsl_sf_conicalP_half_e),hnd_fnc_nd,P2DBL));
+@@ -309,9 +316,9 @@
+     // gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_complex_psi&quot;,f_unn(gsl_sf_complex_psi_e),hnd_fnc_x,NC_DOUBLE));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_psi_1_int&quot;,f_unn(gsl_sf_psi_1_int_e),hnd_fnc_x,NC_INT));
+    
+-# if NCO_GSL_MINOR_VERSION &gt;= 5 
++# if NCO_GSL_VERSION &gt;= 105 
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_psi_1&quot;,f_unn(gsl_sf_psi_1_e),hnd_fnc_x,NC_DOUBLE));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 5
++# endif // NCO_GSL_VERSION &lt; 105

+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_psi_n&quot;,f_unn(gsl_sf_psi_n_e),hnd_fnc_xd,NC_INT));
+     
+@@ -332,10 +339,10 @@
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_zeta_int&quot;,f_unn(gsl_sf_zeta_int_e),hnd_fnc_x,NC_INT));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_zeta&quot;,f_unn(gsl_sf_zeta_e),hnd_fnc_x,NC_DOUBLE));

+-# if NCO_GSL_MINOR_VERSION &gt;= 5 
++# if NCO_GSL_VERSION &gt;= 105 
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_zetam1&quot;,f_unn(gsl_sf_zetam1_e),hnd_fnc_x,NC_DOUBLE));
+       gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_zetam1_int&quot;,f_unn(gsl_sf_zetam1_int_e),hnd_fnc_x,NC_INT));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 5
++# endif // NCO_GSL_VERSION &lt; 105
+     
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_hzeta&quot;,f_unn(gsl_sf_hzeta_e),hnd_fnc_nd,P2DBL));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_sf_eta_int&quot;,f_unn(gsl_sf_eta_int_e),hnd_fnc_x,NC_INT));
+@@ -386,7 +393,7 @@
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_exponential_Q&quot;,f_unn(gsl_cdf_exponential_Q),hnd_fnc_nd,P2DBLX));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_exponential_Pinv&quot;,f_unn(gsl_cdf_exponential_Pinv),hnd_fnc_nd,P2DBLX));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_exponential_Qinv&quot;,f_unn(gsl_cdf_exponential_Qinv),hnd_fnc_nd,P2DBLX));
+-# if NCO_GSL_MINOR_VERSION &gt;= 6
++# if NCO_GSL_VERSION &gt;= 106
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_exppow_P&quot;,f_unn(gsl_cdf_exppow_P),hnd_fnc_nd,P3DBLX));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_exppow_Q&quot;,f_unn(gsl_cdf_exppow_Q),hnd_fnc_nd,P3DBLX));
+ # endif
+@@ -397,10 +404,10 @@

+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_fdist_P&quot;,f_unn(gsl_cdf_fdist_P),hnd_fnc_nd,P3DBLX));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_fdist_Q&quot;,f_unn(gsl_cdf_fdist_Q),hnd_fnc_nd,P3DBLX));
+-# if NCO_GSL_MINOR_VERSION &gt;= 8 
++# if NCO_GSL_VERSION &gt;= 108 
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_fdist_Pinv&quot;,f_unn(gsl_cdf_fdist_Pinv),hnd_fnc_nd,P3DBLX));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_fdist_Qinv&quot;,f_unn(gsl_cdf_fdist_Qinv),hnd_fnc_nd,P3DBLX));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 8
++# endif // NCO_GSL_VERSION &lt; 8

+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_beta_P&quot;,f_unn(gsl_cdf_beta_P),hnd_fnc_nd,P3DBLX));
+     gpr_vtr.push_back(gpr_cls(&quot;gsl_cdf_beta_Q&quot;,f_unn(gsl_cdf_beta_Q),hnd_fnc_nd,P3DBLX));
+@@ -474,7 +481,7 @@
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_beta_pdf&quot;,f_unn(gsl_ran_beta_pdf),hnd_fnc_nd,P3DBLX));

+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_binomial&quot;,f_unn(gsl_ran_binomial),hnd_fnc_udrdu));
+-# if NCO_GSL_MINOR_VERSION &gt;= 7 
++# if NCO_GSL_VERSION &gt;= 107 
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_binomial_knuth&quot;,f_unn(gsl_ran_binomial_knuth),hnd_fnc_udrdu));
+ # endif
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_binomial_tpe&quot;,f_unn(gsl_ran_binomial_tpe),hnd_fnc_udrdu));
+@@ -508,16 +515,18 @@
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gamma&quot;,f_unn(gsl_ran_gamma),hnd_fnc_rnd,P2DBLX));
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gamma_int&quot;,f_unn(gsl_ran_gamma_int),hnd_fnc_ru));
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gamma_pdf&quot;,f_unn(gsl_ran_gamma_pdf),hnd_fnc_nd,P3DBLX));
+-# if NCO_GSL_MINOR_VERSION &gt;= 8 
++# if NCO_GSL_VERSION &gt;= 108 
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gamma_mt&quot;,f_unn(gsl_ran_gamma_mt),hnd_fnc_rnd,P2DBLX));
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gamma_knuth&quot;,f_unn(gsl_ran_gamma_knuth),hnd_fnc_rnd,P2DBLX));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 8
++# endif // NCO_GSL_VERSION &lt; 108

+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gaussian&quot;,f_unn(gsl_ran_gaussian),hnd_fnc_rnd,P1DBLX));
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gaussian_ratio_method&quot;,f_unn(gsl_ran_gaussian_ratio_method),hnd_fnc_rnd,P1DBLX));
+-# if NCO_GSL_MINOR_VERSION &gt;= 8 
++
++# if NCO_GSL_VERSION &gt;= 108 
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gaussian_ziggurat&quot;,f_unn(gsl_ran_gaussian_ziggurat),hnd_fnc_rnd,P1DBLX));
+ # endif // NCO_GSL_MINOR_VERSION &lt; 8
++
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_gaussian_pdf&quot;,f_unn(gsl_ran_gaussian_pdf),hnd_fnc_nd,P2DBLX));

+   gpr_vtr.push_back(gpr_cls(&quot;gsl_ran_ugaussian&quot;,f_unn(gsl_ran_ugaussian),hnd_fnc_rnd,P0DBLX));
+@@ -747,9 +756,11 @@
+   }

+   gpr_vtr.push_back(gpr_cls(&quot;gsl_stats_covariance&quot;,f_unn(ncap_void),hnd_fnc_stat4,PS_COV));
+-# if NCO_GSL_MINOR_VERSION &gt;= 10
++
++# if NCO_GSLVERSION &gt;= 110
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_stats_correlation&quot;,f_unn(ncap_void),hnd_fnc_stat4,PS_COR));
+-# endif // NCO_GSL_MINOR_VERSION &lt; 10
++# endif // NCO_GSL_VERSION &lt; 110
++
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_stats_pvariance&quot;,f_unn(ncap_void),hnd_fnc_stat4,PS_PVAR));
+   gpr_vtr.push_back(gpr_cls(&quot;gsl_stats_ttest&quot;,f_unn(ncap_void),hnd_fnc_stat4,PS_TTST));

+@@ -3620,7 +3631,7 @@
+      default: nco_dfl_case_nc_type_err(); break;    
+      }  break;  
+   
+-# if NCO_GSL_MINOR_VERSION &gt;= 10
++# if NCO_GSL_VERSION &gt;= 110
+    case PS_COR:
+      switch(var_arr[0]-&gt;type){
+        case NC_FLOAT:  r_val=gsl_stats_float_correlation( var_arr[0]-&gt;val.fp,d1_srd,var_arr[3]-&gt;val.fp,d2_srd,sz1 );break;
+--- src/nco++/fmc_gsl_cls.hh.orig        2015-10-20 20:55:09.000000000 -0500
++++ src/nco++/fmc_gsl_cls.hh        2015-11-18 14:25:51.000000000 -0600
+@@ -40,11 +40,11 @@
+ #include &quot;ncap2_utl.hh&quot;
+ #include &quot;vtl_cls.hh&quot;

+-#ifndef NCO_GSL_MINOR_VERSION
++#ifndef NCO_GSL_VERSION
+ #ifdef _MSC_VER
+-# define NCO_GSL_MINOR_VERSION 7
++# define NCO_GSL_VERSION 107
+ #else
+-# define NCO_GSL_MINOR_VERSION 12
++# define NCO_GSL_VERSION 112
+ #endif // _MSC_VER
+ #endif // NCO_GSL_MINOR_VERSION

</ins></span></pre>
</div>
</div>

</body>
</html>