Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134833 Details for
Bug 197678
usbutils-0.73 does not compile on FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/usbutils-0.73-freebsd.patch
usbutils-0.73-freebsd.patch (text/plain), 503 bytes, created by
Joe Peterson (RETIRED)
on 2007-10-31 20:02:01 UTC
(
hide
)
Description:
files/usbutils-0.73-freebsd.patch
Filename:
MIME Type:
Creator:
Joe Peterson (RETIRED)
Created:
2007-10-31 20:02:01 UTC
Size:
503 bytes
patch
obsolete
>--- usbutils-0.73/lsusb.c.old 2007-10-23 15:04:32 -0600 >+++ usbutils-0.73/lsusb.c 2007-10-31 13:50:37 -0600 >@@ -35,8 +35,17 @@ > #include <errno.h> > #include <stdio.h> > #include <stdarg.h> >+#ifdef __FreeBSD__ >+#include <machine/endian.h> >+#if _BYTE_ORDER == _LITTLE_ENDIAN >+#define le16_to_cpu(x) (x) >+#else >+#define le16_to_cpu __bswap16 >+#endif >+#else > #include <asm/byteorder.h> > #define le16_to_cpu __le16_to_cpu >+#endif > #include <usb.h> > > /* NOTE: that should be <libusb.h> and it should include
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197678
:
134833
|
134834
|
134912
|
134913
|
135897
|
135899
|
135900