summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-11-07 23:28:29 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-11-07 23:28:29 +0000
commit9e3fda06951c2bed137adde17fb32c065873591a (patch)
tree7840e0768e5ea415e80f761f6686b8846ea3fd86 /sys-power/nut/files
parentVersion bump. (diff)
downloadgentoo-2-9e3fda06951c2bed137adde17fb32c065873591a.tar.gz
gentoo-2-9e3fda06951c2bed137adde17fb32c065873591a.tar.bz2
gentoo-2-9e3fda06951c2bed137adde17fb32c065873591a.zip
Version bump, bug #371641.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/nut/files')
-rw-r--r--sys-power/nut/files/nut-2.6.2-lowspeed-buffer-size.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-power/nut/files/nut-2.6.2-lowspeed-buffer-size.patch b/sys-power/nut/files/nut-2.6.2-lowspeed-buffer-size.patch
new file mode 100644
index 000000000000..9806d07e53ba
--- /dev/null
+++ b/sys-power/nut/files/nut-2.6.2-lowspeed-buffer-size.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/show_bug.cgi?id=318937
+http://boxster.ghz.cc/projects/nut/changeset/2407
+
+Respun from nut-2.4.3-lowspeed-buffer-size.patch
+
+Index: /trunk/drivers/libhid.c
+===================================================================
+--- /trunk/drivers/libhid.c (revision 2336)
++++ /trunk/drivers/libhid.c (revision 2407)
+@@ -142,5 +142,5 @@
+ int id = pData->ReportID;
+ int r;
+- unsigned char buf[SMALLBUF];
++ unsigned char buf[8]; /* Maximum size for low-speed USB devices */
+
+ if (rbuf->ts[id] + age > time(NULL)) {