summaryrefslogtreecommitdiff
path: root/science/2dhf/files
diff options
context:
space:
mode:
Diffstat (limited to 'science/2dhf/files')
-rw-r--r--science/2dhf/files/patch-Makefile50
-rw-r--r--science/2dhf/files/patch-bin+xhf11
-rw-r--r--science/2dhf/files/patch-main-dynamic-f90.inc9
-rw-r--r--science/2dhf/files/patch-src+fmalloc.c14
-rw-r--r--science/2dhf/files/patch-src+getusedcpu.c37
-rw-r--r--science/2dhf/files/patch-src+inihf.f10
-rw-r--r--science/2dhf/files/patch-src+setconst.f11
7 files changed, 0 insertions, 142 deletions
diff --git a/science/2dhf/files/patch-Makefile b/science/2dhf/files/patch-Makefile
deleted file mode 100644
index 0841a548e559..000000000000
--- a/science/2dhf/files/patch-Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
---- Makefile.orig Tue May 17 02:15:36 2005
-+++ Makefile Tue Jan 9 17:36:22 2007
-@@ -45,21 +45,22 @@
- # of grid and orbital parameters according to expected range of input
- # data
-
--#MEMALLOC = main-static.inc
-+# MEMALLOC = main-static.inc
-
- # For a Sun workstation with f77 or a PC with g77 compiler
--MEMALLOC = main-dynamic-f77.inc
-+# MEMALLOC = main-dynamic-f77.inc
-
- # For a DEC workstation and f77 compiler
- # MEMALLOC = main-dynamic-f77-dec.inc
-
- # For f90 compiler
--# MEMALLOC = main-dynamic-f90.inc
-+MEMALLOC = main-dynamic-f90.inc
-
- # set system type/compiler
- # available keywords are: cray, dec, ibm, lahey, linux, sgi, solaris
-+# and freebsd
-
--SYSTEM = linux
-+SYSTEM = freebsd
- #SYSTEM = intel
-
- # if BLAS library is available set the BLAS variable to yes
-@@ -189,6 +190,20 @@
- CC = cc
- CFLAGS =
- endif
-+# FreeBSD
-+ifeq ($(SYSTEM),freebsd)
-+ FC = %%FC%%
-+ FFLAGS = %%FFLAGS%%
-+# -fstrength-reduce -funroll-loops
-+# FFLAGS = -O1 -malign-double
-+# FFLAGS = -g -C
-+ FFLAGS_ADD = %%FFLAGS_ADD%%
-+ FLIB = -L%%LOCALBASE%%/lib %%BLAS%%
-+ BLAS = yes
-+
-+ CC = %%CC%%
-+ CFLAGS = %%CFLAGS%%
-+ endif
-
-
- # nothing to be set below this line
diff --git a/science/2dhf/files/patch-bin+xhf b/science/2dhf/files/patch-bin+xhf
deleted file mode 100644
index 1a83897b39c4..000000000000
--- a/science/2dhf/files/patch-bin+xhf
+++ /dev/null
@@ -1,11 +0,0 @@
---- bin/xhf.org Thu Jul 24 18:25:05 2003
-+++ bin/xhf Thu Jul 24 18:26:38 2003
-@@ -99,7 +99,7 @@
- endif
- echo ' '
- # envoke x2dhf program
-- nice +19 ./x2dhf < $1.data
-+ nice +19 %%PREFIX%%/bin/x2dhf < $1.data
- endif
-
- if ( $1 != 'remove' ) then
diff --git a/science/2dhf/files/patch-main-dynamic-f90.inc b/science/2dhf/files/patch-main-dynamic-f90.inc
deleted file mode 100644
index 6c7aeb414ae7..000000000000
--- a/science/2dhf/files/patch-main-dynamic-f90.inc
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/main-dynamic-f90.inc~ Tue May 17 02:22:50 2005
-+++ src/main-dynamic-f90.inc Tue Jan 9 17:39:08 2007
-@@ -1,5 +1,5 @@
- real*8, dimension(:),allocatable :: cw_orb
-- real*8, dimension(:),allocatable :
-+ real*8, dimension(:),allocatable :: cw_coul
- real*8, dimension(:),allocatable :: cw_exch
- real*8, dimension(:),allocatable :: cw_suppl
- real*8, dimension(:),allocatable :: cw_sctch
diff --git a/science/2dhf/files/patch-src+fmalloc.c b/science/2dhf/files/patch-src+fmalloc.c
deleted file mode 100644
index a051ab093525..000000000000
--- a/science/2dhf/files/patch-src+fmalloc.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/fmalloc.c.orig Thu Jul 24 17:32:52 2003
-+++ src/fmalloc.c Thu Jul 24 17:33:22 2003
-@@ -15,7 +15,11 @@
-
- #include <stdio.h>
- #include <sys/types.h>
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include <malloc.h>
-+#endif
-
- /*
- bv: is an integer to contain the address to the reserved
diff --git a/science/2dhf/files/patch-src+getusedcpu.c b/science/2dhf/files/patch-src+getusedcpu.c
deleted file mode 100644
index 5d1b54b6c4ae..000000000000
--- a/science/2dhf/files/patch-src+getusedcpu.c
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/getusedcpu.c.orig Sat Jan 4 21:21:37 2003
-+++ src/getusedcpu.c Tue Aug 5 07:02:39 2003
-@@ -67,7 +67,6 @@
- #include <string.h>
- #include <ctype.h>
-
--
- #include <sys/types.h>
- #include <sys/times.h>
- #include <sys/param.h>
-@@ -76,7 +75,7 @@
- #include <sys/acct.h>
- #endif
-
--#if defined(ymp)
-+#if defined(ymp) || defined (__FreeBSD__)
- #include <time.h>
- #endif
-
-@@ -106,7 +105,7 @@
- #if defined(dec)
- start = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(AHZ);
- start_child = (float)(buffer.tms_cutime + buffer.tms_cstime)/ (float)(AHZ);
--#elif defined(ymp)
-+#elif defined(ymp) || defined(__FreeBSD__)
- start = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(CLK_TCK);
- start_child = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(CLK_TCK);
- #else
-@@ -118,7 +117,7 @@
- #if defined(dec)
- *Msecs = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(AHZ) - start_child;
- *Csecs = (float)(buffer.tms_cutime + buffer.tms_cstime)/ (float)(AHZ) - start_child;
--#elif defined(ymp)
-+#elif defined(ymp) || defined(__FreeBSD__)
- *Msecs = (float)(buffer.tms_utime + buffer.tms_stime) / (float)(CLK_TCK) - start;
- *Csecs = (float)(buffer.tms_cutime + buffer.tms_cstime) / (float)(CLK_TCK) - start_child;
- #else
diff --git a/science/2dhf/files/patch-src+inihf.f b/science/2dhf/files/patch-src+inihf.f
deleted file mode 100644
index b8eda8a214dd..000000000000
--- a/science/2dhf/files/patch-src+inihf.f
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/inihf.f~ Tue May 17 02:22:50 2005
-+++ src/inihf.f Tue Jan 9 17:12:22 2007
-@@ -20,6 +20,7 @@
- implicit integer*4 (i-n)
- implicit real*8 (a-h,o-z)
- character*8 atom1,term1,atom2,term2
-+ integer ouf2dhf1, ouf2dhf2
- include 'commons8.inc'
- dimension psi(*),pot(*),excp(*),f2(*),f4(*),wgt2(*),wk0(*)
- dimension rhf1(9999),phf1(20,9999),ehf1(20),qc1(20),
diff --git a/science/2dhf/files/patch-src+setconst.f b/science/2dhf/files/patch-src+setconst.f
deleted file mode 100644
index efd798b3a872..000000000000
--- a/science/2dhf/files/patch-src+setconst.f
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/setconst.f.org Tue Jan 9 17:41:30 2007
-+++ src/setconst.f Tue Jan 9 17:41:42 2007
-@@ -31,7 +31,7 @@
-
- c set default lengths of integer and real constants and variables used
-
-- i8tmp1=2**31
-+ i8tmp1=2**30
- i8tmp2=100000*i8tmp1
- i4tmp1=i8tmp2
- if (i4tmp1.eq.0) then