[csw-devel] SF.net SVN: gar:[17889] csw/mgar/pkg/lame/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Apr 27 13:04:39 CEST 2012


Revision: 17889
          http://gar.svn.sourceforge.net/gar/?rev=17889&view=rev
Author:   dmichelsen
Date:     2012-04-27 11:04:39 +0000 (Fri, 27 Apr 2012)
Log Message:
-----------
lame/trunk: Update to 3.99.5

Modified Paths:
--------------
    csw/mgar/pkg/lame/trunk/Makefile
    csw/mgar/pkg/lame/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/lame/trunk/files/0001-Use-intrinsics-only-when-usable.patch

Modified: csw/mgar/pkg/lame/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lame/trunk/Makefile	2012-04-27 08:58:11 UTC (rev 17888)
+++ csw/mgar/pkg/lame/trunk/Makefile	2012-04-27 11:04:39 UTC (rev 17889)
@@ -1,5 +1,5 @@
 NAME = lame
-VERSION = 3.99.1
+VERSION = 3.99.5
 CATEGORIES = apps
 GARTYPE = v2
 

Modified: csw/mgar/pkg/lame/trunk/checksums
===================================================================
--- csw/mgar/pkg/lame/trunk/checksums	2012-04-27 08:58:11 UTC (rev 17888)
+++ csw/mgar/pkg/lame/trunk/checksums	2012-04-27 11:04:39 UTC (rev 17889)
@@ -1 +1 @@
-2576a7368b5c90a87adc9de6b9f0628c  lame-3.99.1.tar.gz
+84835b313d4a8b68f5349816d33e07ce  lame-3.99.5.tar.gz

Added: csw/mgar/pkg/lame/trunk/files/0001-Use-intrinsics-only-when-usable.patch
===================================================================
--- csw/mgar/pkg/lame/trunk/files/0001-Use-intrinsics-only-when-usable.patch	                        (rev 0)
+++ csw/mgar/pkg/lame/trunk/files/0001-Use-intrinsics-only-when-usable.patch	2012-04-27 11:04:39 UTC (rev 17889)
@@ -0,0 +1,50 @@
+From 618d62f4c4c859a5b9683f7a78cd85fa2e2cc80b Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <da\xC2m at opencsw.org>
+Date: Fri, 27 Apr 2012 11:23:11 +0200
+Subject: [PATCH] Use intrinsics only when usable
+
+---
+ configure.in |   11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index 2f8fa66..dd5b03f 100644
+--- a/configure.in
++++ b/configure.in
+@@ -96,9 +96,14 @@ AC_CHECK_HEADERS( \
+ 		 sys/soundcard.h \
+ 		 sys/time.h \
+ 		 unistd.h \
+-		 xmmintrin.h \
+ 		 linux/soundcard.h)
+ 
++dnl Checks if xmmintrin.h is there and actually usable
++dnl It may not be usable if the requested architecture is too old for intrinsics, but the os contains the headers
++AC_MSG_CHECKING(whether xmmintrin.h is usable)
++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <xmmintrin.h>]],[[float f=1.0f;volatile __m128 vec_fabs_mask = _mm_loadu_ps(&f);]])],[XMMINTRIN_H=yes],[XMMINTRIN_H=no])
++AC_MSG_RESULT(${XMMINTRIN_H})
++
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+ AC_C_INLINE
+@@ -635,7 +640,7 @@ WITH_VECTOR=no
+ case $host_cpu in
+ x86_64|amd64)
+ 	CPUTYPE="no"
+-	if test $ac_cv_header_xmmintrin_h = yes ; then
++	if test $XMMINTRIN_H = yes ; then
+ 		WITH_XMM=yes
+ 		WITH_VECTOR=yes
+ 	fi
+@@ -646,7 +651,7 @@ h precission)
+ 	;;
+ *86)
+ 	CPUTYPE="i386"
+-	if test $ac_cv_header_xmmintrin_h = yes ; then
++	if test $XMMINTRIN_H = yes ; then
+ 		WITH_XMM=yes
+ 		WITH_VECTOR=yes
+ 	fi
+-- 
+1.7.10
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list