mplayer-1.0rc1-ppc-configure.patch 643 B

123456789101112131415161718192021222324252627
  1. mplayer: configure: handle target=powerpc-linux as well as ppc-linux
  2. ---
  3. configure | 4 ++--
  4. 1 file changed, 2 insertions(+), 2 deletions(-)
  5. Index: MPlayer-1.0rc1/configure
  6. ===================================================================
  7. --- MPlayer-1.0rc1.orig/configure
  8. +++ MPlayer-1.0rc1/configure
  9. @@ -133,7 +133,7 @@
  10. ppc() {
  11. case "$host_arch" in
  12. - ppc) return 0;;
  13. + ppc|powerpc) return 0;;
  14. *) return 1;;
  15. esac
  16. }
  17. @@ -1213,7 +1213,7 @@
  18. _optimizing=''
  19. ;;
  20. - ppc)
  21. + ppc|powerpc)
  22. _def_arch='#define ARCH_POWERPC 1'
  23. _def_dcbzl='#define NO_DCBZL 1'
  24. _target_arch='TARGET_ARCH_POWERPC = yes'