diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2016-10-16 16:39:56 +0200 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2016-10-16 16:39:56 +0200 |
commit | 6e1322ac311e9b9f9488260c527076e331e8fb40 (patch) | |
tree | 7374bdff0694078ad1f9c27d75e82f14ad95f442 /app-admin | |
parent | sci-mathematics/rw: new revision with a blocker on media-gfx/xpaint. (diff) | |
download | gentoo-6e1322ac311e9b9f9488260c527076e331e8fb40.tar.gz gentoo-6e1322ac311e9b9f9488260c527076e331e8fb40.tar.bz2 gentoo-6e1322ac311e9b9f9488260c527076e331e8fb40.zip |
app-admin/conky: Update NOAA METAR uri.
This fixes bug #592906. Thanks to Brand Huntsman for the report.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/conky/conky-1.9.0-r3.ebuild | 3 | ||||
-rw-r--r-- | app-admin/conky/files/conky-1.9.0-update-noaa-metar-uri.patch | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/app-admin/conky/conky-1.9.0-r3.ebuild b/app-admin/conky/conky-1.9.0-r3.ebuild index 884c8679c1a6..a1f0800261f5 100644 --- a/app-admin/conky/conky-1.9.0-r3.ebuild +++ b/app-admin/conky/conky-1.9.0-r3.ebuild @@ -67,7 +67,8 @@ src_prepare() { "${FILESDIR}/${P}-apcupsd.patch" \ "${FILESDIR}/${P}-default-graph-size.patch" \ "${FILESDIR}/${P}-diskio-dmmajor.patch" \ - "${FILESDIR}/${P}-tinfo.patch" + "${FILESDIR}/${P}-tinfo.patch" \ + "${FILESDIR}/${P}-update-noaa-metar-uri.patch" # Allow user patches #478482 epatch_user diff --git a/app-admin/conky/files/conky-1.9.0-update-noaa-metar-uri.patch b/app-admin/conky/files/conky-1.9.0-update-noaa-metar-uri.patch new file mode 100644 index 000000000000..0dbf3d3fadad --- /dev/null +++ b/app-admin/conky/files/conky-1.9.0-update-noaa-metar-uri.patch @@ -0,0 +1,11 @@ +--- a/src/weather.c ++++ b/src/weather.c +@@ -858,7 +858,7 @@ + } + } else + #endif /* XOAP */ +- if (strstr(uri, "weather.noaa.gov")) { ++ if (strstr(uri, "tgftp.nws.noaa.gov")) { + strcat(uri, locID); + strcat(uri, ".TXT"); + } else if (!strstr(uri, "localhost") && !strstr(uri, "127.0.0.1")) { |