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.

33 lines
1.4 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.17.patch
  5. # Copyright (C) 2006 The T2 SDE 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. diff -Nur lirc-0.8.0-orig/drivers/lirc_gpio/lirc_gpio.c lirc-0.8.0/drivers/lirc_gpio/lirc_gpio.c
  17. --- lirc-0.8.0-orig/drivers/lirc_gpio/lirc_gpio.c 2006-01-01 13:43:46.000000000 +0000
  18. +++ lirc-0.8.0/drivers/lirc_gpio/lirc_gpio.c 2006-07-01 17:06:44.000000000 +0000
  19. @@ -48,9 +48,12 @@
  20. #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
  21. #include "../drivers/char/bttv.h"
  22. #include "../drivers/char/bttvp.h"
  23. -#else
  24. +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)
  25. #include "../drivers/media/video/bttv.h"
  26. #include "../drivers/media/video/bttvp.h"
  27. +#else
  28. +#include "../drivers/media/video/bt8xx/bttv.h"
  29. +#include "../drivers/media/video/bt8xx/bttvp.h"
  30. #endif
  31. #if BTTV_VERSION_CODE < KERNEL_VERSION(0,7,45)