[109078] trunk/dports/science/netcdf
jeremyhu at macports.org
jeremyhu at macports.org
Wed Aug 7 14:28:46 PDT 2013
Revision: 109078
https://trac.macports.org/changeset/109078
Author: jeremyhu at macports.org
Date: 2013-08-07 14:28:46 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
netcdf: Fix build failure
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
Added Paths:
-----------
trunk/dports/science/netcdf/files/patch-missing-config.h.diff
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2013-08-07 21:16:20 UTC (rev 109077)
+++ trunk/dports/science/netcdf/Portfile 2013-08-07 21:28:46 UTC (rev 109078)
@@ -28,7 +28,7 @@
sha1 76631cb4e6b767c224338415cf6e5f5ff9bd1238 \
rmd160 400d20e0afe7b37db7b24f9e5c19e585e0b15b3c
-patchfiles patch-configure.diff
+patchfiles patch-configure.diff patch-missing-config.h.diff
if {![catch {set result [active_variants hdf5-18 openmpi ""]}]} {
if {$result} {
Added: trunk/dports/science/netcdf/files/patch-missing-config.h.diff
===================================================================
--- trunk/dports/science/netcdf/files/patch-missing-config.h.diff (rev 0)
+++ trunk/dports/science/netcdf/files/patch-missing-config.h.diff 2013-08-07 21:28:46 UTC (rev 109078)
@@ -0,0 +1,11 @@
+--- ncgen3/genlib.h.orig 2013-08-07 14:26:55.000000000 -0700
++++ ncgen3/genlib.h 2013-08-07 14:27:11.000000000 -0700
+@@ -5,6 +5,8 @@
+ * See netcdf/COPYRIGHT file for copying and redistribution conditions.
+ * $Header: /upc/share/CVS/netcdf-3/ncgen3/genlib.h,v 1.15 2009/12/29 18:42:35 dmh Exp $
+ *********************************************************************/
++#include "config.h"
++
+ #include <stdlib.h>
+ #include <limits.h>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/bb658ca8/attachment.html>
More information about the macports-changes
mailing list