--- x11/temperature.app/Makefile 2019-02-03 21:40:46.737657000 +0100 +++ x11/temperature.app/Makefile 2019-02-05 15:40:11.966455000 +0100 @@ -2,10 +2,9 @@ # $FreeBSD: head/x11/temperature.app/Makefile 491964 2019-02-02 17:34:27Z tobik $ PORTNAME= temperature.app -PORTVERSION= 1.4 -PORTREVISION= 5 +PORTVERSION= 1.5 CATEGORIES= x11 windowmaker -MASTER_SITES= http://www.fukt.bsnet.se/~per/temperature/ +MASTER_SITES= https://www.dockapps.net/download/ DISTNAME= Temperature.app-${PORTVERSION} MAINTAINER= mbeis@xs4all.nl --- x11/temperature.app/distinfo 2018-06-24 15:16:49.945621000 +0200 +++ x11/temperature.app/distinfo 2019-02-05 15:41:14.505097000 +0100 @@ -1,2 +1,3 @@ -SHA256 (Temperature.app-1.4.tar.gz) = a7c4d630152625675d6d9638d0efad4952fca386e86acd1932d28c26e0e48ada -SIZE (Temperature.app-1.4.tar.gz) = 16747 +TIMESTAMP = 1549377674 +SHA256 (Temperature.app-1.5.tar.gz) = 1098e8d8eccb8b5bf2fc37d093e992c73731f115d5cd05e76ad6955c3429f56b +SIZE (Temperature.app-1.5.tar.gz) = 16948 --- x11/temperature.app/files/patch-Temperature.cc 2018-06-24 15:16:49.965626000 +0200 +++ x11/temperature.app/files/patch-Temperature.cc 2019-02-08 17:37:05.954885000 +0100 @@ -1,16 +1,12 @@ ---- Temperature.cc.bak 2016-08-24 21:28:41.551324000 -0400 -+++ Temperature.cc 2016-08-24 21:26:25.860220000 -0400 -@@ -20,24 +20,29 @@ - // - +--- Temperature.cc.orig 2010-02-07 07:43:52.000000000 +0100 ++++ Temperature.cc 2019-02-08 16:51:24.158937000 +0100 +@@ -22,22 +22,27 @@ #include --#include --#include + #include + #include -#include -#include -#include -+#include -+#include +#include +#include +#include @@ -45,6 +41,6 @@ sprintf(URL, METAR_URL, mStationId); - execlp("wget", "wget", "--cache=off", "--tries=0", verbose, "-O", tmpFile, URL, 0); + execlp("wget", "wget", "--no-cache", "--tries=0", verbose, "-O", tmpFile, URL, NULL); - cerr << APPNAME << ": could not fetch temperature (wget not found in $PATH)" << endl; + std::cerr << APPNAME << ": could not fetch temperature (wget not found in $PATH)" << std::endl; remove(tmpFile); exit(0); --- x11/temperature.app/files/patch-Temperature.h 2018-06-24 15:16:49.971797000 +0200 +++ x11/temperature.app/files/patch-Temperature.h 2019-02-08 17:37:53.617784000 +0100 @@ -1,17 +1,7 @@ ---- Temperature.h.bak 2016-08-24 21:28:32.665119000 -0400 -+++ Temperature.h 2016-08-24 21:26:20.577933000 -0400 -@@ -22,14 +22,16 @@ - #ifndef _TEMPERATURE_H_ - #define _TEMPERATURE_H_ - --#include -+#include - #include - -+using std::ifstream; -+ - #define APPNAME "Temperature.app" - #define VERSION "1.4" +--- Temperature.h.orig 2010-02-07 08:03:11.000000000 +0100 ++++ Temperature.h 2019-02-08 17:11:25.608097000 +0100 +@@ -29,7 +29,7 @@ + #define VERSION "1.5" #define INSTANCENAME "temperature_app" #define CLASSNAME "Temperature_app" -#define METAR_URL "http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT" --- x11/temperature.app/files/patch-Xpm.cc 2018-06-24 15:16:49.978468000 +0200 +++ x11/temperature.app/files/patch-Xpm.cc 2019-02-08 17:38:33.074565000 +0100 @@ -1,22 +1,19 @@ ---- Xpm.cc.bak 2002-04-06 08:44:36.000000000 +0900 -+++ Xpm.cc 2013-12-07 17:25:00.000000000 +0900 -@@ -22,12 +22,16 @@ - #include +--- Xpm.cc.orig 2010-02-07 07:48:35.000000000 +0100 ++++ Xpm.cc 2019-02-08 17:19:14.897110000 +0100 +@@ -23,10 +23,14 @@ #include #include --#include + #include -#include -#include -+#include +#include +#include #include "Temperature.h" #include "Xpm.h" - ++ +using std::cerr; +using std::cout; +using std::endl; -+ + Xpm::Xpm(Display* display, Window root, char** data) { - int error;