From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/usbutils/files: usbutils-0.82-fbsd.patch |
Date: | Thu, 01 Oct 2009 03:37:37 |
Message-Id: | E1MtCU3-0003UK-KE@stork.gentoo.org |
1 | vapier 09/10/01 03:37:35 |
2 | |
3 | Added: usbutils-0.82-fbsd.patch |
4 | Log: |
5 | Version bump by Tim Harder #287011. Fix by Aleksey Chernov for building on FreeBSD systems #275052. |
6 | (Portage version: 2.2_rc42/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-apps/usbutils/files/usbutils-0.82-fbsd.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/files/usbutils-0.82-fbsd.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/usbutils/files/usbutils-0.82-fbsd.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: usbutils-0.82-fbsd.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/275052 |
17 | |
18 | --- usbutils-0.82/lsusb.c |
19 | +++ usbutils-0.82/lsusb.c |
20 | @@ -32,7 +32,9 @@ |
21 | #include <errno.h> |
22 | #include <stdio.h> |
23 | #include <stdarg.h> |
24 | +#ifndef __FreeBSD__ |
25 | #include <byteswap.h> |
26 | +#endif |
27 | #include <usb.h> |
28 | |
29 | #include "names.h" |