Modified: trunk/dports/science/cdo/Portfile (145303 => 145304)
--- trunk/dports/science/cdo/Portfile 2016-01-31 08:04:21 UTC (rev 145303)
+++ trunk/dports/science/cdo/Portfile 2016-01-31 08:05:20 UTC (rev 145304)
@@ -6,6 +6,7 @@
name cdo
version 1.7.0
+revision 1
platforms darwin
maintainers takeshi openmaintainer
license GPL-2
@@ -35,6 +36,11 @@
port:proj \
port:fftw-3
+# This is fixed by including cdo_int.h in StringUtilities.c
+# and in magics_template_parse.c in trunk so the patch can
+# be removed in the future version
+patchfiles patch-src-StringUtilities.h.diff
+
configure.args --with-netcdf=${prefix} \
--disable-dependency-tracking \
--with-proj=${prefix} \
Added: trunk/dports/science/cdo/files/patch-src-StringUtilities.h.diff (0 => 145304)
--- trunk/dports/science/cdo/files/patch-src-StringUtilities.h.diff (rev 0)
+++ trunk/dports/science/cdo/files/patch-src-StringUtilities.h.diff 2016-01-31 08:05:20 UTC (rev 145304)
@@ -0,0 +1,11 @@
+--- src/StringUtilities.h.orig 2015-06-02 16:19:18.000000000 +0900
++++ src/StringUtilities.h 2016-01-31 16:48:12.000000000 +0900
+@@ -6,6 +6,8 @@
+ #include<stdlib.h>
+ #include <ctype.h>
+
++#include "dmemory.h"
++
+ int StringSplitWithSeperator( char *source_string, char *seperator, char*** ptr_split_string );
+
+ int IsNumeric (const char *s);