[packages/gnome-panel] - fix building with libweather 3.10.x
baggins
baggins at pld-linux.org
Wed Oct 9 21:56:09 CEST 2013
commit 162c6006a9f56bfc2f3061c94ce0b91845f83396
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Oct 9 21:55:45 2013 +0200
- fix building with libweather 3.10.x
gnome-panel.spec | 2 ++
libgweather-3.10.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/gnome-panel.spec b/gnome-panel.spec
index 1555caf..68d4edc 100644
--- a/gnome-panel.spec
+++ b/gnome-panel.spec
@@ -7,6 +7,7 @@ License: LGPL v2+ (library), GPL v2+ (the rest)
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.8/%{name}-%{version}.tar.xz
# Source0-md5: 809c3e81917194ebee21ab6ab3cd9baa
+Patch0: libgweather-3.10.patch
URL: http://www.gnome.org/
BuildRequires: GConf2-devel >= 2.26.0
BuildRequires: NetworkManager-devel >= 0.6
@@ -136,6 +137,7 @@ Dokumentacja API panel-applet.
%prep
%setup -q
+%patch0 -p1
# short circuit stopper (fix me!)
mv ChangeLog main-ChangeLog
diff --git a/libgweather-3.10.patch b/libgweather-3.10.patch
new file mode 100644
index 0000000..1af4500
--- /dev/null
+++ b/libgweather-3.10.patch
@@ -0,0 +1,11 @@
+--- gnome-panel-3.8.0/applets/clock/clock-location.c~ 2013-09-25 16:10:00.000000000 +0200
++++ gnome-panel-3.8.0/applets/clock/clock-location.c 2013-10-09 21:52:42.473427727 +0200
+@@ -542,7 +542,7 @@
+ }
+
+ priv->weather_info =
+- gweather_info_new_for_world (priv->world,
++ gweather_info_new (
+ priv->loc,
+ GWEATHER_FORECAST_LIST);
+ g_signal_connect (priv->weather_info, "updated",
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-panel.git/commitdiff/162c6006a9f56bfc2f3061c94ce0b91845f83396
More information about the pld-cvs-commit
mailing list