From 08ae3dd7a8aee2c1f5914792ba9c6054d3283cc3 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Sat, 24 Sep 2005 19:11:41 +0000 Subject: hacked usbdevfs_ctrltransfer struct to fix compilation issue, bug 107065 Package-Manager: portage-2.0.52-r1 --- .../files/digest-nomadii-utils-0.8-r1 | 1 + .../files/nomadii-utils-0.8-struct.diff | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 app-misc/nomadii-utils/files/digest-nomadii-utils-0.8-r1 create mode 100644 app-misc/nomadii-utils/files/nomadii-utils-0.8-struct.diff (limited to 'app-misc/nomadii-utils/files') diff --git a/app-misc/nomadii-utils/files/digest-nomadii-utils-0.8-r1 b/app-misc/nomadii-utils/files/digest-nomadii-utils-0.8-r1 new file mode 100644 index 000000000000..6b7ca960d0b0 --- /dev/null +++ b/app-misc/nomadii-utils/files/digest-nomadii-utils-0.8-r1 @@ -0,0 +1 @@ +MD5 023ed7f92ca168483b0533185c81d21f nomadII-utils-0.8.tgz 87551 diff --git a/app-misc/nomadii-utils/files/nomadii-utils-0.8-struct.diff b/app-misc/nomadii-utils/files/nomadii-utils-0.8-struct.diff new file mode 100644 index 000000000000..bd203b11cc34 --- /dev/null +++ b/app-misc/nomadii-utils/files/nomadii-utils-0.8-struct.diff @@ -0,0 +1,33 @@ +--- nomadII-utils-0.8.orig/libnomadII/low_level.c 2005-09-24 15:42:39.000000000 -0300 ++++ nomadII-utils-0.8/libnomadII/low_level.c 2005-09-24 15:59:15.000000000 -0300 +@@ -31,6 +31,21 @@ + #include + #include + ++struct usbdevfs_ctrltransfer_hack { ++ __u8 bRequestType; ++ __u8 bRequest; ++ __u16 wValue; ++ __u16 wIndex; ++ __u16 wLength; ++ __u32 timeout; /* in milliseconds */ ++ void __user *data; ++ short length; ++ int request; ++ int requesttype; ++ int value; ++ int index; ++}; ++ + typedef struct { + __u8 requesttype; + __u8 request; +@@ -312,7 +327,7 @@ + { + int result; + #ifdef WITH_USBDEVFS +- struct usbdevfs_ctrltransfer msg; ++ struct usbdevfs_ctrltransfer_hack msg; + #else + struct NomadII_cmd msg; + #endif -- cgit v1.2.3-65-gdbad