mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/usbutils/linux-mod_devicetable_h.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -dur usbutils-0.11/libusb/access.c usbutils-0.11-p/libusb/access.c
  20. --- usbutils-0.11/libusb/access.c 1999-12-22 15:14:16.000000000 +0000
  21. +++ usbutils-0.11-p/libusb/access.c 2004-10-27 18:08:16.175682408 +0000
  22. @@ -31,6 +31,8 @@
  23. #include "libusb.h"
  24. #ifdef HAVE_LINUX_USB_H
  25. +#include <linux/types.h>
  26. +typedef unsigned long kernel_ulong_t;
  27. #include <linux/usb.h>
  28. #else
  29. #include "usb.h"
  30. diff -dur usbutils-0.11/libusb/descparse.c usbutils-0.11-p/libusb/descparse.c
  31. --- usbutils-0.11/libusb/descparse.c 1999-12-22 15:14:16.000000000 +0000
  32. +++ usbutils-0.11-p/libusb/descparse.c 2004-10-27 18:08:54.696826304 +0000
  33. @@ -31,6 +31,8 @@
  34. #include "libusb.h"
  35. #ifdef HAVE_LINUX_USB_H
  36. +#include <linux/types.h>
  37. +typedef unsigned long kernel_ulong_t;
  38. #include <linux/usb.h>
  39. #else
  40. #include "usb.h"