From eb1e4514f46d302904010562fa28b1f877943358 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 9 Sep 2016 07:58:50 +0700 Subject: [PATCH] libmateweather: Upgraded to 1.15.1. Signed-off-by: Willy Sudiarto Raharjo --- base/libmateweather/libmateweather.SlackBuild | 5 ++-- base/libmateweather/libmateweather.patch | 25 ------------------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 base/libmateweather/libmateweather.patch diff --git a/base/libmateweather/libmateweather.SlackBuild b/base/libmateweather/libmateweather.SlackBuild index cf12273..9fa1c9b 100644 --- a/base/libmateweather/libmateweather.SlackBuild +++ b/base/libmateweather/libmateweather.SlackBuild @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmateweather -VERSION=${VERSION:-1.15.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.15.1} +BUILD=${BUILD:-1} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -72,7 +72,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/libmateweather.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/base/libmateweather/libmateweather.patch b/base/libmateweather/libmateweather.patch deleted file mode 100644 index 6e5e102..0000000 --- a/base/libmateweather/libmateweather.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- libmateweather-1.15.0/libmateweather/weather-metar.c 2015-10-06 21:36:53.000000000 +0700 -+++ weather-metar.c 2016-08-27 22:43:19.601741148 +0700 -@@ -522,7 +522,7 @@ - metar = g_strdup (p); - success = metar_parse (metar, info); - g_free (metar); -- } else if (!strstr (msg->response_body->data, "National Weather Service")) { -+ } else if (!strstr (msg->response_body->data, "AVIATION WEATHER CENTER")) { - /* The response doesn't even seem to have come from NWS... - * most likely it is a wifi hotspot login page. Call that a - * network error. -@@ -550,10 +550,11 @@ - } - - msg = soup_form_request_new ( -- "GET", "http://weather.noaa.gov/mgetmetar.php", -- "cccc", loc->code, -+ "GET", "http://aviationweather.gov/metar/data", -+ "ids", loc->code, - NULL); - soup_session_queue_message (info->session, msg, metar_finish, info); - - info->requests_pending++; - } -+