summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch')
-rw-r--r--sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch76
1 files changed, 76 insertions, 0 deletions
diff --git a/sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch b/sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch
new file mode 100644
index 000000000..16e14eb7e
--- /dev/null
+++ b/sci-mathematics/dataplot/files/dpsrc-dp1patches-20080225.patch
@@ -0,0 +1,76 @@
+--- dpsrc-orig/dp1_linux_64.f.in 2007-08-23 18:19:57.000000000 -0400
++++ dpsrc/dp1_linux_64.f.in 2008-04-30 08:02:18.000000000 -0400
+@@ -1550,7 +1550,7 @@
+ DATA D2MACH(4) / 1.9259299443872358530559779425849273D-034 /
+ DATA D2MACH(5) / 0.30102999566398119521373889472449302 /
+ C
+- IHOST1='SUN '
++ IHOST1='@HOST@'
+ IHOST2=' '
+ IHMOD1='3 '
+ IHMOD2=' '
+@@ -2688,7 +2688,7 @@
+ 1 (IHOST1.EQ.'SGI ') .OR.
+ 1 (IHOST1.EQ.'HP-9') .OR.
+ 1 (IHOST1.EQ.'AIX ') .OR.
+- 1 (IHOST1.EQ.'LINU') .OR.
++ 1 (IHOST1.EQ.'LINUX') .OR.
+ 1 (IOPSY1.EQ.'UNIX')
+ 1 )THEN
+ CCCCC FOLLOWING SECTION ADDED FEBRUARY 1998.
+@@ -2704,7 +2704,7 @@
+ UNIXPV='DATAPLOT_FILES'
+ CALL getenv(UNIXPV,UNIXPN)
+ IF(UNIXPN.EQ.' ')THEN
+- IPATH1='/usr/local/lib/dataplot/'
++ IPATH1='@datadir@/dataplot/'
+ NCP1=24
+ UNIXPN=' '
+ UNIXPN(1:NCP1)=IPATH1(1:NCP1)
+@@ -2724,8 +2724,6 @@
+ ENDIF
+ CCCCC AUGUST 1996. TO MAKE SEARCH OF SUB-DIRECTORIES WORK, SET PATH
+ CCCCC TO BE EMPTY.
+- IPATH1=' '
+- NCP1=0
+ CCCCC JUNE 1996. FOR UNIX SYSTEMS, CHECK FOR EXISTENCE OF
+ CCCCC "HOME" ENVIRONMENT VARIABLE. READ DPLOGF FROM USER'S HOME
+ CCCCC DIRECTORY IF FOUND. OTHERWISE, CURRENT DIRECTORY.
+--- dpsrc-orig/dp1_linux.f.in 2007-08-23 18:19:27.000000000 -0400
++++ dpsrc/dp1_linux.f.in 2008-04-30 08:02:46.000000000 -0400
+@@ -1481,7 +1481,7 @@
+ DATA D2MACH(4) / 2.2204460492503D-16 /
+ DATA D2MACH(5) / 0.3010299956639812D0 /
+ CC
+- IHOST1='SUN '
++ IHOST1='@HOST@'
+ IHOST2=' '
+ IHMOD1='3 '
+ IHMOD2=' '
+@@ -2619,7 +2619,7 @@
+ 1 (IHOST1.EQ.'SGI ') .OR.
+ 1 (IHOST1.EQ.'HP-9') .OR.
+ 1 (IHOST1.EQ.'AIX ') .OR.
+- 1 (IHOST1.EQ.'LINU') .OR.
++ 1 (IHOST1.EQ.'LINUX') .OR.
+ 1 (IOPSY1.EQ.'UNIX')
+ 1 )THEN
+ CCCCC FOLLOWING SECTION ADDED FEBRUARY 1998.
+@@ -2635,7 +2635,7 @@
+ UNIXPV='DATAPLOT_FILES'
+ CALL getenv(UNIXPV,UNIXPN)
+ IF(UNIXPN.EQ.' ')THEN
+- IPATH1='/usr/local/lib/dataplot/'
++ IPATH1='@datadir@/dataplot'
+ NCP1=24
+ UNIXPN=' '
+ UNIXPN(1:NCP1)=IPATH1(1:NCP1)
+@@ -2655,8 +2655,6 @@
+ ENDIF
+ CCCCC AUGUST 1996. TO MAKE SEARCH OF SUB-DIRECTORIES WORK, SET PATH
+ CCCCC TO BE EMPTY.
+- IPATH1=' '
+- NCP1=0
+ CCCCC JUNE 1996. FOR UNIX SYSTEMS, CHECK FOR EXISTENCE OF
+ CCCCC "HOME" ENVIRONMENT VARIABLE. READ DPLOGF FROM USER'S HOME
+ CCCCC DIRECTORY IF FOUND. OTHERWISE, CURRENT DIRECTORY.