[40960] trunk/dports/x11/grace

blb at macports.org blb at macports.org
Sat Oct 18 21:28:18 PDT 2008


Revision: 40960
          http://trac.macports.org/changeset/40960
Author:   blb at macports.org
Date:     2008-10-18 21:28:17 -0700 (Sat, 18 Oct 2008)
Log Message:
-----------
x11/grace - add patchfile missed in r40941 and remove a mirror that returns
an error HTML page instead of a 404 (causing checksum issues)

Modified Paths:
--------------
    trunk/dports/x11/grace/Portfile

Added Paths:
-----------
    trunk/dports/x11/grace/files/
    trunk/dports/x11/grace/files/patch-configure.diff

Modified: trunk/dports/x11/grace/Portfile
===================================================================
--- trunk/dports/x11/grace/Portfile	2008-10-19 03:27:11 UTC (rev 40959)
+++ trunk/dports/x11/grace/Portfile	2008-10-19 04:28:17 UTC (rev 40960)
@@ -19,7 +19,6 @@
 				    ftp://ftp.fu-berlin.de/unix/graphics/${sub} \
 				    ftp://freedom7.swmed.edu/pub/mirrors/${sub} \
 				    ftp://ftp.u-aizu.ac.jp/pub/SciEng/math/${sub} \
-				    http://gd.tuwien.ac.at/visual/${sub} \
 				    http://ftp.chg.ru/pub/math/${sub}
 
 checksums		    md5 672356466f18fe59ed21a8fb44f9851d \

Added: trunk/dports/x11/grace/files/patch-configure.diff
===================================================================
--- trunk/dports/x11/grace/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/x11/grace/files/patch-configure.diff	2008-10-19 04:28:17 UTC (rev 40960)
@@ -0,0 +1,22 @@
+--- configure.orig	2008-10-18 17:30:12.000000000 +0200
++++ configure	2008-10-18 17:30:15.000000000 +0200
+@@ -15609,15 +15609,13 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ 
+-#include <stdio.h>
++#include <string.h>
+ #include <netcdf.h>
+       int main(void) {
+-        char *vlib;
+-        vlib = nc_inq_libvers();
+-        if (strcmp(vlib, "3.0") < 0) {
+-          exit(1);
++        if (strstr(nc_inq_libvers(), "3.") == NULL) {
++          return 1;
+         }
+-        exit(0);
++        return 0;
+       }
+ 
+ _ACEOF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081018/402f5709/attachment-0001.html 


More information about the macports-changes mailing list