diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-20 09:12:06 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-01-20 09:12:06 +0000 |
commit | 999026df2b4f5decd695f6365f4ac5f80abf340d (patch) | |
tree | 74a0e92df4b1b94eaa8c12b9e5acde17f85f6b0a | |
parent | 49c682dcabca240356396f0c968c56c3d90c15d7 (diff) | |
download | buildroot-novena-999026df2b4f5decd695f6365f4ac5f80abf340d.tar.gz buildroot-novena-999026df2b4f5decd695f6365f4ac5f80abf340d.zip |
mplayer: fix configure for powerpc-linux
-rw-r--r-- | package/multimedia/mplayer/mplayer-1.0rc1-ppc-configure.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer-1.0rc1-ppc-configure.patch b/package/multimedia/mplayer/mplayer-1.0rc1-ppc-configure.patch new file mode 100644 index 000000000..053655dc4 --- /dev/null +++ b/package/multimedia/mplayer/mplayer-1.0rc1-ppc-configure.patch @@ -0,0 +1,27 @@ +mplayer: configure: handle target=powerpc-linux as well as ppc-linux +--- + configure | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: MPlayer-1.0rc1/configure +=================================================================== +--- MPlayer-1.0rc1.orig/configure ++++ MPlayer-1.0rc1/configure +@@ -133,7 +133,7 @@ + + ppc() { + case "$host_arch" in +- ppc) return 0;; ++ ppc|powerpc) return 0;; + *) return 1;; + esac + } +@@ -1213,7 +1213,7 @@ + _optimizing='' + ;; + +- ppc) ++ ppc|powerpc) + _def_arch='#define ARCH_POWERPC 1' + _def_dcbzl='#define NO_DCBZL 1' + _target_arch='TARGET_ARCH_POWERPC = yes' |