Package: xfce4-weather-plugin Version: 0.7.3-2 Severity: normal Tags: patch ipv6
Currently, if the "Proxy server" configuration field is set to a hostname which resolves only to an IPv6 address, the weather plug-in will fail to function, being unable to connect to that proxy or retrieve any data. The attached patch changes just one line and fixes this issue. --- System information. --- Architecture: amd64 Kernel: Linux 2.6.32.11-rm1-amd-hpetmsi-slab-un15044 Debian Release: squeeze/sid 900 testing snapshot.debian.org 900 testing natsu.ipv6.rm.pp.ru --- Package information. --- Depends (Version) | Installed =============================-+-============ libc6 (>= 2.2.5) | 2.10.2-6 libglib2.0-0 (>= 2.18.0) | 2.24.0-1 libgtk2.0-0 (>= 2.14.0) | 2.20.0-3 libpango1.0-0 (>= 1.14.0) | 1.28.0-1 libxfce4util4 (>= 4.6.0) | 4.6.1-2 libxfcegui4-4 (>= 4.6.0) | 4.6.3-2 libxml2 (>= 2.7.4) | 2.7.7.dfsg-2 xfce4-panel (>= 4.6.0) | 4.6.3-1 Package's Recommends field is empty. Package's Suggests field is empty. -- With respect, Roman
--- orig/xfce4-weather-plugin-0.7.3/panel-plugin/weather-http.c 2009-07-23 15:10:55.000000000 +0600 +++ xfce4-weather-plugin-0.7.3/panel-plugin/weather-http.c 2010-05-03 00:47:53.090215530 +0600 @@ -177,7 +177,7 @@ #endif memset(&h, 0, sizeof(h)); - h.ai_family = AF_INET; + h.ai_family = AF_UNSPEC; h.ai_socktype = SOCK_STREAM; h.ai_protocol = IPPROTO_TCP;
signature.asc
Description: PGP signature