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.

40 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../mplayer/ppc64.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. Allow compilation for PPC target when using a toolchain defined as ppc64 or
  18. powerpc64.
  19. --- MPlayer-1.0rc2/configure.orig 2007-10-07 22:49:33.000000000 +0300
  20. +++ MPlayer-1.0rc2/configure 2008-01-06 20:22:36.000000000 +0200
  21. @@ -139,7 +139,7 @@
  22. ppc() {
  23. case "$host_arch" in
  24. - ppc|powerpc) return 0;;
  25. + ppc|powerpc|ppc64|powerpc64) return 0;;
  26. *) return 1;;
  27. esac
  28. }
  29. @@ -2014,7 +2014,7 @@
  30. _optimizing=''
  31. ;;
  32. - ppc|powerpc)
  33. + ppc|powerpc|ppc64|powerpc64)
  34. _arch='POWERPC PPC'
  35. _def_dcbzl='#define NO_DCBZL 1'
  36. _target_arch='ARCH_POWERPC = yes'