diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-09-24 11:45:07 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-09-24 11:45:07 +0000 |
commit | 29059760c2bf488363d7b276ad37bfcc9255432d (patch) | |
tree | be6ad964d35be2d70ca2c3e08f23d0816bc9ae2b /sys-apps/usbutils/files | |
parent | Stable for amd64, wrt bug #435714 (diff) | |
download | gentoo-2-29059760c2bf488363d7b276ad37bfcc9255432d.tar.gz gentoo-2-29059760c2bf488363d7b276ad37bfcc9255432d.tar.bz2 gentoo-2-29059760c2bf488363d7b276ad37bfcc9255432d.zip |
Fix building against >=dev-libs/libusbx-1.0.13 wrt #435866 by Zoltan Puskas
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/usbutils/files')
-rw-r--r-- | sys-apps/usbutils/files/usbutils-006-libusbx-1.0.13.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/usbutils/files/usbutils-006-libusbx-1.0.13.patch b/sys-apps/usbutils/files/usbutils-006-libusbx-1.0.13.patch new file mode 100644 index 000000000000..f9a1334ebf97 --- /dev/null +++ b/sys-apps/usbutils/files/usbutils-006-libusbx-1.0.13.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/435866 +http://github.com/libusbx/libusbx/commit/3f513b62467d1842ec0771aaec01fde2f57bfb9c + +--- lsusb.c ++++ lsusb.c +@@ -437,7 +437,7 @@ + printf(" Remote Wakeup\n"); + if (config->bmAttributes & 0x10) + printf(" Battery Powered\n"); +- printf(" MaxPower %5umA\n", config->MaxPower * 2); ++ printf(" MaxPower %5umA\n", config->bMaxPower * 2); + + /* avoid re-ordering or hiding descriptors for display */ + if (config->extra_length) { |