SOURCES: mpeg2dec-opt.patch - updated for 0.5.0 snapshot

freetz freetz at pld-linux.org
Sun Mar 12 11:46:19 CET 2006


Author: freetz                       Date: Sun Mar 12 10:46:19 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 0.5.0 snapshot

---- Files affected:
SOURCES:
   mpeg2dec-opt.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/mpeg2dec-opt.patch
diff -u SOURCES/mpeg2dec-opt.patch:1.5 SOURCES/mpeg2dec-opt.patch:1.6
--- SOURCES/mpeg2dec-opt.patch:1.5	Sat Jan 10 12:05:55 2004
+++ SOURCES/mpeg2dec-opt.patch	Sun Mar 12 11:46:14 2006
@@ -1,5 +1,6 @@
---- mpeg2dec-0.4.0/configure.in.orig	2003-12-23 10:14:56.000000000 +0100
-+++ mpeg2dec-0.4.0/configure.in	2003-12-25 02:18:23.545482080 +0100
+diff -aurN mpeg2dec-0.5.0.orig/configure.in mpeg2dec-0.5.0/configure.in
+--- mpeg2dec-0.5.0.orig/configure.in	2006-02-14 15:09:03.000000000 +0100
++++ mpeg2dec-0.5.0/configure.in	2006-03-12 11:40:13.180188680 +0100
 @@ -34,13 +34,6 @@
      TRY_CFLAGS="$OPT_CFLAGS -Wall"
      AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"])
@@ -14,7 +15,7 @@
      AC_ARG_ENABLE([debug],
  	[  --enable-debug          debug mode configuration])
      if test x"$enable_debug" = x"yes"; then
-@@ -51,22 +44,11 @@
+@@ -51,25 +44,14 @@
  	AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"])
      fi
  
@@ -24,7 +25,7 @@
 -
      dnl arch-specific flags
      case "$host" in
-     i?86-* | k?-* | x86_64-*)
+     i?86-* | k?-* | x86_64-* | amd64-*)
  	AC_DEFINE([ARCH_X86],,[x86 architecture])
 -	case "$host" in
 -	i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";;
@@ -36,10 +37,14 @@
 -	AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS="$TRY_CFLAGS"]);;
 +	;;
      ppc-* | powerpc-*)
- 	AC_CHECK_HEADER([altivec.h],
- 	    [TRY_CFLAGS="$ARCH_OPT_CFLAGS -maltivec"],
-@@ -76,8 +58,8 @@
- 	    AC_DEFINE([ARCH_PPC],,[ppc architecture])]);;
+ 	have_altivec=no
+-	for TRY_CFLAGS in "-mpim-altivec -force_cpusubtype_ALL" -faltivec -maltivec -fvec; do
++	for TRY_CFLAGS in "-mpim-altivec -force_cpusubtype_ALL" -faltivec -maltivec -mabi=altivec -fvec; do
+ 	    AC_TRY_CFLAGS([$OPT_CFLAGS $TRY_CFLAGS $CFLAGS],
+ 		[save_CFLAGS="$CFLAGS"
+ 		 CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS"
+@@ -93,8 +75,8 @@
+ 	done;;
      sparc-* | sparc64-*)
  	AC_DEFINE([ARCH_SPARC],,[sparc architecture])
 -	TRY_CFLAGS="$OPT_CFLAGS -mcpu=ultrasparc -mvis"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mpeg2dec-opt.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list