diff options
author | 2011-11-07 23:28:29 +0000 | |
---|---|---|
committer | 2011-11-07 23:28:29 +0000 | |
commit | 2587dbe8880f518c91186841cce26949a3012a24 (patch) | |
tree | 615929ae15afaddb51933c5c565b819347774884 /sys-power/nut/files | |
parent | Version bump. (diff) | |
download | historical-2587dbe8880f518c91186841cce26949a3012a24.tar.gz historical-2587dbe8880f518c91186841cce26949a3012a24.tar.bz2 historical-2587dbe8880f518c91186841cce26949a3012a24.zip |
Version bump, bug #371641.
Package-Manager: portage-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.patch | 16 |
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)) { |