summaryrefslogtreecommitdiff
path: root/package/multimedia/mplayer/mplayer-1.0rc1-ppc-configure.patch
blob: 053655dc41075a141740ed143d0b04d23a20d0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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'