[Pkg-xfce-commits] r6315 - in goodies/trunk/xfce4-netload-plugin/debian: . patches
Yves-Alexis Perez
corsac at alioth.debian.org
Fri Jan 13 04:17:26 UTC 2012
Author: corsac
Date: 2012-01-13 16:17:25 +0000 (Fri, 13 Jan 2012)
New Revision: 6315
Removed:
goodies/trunk/xfce4-netload-plugin/debian/patches/01_fix-snprintf-format.patch
Modified:
goodies/trunk/xfce4-netload-plugin/debian/changelog
goodies/trunk/xfce4-netload-plugin/debian/patches/series
Log:
* debian/patches
- 01_fix-snprintf-format dropped, included upstream.
Modified: goodies/trunk/xfce4-netload-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/changelog 2012-01-13 16:15:14 UTC (rev 6314)
+++ goodies/trunk/xfce4-netload-plugin/debian/changelog 2012-01-13 16:17:25 UTC (rev 6315)
@@ -8,6 +8,8 @@
- update debhelper build-dep for hardening support.
- add dpkg-dev build-dep for hardening support.
* debian/compat bumped to 9.
+ * debian/patches
+ - 01_fix-snprintf-format dropped, included upstream.
-- Yves-Alexis Perez <corsac at debian.org> Fri, 13 Jan 2012 13:15:10 +0100
Deleted: goodies/trunk/xfce4-netload-plugin/debian/patches/01_fix-snprintf-format.patch
===================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/patches/01_fix-snprintf-format.patch 2012-01-13 16:15:14 UTC (rev 6314)
+++ goodies/trunk/xfce4-netload-plugin/debian/patches/01_fix-snprintf-format.patch 2012-01-13 16:17:25 UTC (rev 6315)
@@ -1,22 +0,0 @@
-diff --git a/panel-plugin/net.c b/panel-plugin/net.c
-index 261e466..e5afd5c 100644
---- a/panel-plugin/net.c
-+++ b/panel-plugin/net.c
-@@ -194,7 +194,7 @@ int get_interface_up(netdata* data)
- return FALSE;
- }
-
-- snprintf(ifr.ifr_name, IF_NAMESIZE, data->ifdata.if_name);
-+ snprintf(ifr.ifr_name, IF_NAMESIZE, "%s", data->ifdata.if_name);
- if (ioctl(sockfd, SIOCGIFFLAGS, &ifr) != 0)
- {
- PRINT_DBG("Error in ioctl(sockfd): %s", strerror(errno));
-@@ -231,7 +231,7 @@ char* get_ip_address(netdata* data)
- return NULL;
- }
-
-- snprintf(ifr.ifr_name, IF_NAMESIZE, data->ifdata.if_name);
-+ snprintf(ifr.ifr_name, IF_NAMESIZE, "%s", data->ifdata.if_name);
- if (ioctl(sockfd, SIOCGIFADDR, &ifr) != 0)
- {
- if (errno != EADDRNOTAVAIL)
Modified: goodies/trunk/xfce4-netload-plugin/debian/patches/series
===================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/patches/series 2012-01-13 16:15:14 UTC (rev 6314)
+++ goodies/trunk/xfce4-netload-plugin/debian/patches/series 2012-01-13 16:17:25 UTC (rev 6315)
@@ -1,2 +1 @@
-01_fix-snprintf-format.patch
02_drop_ppp_headers.patch
More information about the Pkg-xfce-commits
mailing list