[Pkg-xfce-commits] r8178 - in /goodies/branches/wheezy/xfce4-weather-plugin/debian: changelog patches/02_NULL-hi.patch patches/series

Yves-Alexis Perez corsac at moszumanska.debian.org
Sun Jan 19 15:00:23 UTC 2014


Author: corsac
Date: Sun Jan 19 15:00:22 2014
New Revision: 8178

URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8178
Log:
* debian/patches:
  - 02_NULL-hi added, fix cases where <hi> element is empty.  closes: #735478

Added:
    goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/02_NULL-hi.patch
Modified:
    goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog
    goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series

Modified: goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog?rev=8178&op=diff
==============================================================================
--- goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog	(original)
+++ goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog	Sun Jan 19 15:00:22 2014
@@ -1,3 +1,10 @@
+xfce4-weather-plugin (0.7.4-5) UNRELEASED; urgency=medium
+
+  * debian/patches:
+    - 02_NULL-hi added, fix cases where <hi> element is empty.  closes: #735478
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 19 Jan 2014 15:55:39 +0100
+
 xfce4-weather-plugin (0.7.4-4) wheezy; urgency=low
 
   * debian/patches:

Added: goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/02_NULL-hi.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/02_NULL-hi.patch?rev=8178&op=file
==============================================================================
--- goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/02_NULL-hi.patch	(added)
+++ goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/02_NULL-hi.patch	Sun Jan 19 15:00:22 2014
@@ -0,0 +1,12 @@
+--- a/panel-plugin/weather-parsers.c
++++ b/panel-plugin/weather-parsers.c
+@@ -301,7 +286,8 @@ parse_dayf (xmlNode *cur_node)
+       if (NODE_IS_TYPE (cur_node, "hi"))
+         {
+           ret->hi = DATA (cur_node);
+-          g_assert (ret->hi != NULL);
++          if (ret->hi == NULL);
++            ret->hi = g_strdup("NA");
+         }
+       else if (NODE_IS_TYPE (cur_node, "low"))
+         {

Modified: goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series?rev=8178&op=diff
==============================================================================
--- goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series	(original)
+++ goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series	Sun Jan 19 15:00:22 2014
@@ -1,2 +1,3 @@
 00_license.patch
 01_uri_change.patch
+02_NULL-hi.patch




More information about the Pkg-xfce-commits mailing list