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.

23 lines
760 B

  1. Fix for mpeglib on AMD64 from http://bugs.kde.org/show_bug.cgi?id=97179
  2. diff -uNr kdemultimedia-3.4.0-orig/mpeglib/lib/input/cdromAccess.cpp kdemultimedia-3.4.0/mpeglib/lib/input/cdromAccess.cpp
  3. --- kdemultimedia-3.4.0-orig/mpeglib/lib/input/cdromAccess.cpp 2005-01-03 15:53:36.000000000 +0100
  4. +++ kdemultimedia-3.4.0/mpeglib/lib/input/cdromAccess.cpp 2005-04-06 16:18:24.721199472 +0200
  5. @@ -27,6 +27,9 @@
  6. #include <sys/types.h>
  7. #ifndef __u64
  8. #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
  9. + #ifdef __x86_64__
  10. + typedef unsigned long long __u64;
  11. + #else
  12. #include <bits/wordsize.h>
  13. #if __WORDSIZE == 64
  14. typedef unsigned long __u64;
  15. @@ -35,6 +38,7 @@
  16. #endif
  17. #endif
  18. #endif
  19. + #endif
  20. #include "cdromAccess_Linux.cpp"
  21. #endif