summarylogtreecommitdiffstats
path: root/weather.pl-new-line-skip.patch
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 22:53:20 -0600
committerBrian Bidulock2015-06-10 22:53:20 -0600
commitee4d9c80a888c0d5cd262648fd2b3db3d4d21bfb (patch)
tree132edf34806e505722ff282431c6ce19da8bc3cc /weather.pl-new-line-skip.patch
downloadaur-ee4d9c80a888c0d5cd262648fd2b3db3d4d21bfb.tar.gz
initial version
Diffstat (limited to 'weather.pl-new-line-skip.patch')
-rw-r--r--weather.pl-new-line-skip.patch20
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++;