Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37810648
en ru br
ALT Linux repos
S:6.26.1-alt3
5.0: 0.2.5-alt4
4.1: 0.2.5-alt0.svn1045
4.0: 0.2.2-alt0.7

Group :: Video
RPM: mlt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-configure-mmx.patch
Download


--- mlt-0.9.2/configure~	2014-10-17 15:40:03.000000000 +0400
+++ mlt-0.9.2/configure	2014-10-17 15:41:38.368000000 +0400
@@ -292,63 +292,6 @@ export moduledir=${libdir}/mlt-${soversi
 export mltdatadir=${datadir}/mlt-${soversion}
 fi
 
-# Double check MMX (Darwin, Linux and FreeBSD supported, may end up disabling MMX on other platforms incorrectly)
-if [ "$mmx" = "true" ]
-then
-	case $targetos in
-		Darwin)
-		sysctl -a hw | grep "mmx: 1" > /dev/null || mmx=false
-		;;
-		Linux)
-		grep mmx /proc/cpuinfo > /dev/null 2>&1 || mmx=false
-		;;
-		FreeBSD)
-		[ "$(make -V MACHINE_CPU:Mmmx -f /dev/null)" ] || mmx=false
-		;;
-		*)
-		grep mmx /proc/cpuinfo > /dev/null 2>&1 || mmx=false
-		;;
-	esac
-fi
-
-# Double check SSE (Darwin, Linux and FreeBSD supported, may end up disabling SSE on other platforms incorrectly)
-if [ "$sse" = "true" ]
-then
-	case $targetos in
-		Darwin)
-		sysctl -a hw | grep "sse: 1" > /dev/null || sse=false
-		;;
-		Linux)
-		grep sse /proc/cpuinfo > /dev/null 2>&1 || sse=false
-		;;
-		FreeBSD)
-		[ "$(make -V MACHINE_CPU:Msse -f /dev/null)" ] || sse=false
-		;;
-		*)
-		grep sse /proc/cpuinfo > /dev/null 2>&1 || sse=false
-		;;
-	esac
-fi
-
-# Double check SSE2 (Darwin, Linux and FreeBSD supported, may end up disabling SSE2 on other platforms incorrectly)
-if [ "$sse2" = "true" ]
-then
-	case $targetos in
-		Darwin)
-		sysctl -a hw | grep "sse2: 1" > /dev/null || sse2=false
-		;;
-		Linux)
-		grep sse2 /proc/cpuinfo > /dev/null 2>&1 || sse2=false
-		;;
-		FreeBSD)
-		[ "$(make -V MACHINE_CPU:Msse2 -f /dev/null)" ] || sse2=false
-		;;
-		*)
-		grep sse2 /proc/cpuinfo > /dev/null 2>&1 || sse2=false
-		;;
-	esac
-fi
-
 # Show help if requested
 if [ $help = 1 ]
 then
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin