libxvidcore/xvidcore-1.1.3-configure_fix_nasm.patch

16 lines
863 B
Diff

diff -Nru xvidcore-1.1.3.orig/build/generic/configure xvidcore-1.1.3/build/generic/configure
--- xvidcore-1.1.3.orig/build/generic/configure 2007-06-28 17:27:27.000000000 +0200
+++ xvidcore-1.1.3/build/generic/configure 2008-05-22 12:50:32.000000000 +0200
@@ -4016,9 +4016,9 @@
if test "$ac_nasm" = "yes" ; then
echo "$as_me:$LINENO: checking for nasm patch version" >&5
echo $ECHO_N "checking for nasm patch version... $ECHO_C" >&6
- nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
+ nasm_patch=`($nasm_prog -r || $nasm_prog -v) | cut -d '.' -f 3 | cut -d ' ' -f 1`
if test -z $nasm_patch ; then
- nasm_patch=-1
+ nasm_patch=45
fi
echo "$as_me:$LINENO: result: $nasm_patch" >&5
echo "${ECHO_T}$nasm_patch" >&6