diff options
author | Eric Hameleers <alien@slackware.com> | 2020-11-14 16:08:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-11-14 16:08:25 +0000 |
commit | 12f6a64596959c643c7ad1f3b9f01b1a30c78205 (patch) | |
tree | c321ae2ed4c2ac0ec401fe11f49c9fffa275143a | |
parent | d565e3f302b262fa7be86148706be92cb9881cee (diff) | |
download | asb-12f6a64596959c643c7ad1f3b9f01b1a30c78205.tar.gz asb-12f6a64596959c643c7ad1f3b9f01b1a30c78205.tar.xz |
Initial revision
-rw-r--r-- | bwbar/build/patches/bwbar_proc_net_2.6.x_fix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bwbar/build/patches/bwbar_proc_net_2.6.x_fix.patch b/bwbar/build/patches/bwbar_proc_net_2.6.x_fix.patch new file mode 100644 index 00000000..c42be30d --- /dev/null +++ b/bwbar/build/patches/bwbar_proc_net_2.6.x_fix.patch @@ -0,0 +1,15 @@ +Author: Dmitry B. Khlonin <dmitry@dungeon.dorms.spbu.ru> +Description: extend width of parsed interface names +Bug-Debian: https://bugs.debian.org/246054 + +--- a/bwbar.c ++++ b/bwbar.c +@@ -317,7 +317,7 @@ + + /* Get interface info */ + do { +- if ( fscanf(pnd, " %6[^:]:%u %u %u %u %u %u %u %u %u %u %u %u %u %u %u %u", ++ if ( fscanf(pnd, " %15[^:]:%u %u %u %u %u %u %u %u %u %u %u %u %u %u %u %u", + ifc.name, + &ifc.r_bytes, &ifc.r_pkt, &ifc.r_err, &ifc.r_drop, + &ifc.r_fifo, &ifc.r_frame, &ifc.r_compr, &ifc.r_mcast, |