aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-02-04 05:42:30 +0800
committerthierry <thierry@FreeBSD.org>2006-02-04 05:42:30 +0800
commite661e9c2df29a68bfe7f6fba07bf58d8fe61fc19 (patch)
tree4c38cfb85cc15a400345c17253885e7cdef22ed7 /science
parentce4e253c583cc8175c2850a5ba9ec72717d5a588 (diff)
downloadfreebsd-ports-graphics-e661e9c2df29a68bfe7f6fba07bf58d8fe61fc19.tar.gz
freebsd-ports-graphics-e661e9c2df29a68bfe7f6fba07bf58d8fe61fc19.tar.zst
freebsd-ports-graphics-e661e9c2df29a68bfe7f6fba07bf58d8fe61fc19.zip
- The official download site is down, add a mirror.
- Try to fix on sparc64. Reported by: pointyhat via Kris
Diffstat (limited to 'science')
-rw-r--r--science/cdf/Makefile3
-rw-r--r--science/cdf/files/patch-src_include_cdfdist.h13
2 files changed, 13 insertions, 3 deletions
diff --git a/science/cdf/Makefile b/science/cdf/Makefile
index 464c58d5417..629b8f023dc 100644
--- a/science/cdf/Makefile
+++ b/science/cdf/Makefile
@@ -9,7 +9,8 @@ PORTNAME= cdf3
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= science
-MASTER_SITES= http://windsor.gsfc.nasa.gov/standards/cdf/dist/cdf${VER}/unix/
+MASTER_SITES= ftp://nssdcftp.gsfc.nasa.gov/standards/cdf/dist/cdf${VER}/unix/ \
+ http://windsor.gsfc.nasa.gov/standards/cdf/dist/cdf${VER}/unix/
DISTNAME= cdf${VER}-dist-cdf
MAINTAINER= thierry@FreeBSD.org
diff --git a/science/cdf/files/patch-src_include_cdfdist.h b/science/cdf/files/patch-src_include_cdfdist.h
index 3d80fa52a8c..acf89f3c852 100644
--- a/science/cdf/files/patch-src_include_cdfdist.h
+++ b/science/cdf/files/patch-src_include_cdfdist.h
@@ -1,5 +1,5 @@
---- ./src/include/cdfdist.h.orig Mon Jul 11 23:50:59 2005
-+++ ./src/include/cdfdist.h Fri Jan 27 22:06:09 2006
+--- src/include/cdfdist.h.orig Mon Jan 30 20:05:49 2006
++++ src/include/cdfdist.h Tue Jan 31 22:26:02 2006
@@ -101,7 +101,7 @@
# define unix
#endif
@@ -28,3 +28,12 @@
# define FOPEN64 fopen
# else
# define FOPEN64 fopen64
+@@ -513,7 +514,7 @@
+ *****************************************************************************/
+
+ #if defined(sun) || defined(MIPSEB) || defined(IBMRS) || defined(HP) || \
+- defined(NeXT) || defined(mac) || defined(POWERPC)
++ defined(NeXT) || defined(mac) || defined(POWERPC) || defined(__sparc64__)
+ # define FP1cpu
+ #endif
+