OpenSDE Packages Database (without history before r20070)
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.

50 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../lirc/linux-2.6.18.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- lirc-0.8.0/drivers/lirc_dev/lirc_dev.c.orig 2006-10-06 16:45:05.000000000 -0400
  17. +++ lirc-0.8.0/drivers/lirc_dev/lirc_dev.c 2006-10-06 16:54:18.000000000 -0400
  18. @@ -51,7 +51,11 @@
  19. #include <linux/unistd.h>
  20. /* DevFS header */
  21. #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
  22. +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
  23. #include <linux/devfs_fs_kernel.h>
  24. +#else
  25. +#undef LIRC_HAVE_DEVFS_24
  26. +#endif
  27. #endif
  28. /* SysFS header */
  29. #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
  30. --- ./drivers/lirc_imon/lirc_imon.c.orig 2006-10-06 16:55:24.000000000 -0400
  31. +++ ./drivers/lirc_imon/lirc_imon.c 2006-10-06 16:55:53.000000000 -0400
  32. @@ -58,7 +58,6 @@
  33. #include <linux/slab.h>
  34. #include <asm/uaccess.h>
  35. #include <linux/usb.h>
  36. -#include <linux/devfs_fs_kernel.h>
  37. #include "drivers/lirc.h"
  38. #include "drivers/kcompat.h"
  39. --- ./drivers/lirc_sasem/lirc_sasem.c.orig 2006-10-06 17:05:53.000000000 -0400
  40. +++ ./drivers/lirc_sasem/lirc_sasem.c 2006-10-06 17:06:14.000000000 -0400
  41. @@ -67,7 +67,6 @@
  42. #include <linux/slab.h>
  43. #include <asm/uaccess.h>
  44. #include <linux/usb.h>
  45. -#include <linux/devfs_fs_kernel.h>
  46. #include "drivers/lirc.h"
  47. #include "drivers/kcompat.h"