Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37855513
en ru br
Репозитории ALT
S:1.5-alt1.38416.2
D:1.0-alt35.27330.1
5.1: 1.0-alt35.32624.0.M50P.1
4.1: 1.0-alt35.26470.1
4.0: 1.0-alt35.23722.M40.1
www.altlinux.org/Changes

Группа :: Видео
Пакет: mplayer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0019-ppc-disable-vsx-on-little-endian-systems.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin