Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37741545
en ru br
ALT Linux repos
S:1.5-alt1.38416.2
D:1.0-alt35.27330.1
5.0: 1.0-alt35.27654.3
4.1: 1.0-alt35.26470.1
4.0: 1.0-alt35.23722.M40.1

Group :: Video
RPM: mplayer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0019-ppc-disable-vsx-on-little-endian-systems.patch
Download


From 47b498ec6abf41814f1b7e3fde3d4c204e588b7c Mon Sep 17 00:00:00 2001
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date: Thu, 11 Apr 2019 22:31:57 +0300
Subject: [PATCH] ppc: disable vsx on little-endian systems
altivec and vsx support is broken in this ffmpeg on little-endian
systems.
---
 MPlayer/configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/MPlayer/configure b/MPlayer/configure
index 5b64cd3611..30357d0489 100755
--- a/MPlayer/configure
+++ b/MPlayer/configure
@@ -2711,16 +2711,16 @@ case "$host_arch" in
         fi
         # gcc 4.5 and up supports POWER7
         if test "$_cc_major" -ge "4" && test "$_cc_minor" -ge "5" || test "$_cc_major" -ge "5"; then
-            case "$proc" in
-                POWER7*) _march='-mcpu=power7' _mcpu='-mtune=power7'
+            case "$proc$_big_endian" in
+                POWER7*yes) _march='-mcpu=power7' _mcpu='-mtune=power7'
                       def_vsx='#define HAVE_VSX 1' ;;
                 *) ;;
             esac
         fi
         # gcc 4.9 and up supports POWER8
         if test "$_cc_major" -ge "4" && test "$_cc_minor" -ge "9" || test "$_cc_major" -ge "5"; then
-            case "$proc" in
-                POWER8*) _march='-mcpu=power8' _mcpu='-mtune=power8'
+            case "$proc$_big_endian" in
+                POWER8*yes) _march='-mcpu=power8' _mcpu='-mtune=power8'
                       def_vsx='#define HAVE_VSX 1' ;;
                 *) ;;
             esac
-- 
2.33.7
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin