diff options
author | cpm <cpm@FreeBSD.org> | 2016-09-17 07:16:47 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2016-09-17 07:16:47 +0800 |
commit | 57af67b73f28dafa04c1667b36476f195972c84c (patch) | |
tree | 7b29c8eb30fd49e0ce5aa7f97e9bc620716402c0 | |
parent | e6a36219bdf790dee1fe3f30eb22901269f3a37c (diff) | |
download | freebsd-ports-gnome-57af67b73f28dafa04c1667b36476f195972c84c.tar.gz freebsd-ports-gnome-57af67b73f28dafa04c1667b36476f195972c84c.tar.zst freebsd-ports-gnome-57af67b73f28dafa04c1667b36476f195972c84c.zip |
- Fix METAR source URL
- Bump PORTREVISION
PR: 212693
Submitted by: etteldor@gmail.com
Reviewed by: amdmi3 (mentor)
Approved by: amdmi3 (mentor)
-rw-r--r-- | misc/gkrellweather2/Makefile | 2 | ||||
-rw-r--r-- | misc/gkrellweather2/files/patch-GrabWeather | 15 |
2 files changed, 13 insertions, 4 deletions
diff --git a/misc/gkrellweather2/Makefile b/misc/gkrellweather2/Makefile index af6101726f1d..aede12af8671 100644 --- a/misc/gkrellweather2/Makefile +++ b/misc/gkrellweather2/Makefile @@ -3,7 +3,7 @@ PORTNAME= gkrellweather PORTVERSION= 2.0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc geography MASTER_SITES= https://sites.google.com/site/makovick/projects/ diff --git a/misc/gkrellweather2/files/patch-GrabWeather b/misc/gkrellweather2/files/patch-GrabWeather index aa1cdc3c8b22..9c1411eae493 100644 --- a/misc/gkrellweather2/files/patch-GrabWeather +++ b/misc/gkrellweather2/files/patch-GrabWeather @@ -1,12 +1,21 @@ ---- GrabWeather.orig Sun Feb 27 08:54:47 2005 -+++ GrabWeather Sun Feb 27 08:54:47 2005 +--- GrabWeather.orig 2009-01-11 18:15:02 UTC ++++ GrabWeather @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Grabs the latest local weather conditions from the -@@ -40,8 +40,7 @@ +@@ -12,7 +12,7 @@ + + $ReportDir = '.wmWeatherReports'; + #$WeatherSrc = 'ftp://weather.noaa.gov/data/observations/metar/decoded'; +-$WeatherSrc = 'http://weather.noaa.gov/pub/data/observations/metar/decoded'; ++$WeatherSrc = 'http://tgftp.nws.noaa.gov/data/observations/metar/decoded'; + + use strict; + use vars qw( $ReportDir $WeatherSrc ); +@@ -40,8 +40,7 @@ my $DataFileName = "$StationID.dat"; # Is LWP installed? eval { require LWP::UserAgent }; if ($@) { |