summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-panel-plugins/weather/files/0002-Switch-to-met.no-locationforecastLTS-1.2-API-bug-109.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/recipes-panel-plugins/weather/files/0002-Switch-to-met.no-locationforecastLTS-1.2-API-bug-109.patch')
-rw-r--r--meta-xfce/recipes-panel-plugins/weather/files/0002-Switch-to-met.no-locationforecastLTS-1.2-API-bug-109.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-xfce/recipes-panel-plugins/weather/files/0002-Switch-to-met.no-locationforecastLTS-1.2-API-bug-109.patch b/meta-xfce/recipes-panel-plugins/weather/files/0002-Switch-to-met.no-locationforecastLTS-1.2-API-bug-109.patch
new file mode 100644
index 000000000..4c385a469
--- /dev/null
+++ b/meta-xfce/recipes-panel-plugins/weather/files/0002-Switch-to-met.no-locationforecastLTS-1.2-API-bug-109.patch
@@ -0,0 +1,27 @@
1From 7df303bc5fa649299e18efeb5d4b801614030488 Mon Sep 17 00:00:00 2001
2From: Harald Judt <h.judt@gmx.at>
3Date: Tue, 3 Jun 2014 19:59:05 +0200
4Subject: [PATCH 2/2] Switch to met.no locationforecastLTS-1.2 API (bug
5 #10916).
6
7Upstream-Status: Applied
8---
9 panel-plugin/weather.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
13index efa8559..63451fd 100644
14--- a/panel-plugin/weather.c
15+++ b/panel-plugin/weather.c
16@@ -660,7 +660,7 @@ update_handler(plugin_data *data)
17 /* build url */
18 url =
19 g_strdup_printf("http://api.yr.no/weatherapi"
20- "/locationforecastlts/1.1/?lat=%s;lon=%s;msl=%d",
21+ "/locationforecastlts/1.2/?lat=%s;lon=%s;msl=%d",
22 data->lat, data->lon, data->msl);
23
24 /* start receive thread */
25--
261.8.3.1
27