diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-09-24 19:11:41 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-09-24 19:11:41 +0000 |
commit | 08ae3dd7a8aee2c1f5914792ba9c6054d3283cc3 (patch) | |
tree | ba819d5757530bb15145168604561ebf94fa9841 /app-misc/nomadii-utils/files | |
parent | Patched so that it builds successfully. (diff) | |
download | historical-08ae3dd7a8aee2c1f5914792ba9c6054d3283cc3.tar.gz historical-08ae3dd7a8aee2c1f5914792ba9c6054d3283cc3.tar.bz2 historical-08ae3dd7a8aee2c1f5914792ba9c6054d3283cc3.zip |
hacked usbdevfs_ctrltransfer struct to fix compilation issue, bug 107065
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'app-misc/nomadii-utils/files')
-rw-r--r-- | app-misc/nomadii-utils/files/digest-nomadii-utils-0.8-r1 | 1 | ||||
-rw-r--r-- | app-misc/nomadii-utils/files/nomadii-utils-0.8-struct.diff | 33 |
2 files changed, 34 insertions, 0 deletions
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 <linux/usb.h> + #include <linux/usbdevice_fs.h> + ++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 |