diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-05-17 02:56:00 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-05-17 02:56:00 +0000 |
commit | f85153bff618d5ebb68bdd750d1be1c70294410c (patch) | |
tree | 36a4cbf7ab9ff569361861b9665fb3afcf774a8d /astro/wmspaceweather | |
parent | 55997583ca9b9059952e1d7856b549fd7a753716 (diff) |
Notes
Diffstat (limited to 'astro/wmspaceweather')
-rw-r--r-- | astro/wmspaceweather/files/patch-ab | 6 | ||||
-rw-r--r-- | astro/wmspaceweather/files/patch-wmSpaceWeather.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/astro/wmspaceweather/files/patch-ab b/astro/wmspaceweather/files/patch-ab index a3683822b864..ece5431e5d41 100644 --- a/astro/wmspaceweather/files/patch-ab +++ b/astro/wmspaceweather/files/patch-ab @@ -1,11 +1,11 @@ --- GetKp.orig Fri Apr 16 15:08:21 1999 -+++ GetKp Fri Apr 16 15:09:24 1999 ++++ GetKp Tue Apr 13 20:06:19 2004 @@ -19,7 +19,7 @@ } - $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt"; -+ $grabcmd = "cd /tmp; fetch -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt"; ++ $grabcmd = "cd /tmp; fetch -q ftp://ftp.sec.noaa.gov/pub/indices/DGD.txt"; system "$grabcmd"; @@ -14,7 +14,7 @@ # Add in very latest stuff # - $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/latest/curind.txt"; -+ $grabcmd = "cd /tmp; fetch -q ftp://www.sec.noaa.gov/pub/latest/curind.txt"; ++ $grabcmd = "cd /tmp; fetch -q ftp://ftp.sec.noaa.gov/pub/latest/curind.txt"; system "$grabcmd"; %lmonstr = ( "Jan", 1, "Feb", 2, "Mar", 3, "Apr", 4, "May", 5, "Jun", 6, "Jul", 7, "Aug", 8, "Sep", 9, "Oct", 10, "Nov", 11, "Dec", 12); diff --git a/astro/wmspaceweather/files/patch-wmSpaceWeather.c b/astro/wmspaceweather/files/patch-wmSpaceWeather.c index 1b50fcf892d8..4fc2a583b30e 100644 --- a/astro/wmspaceweather/files/patch-wmSpaceWeather.c +++ b/astro/wmspaceweather/files/patch-wmSpaceWeather.c @@ -1,5 +1,5 @@ --- wmSpaceWeather.c.orig Thu Feb 18 17:57:45 1999 -+++ wmSpaceWeather.c Wed Jun 18 03:08:57 2003 ++++ wmSpaceWeather.c Tue Apr 13 20:06:41 2004 @@ -115,7 +115,7 @@ XEvent event; int i, n, s, k, m, dt1, dt2; int Year, Month, Day, DayOfMonth, OldDayOfMonth; @@ -44,7 +44,7 @@ * Read in Kp values */ - if ((fp = fopen("/tmp/LatestKp.txt", "r")) != NULL){ -+ snprintf(FileName, sizeof(FileName), "%s/.wmSpaceWeatherReports/LatestKp.txt", getenv("HOME")); ++ snprintf(FileName, sizeof(FileName), "/tmp/LatestKp.txt", getenv("HOME")); + if ((fp = fopen(FileName, "r")) != NULL){ for (i=0; i<8; ++i){ |