From a6e967299a96898f603205b081e0ee21c96567fc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 31 May 2013 21:04:41 +0200 Subject: [PATCH] gnome-nettool: remove obsolete patch. --- srcpkgs/gnome-nettool/patches/printf.patch | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 srcpkgs/gnome-nettool/patches/printf.patch diff --git a/srcpkgs/gnome-nettool/patches/printf.patch b/srcpkgs/gnome-nettool/patches/printf.patch deleted file mode 100644 index 76453aacc5..0000000000 --- a/srcpkgs/gnome-nettool/patches/printf.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- src/info.c 2013-05-02 13:58:40.000000000 +0200 -+++ src/info.c 2013-05-03 05:20:04.684921458 +0200 -@@ -232,13 +232,13 @@ - text_rx_bytes = util_legible_bytes (netload.bytes_in); - text_tx_bytes = util_legible_bytes (netload.bytes_out); - -- g_sprintf (rx_pkt, "%lld", netload.packets_in); -- g_sprintf (tx_pkt, "%lld", netload.packets_out); -+ g_sprintf (rx_pkt, "%" G_GUINT64_FORMAT, netload.packets_in); -+ g_sprintf (tx_pkt, "%" G_GUINT64_FORMAT, netload.packets_out); - -- g_sprintf (rx_error, "%lld", netload.errors_in); -- g_sprintf (tx_error, "%lld", netload.errors_out); -+ g_sprintf (rx_error, "%" G_GUINT64_FORMAT, netload.errors_in); -+ g_sprintf (tx_error, "%" G_GUINT64_FORMAT, netload.errors_out); - -- g_sprintf (collisions, "%lld", netload.collisions); -+ g_sprintf (collisions, "%" G_GUINT64_FORMAT, netload.collisions); - - gtk_label_set_text (GTK_LABEL (info->tx_bytes), text_tx_bytes); - gtk_label_set_text (GTK_LABEL (info->tx), tx_pkt); ---- src/utils.c 2013-05-02 13:58:40.000000000 +0200 -+++ src/utils.c 2013-05-03 05:21:45.704202804 +0200 -@@ -272,7 +272,7 @@ - unit = "KiB"; - } - -- result = g_strdup_printf ("%lld.%lld %s", short_rx / 10, -+ result = g_strdup_printf ("%" G_GUINT64_FORMAT ".%" G_GUINT64_FORMAT " %s", short_rx / 10, - short_rx % 10, unit); - return result; - }