summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-09-24 11:45:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-09-24 11:45:07 +0000
commit29059760c2bf488363d7b276ad37bfcc9255432d (patch)
treebe6ad964d35be2d70ca2c3e08f23d0816bc9ae2b /sys-apps/usbutils/files
parentStable for amd64, wrt bug #435714 (diff)
downloadgentoo-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.patch14
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) {