diff options
author | Brian Bidulock | 2015-06-10 22:53:20 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 22:53:20 -0600 |
commit | ee4d9c80a888c0d5cd262648fd2b3db3d4d21bfb (patch) | |
tree | 132edf34806e505722ff282431c6ce19da8bc3cc /weather.pl-new-line-skip.patch | |
download | aur-ee4d9c80a888c0d5cd262648fd2b3db3d4d21bfb.tar.gz |
initial version
Diffstat (limited to 'weather.pl-new-line-skip.patch')
-rw-r--r-- | weather.pl-new-line-skip.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/weather.pl-new-line-skip.patch b/weather.pl-new-line-skip.patch new file mode 100644 index 000000000000..a2e983e760cc --- /dev/null +++ b/weather.pl-new-line-skip.patch @@ -0,0 +1,20 @@ +Description: New line skip in weather.pl. + Previously, there were 12 lines between the "START BODY OF TEXT HERE" comment + and the time in the html file downloaded from weather.noaa.gov for processing + weather information. Now, however, the number of lines has increased to 21, + and weather.pl was not able to correctly parse the weather information. + . + This patch fixes this issue. +Author: Doug Torrance <dtorrance@monmouthcollege.edu> + +--- wmfrog-0.3.1.orig/Src/weather.pl ++++ wmfrog-0.3.1/Src/weather.pl +@@ -40,7 +40,7 @@ if($mode eq "http") + $line=<DATA>; + } + $i=0; +- while($i!=12 && !eof(DATA)) ++ while($i!=21 && !eof(DATA)) + { + $line=<DATA>; + $i++; |