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.

64 lines
1.8 KiB

  1. diff -dur MPlayer-1.0pre5/libmpdemux/cddb.c MPlayer-1.0pre5-p/libmpdemux/cddb.c
  2. --- MPlayer-1.0pre5/libmpdemux/cddb.c 2004-04-26 11:33:35.000000000 +0200
  3. +++ MPlayer-1.0pre5-p/libmpdemux/cddb.c 2004-11-06 05:57:35.118682456 +0100
  4. @@ -11,6 +11,17 @@
  5. * Code release under GPL
  6. *
  7. */
  8. +#ifdef __CHECKER__
  9. +#define __bitwise __attribute__((bitwise))
  10. +#else
  11. +#define __bitwise
  12. +#endif
  13. +#define __le16 __bitwise __u16
  14. +#define __be16 __bitwise __u16
  15. +#define __le32 __bitwise __u32
  16. +#define __be32 __bitwise __u32
  17. +#define __le64 __bitwise __u64
  18. +#define __be64 __bitwise __u64
  19. #include "config.h"
  20. diff -dur MPlayer-1.0pre5/libmpdemux/stream_vcd.c MPlayer-1.0pre5-p/libmpdemux/stream_vcd.c
  21. --- MPlayer-1.0pre5/libmpdemux/stream_vcd.c 2004-07-12 00:23:57.000000000 +0200
  22. +++ MPlayer-1.0pre5-p/libmpdemux/stream_vcd.c 2004-11-06 05:55:26.123292736 +0100
  23. @@ -1,4 +1,16 @@
  24. +#ifdef __CHECKER__
  25. +#define __bitwise __attribute__((bitwise))
  26. +#else
  27. +#define __bitwise
  28. +#endif
  29. +#define __le16 __bitwise __u16
  30. +#define __be16 __bitwise __u16
  31. +#define __le32 __bitwise __u32
  32. +#define __be32 __bitwise __u32
  33. +#define __le64 __bitwise __u64
  34. +#define __be64 __bitwise __u64
  35. +
  36. #include "config.h"
  37. #ifdef HAVE_VCD
  38. --- MPlayer-1.0pre5/osdep/kerneltwosix.h 2004-01-10 10:48:15.000000000 +0100
  39. +++ MPlayer-1.0pre5-p/osdep/kerneltwosix.h 2004-11-06 06:57:15.776339752 +0100
  40. @@ -1,5 +1,20 @@
  41. #include <linux/version.h>
  42. #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
  43. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,9)
  44. +
  45. +#ifdef __CHECKER__
  46. +#define __bitwise __attribute__((bitwise))
  47. +#else
  48. +#define __bitwise
  49. +#endif
  50. +#define __le16 __bitwise __u16
  51. +#define __be16 __bitwise __u16
  52. +#define __le32 __bitwise __u32
  53. +#define __be32 __bitwise __u32
  54. +#define __le64 __bitwise __u64
  55. +#define __be64 __bitwise __u64
  56. +
  57. +#endif
  58. #define __KERNEL__
  59. #include <linux/thread_info.h>
  60. #include <linux/list.h>