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