aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2016-01-29 22:16:08 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2016-01-29 22:16:08 +0000
commit67bd1fee856c5659f3c777a2b75694eb22319bec (patch)
tree2083510606459a05f029f5ef4746dfec431d627d
parentb4ae92eed51a6bde3662899cf1bd2210300ff626 (diff)
downloadports-67bd1fee856c5659f3c777a2b75694eb22319bec.tar.gz
ports-67bd1fee856c5659f3c777a2b75694eb22319bec.zip
Notes
-rw-r--r--audio/lame/Makefile2
-rw-r--r--audio/lame/files/patch-configure65
2 files changed, 66 insertions, 1 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile
index ecee207d1d1a..b03f4a60b961 100644
--- a/audio/lame/Makefile
+++ b/audio/lame/Makefile
@@ -3,7 +3,7 @@
PORTNAME= lame
PORTVERSION= 3.99.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.99
diff --git a/audio/lame/files/patch-configure b/audio/lame/files/patch-configure
new file mode 100644
index 000000000000..eeb10adabc92
--- /dev/null
+++ b/audio/lame/files/patch-configure
@@ -0,0 +1,65 @@
+--- configure.in.orig 2012-02-28 19:50:27.000000000 +0100
++++ configure.in 2016-01-25 20:15:46.034842000 +0100
+@@ -96,9 +96,19 @@
+ sys/soundcard.h \
+ sys/time.h \
+ unistd.h \
+- xmmintrin.h \
+ linux/soundcard.h)
+
++dnl Checks for actually working SSE intrinsics
++AC_MSG_CHECKING(working SSE intrinsics)
++AC_COMPILE_IFELSE(
++ [AC_LANG_PROGRAM(
++ [[#include <xmmintrin.h>]],
++ [[_mm_sfence();]])],
++ [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
++ ac_cv_header_xmmintrin_h=yes],
++ [ac_cv_header_xmmintrin_h=no])
++AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
++
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+ AC_C_INLINE
+--- configure.orig 2012-02-28 19:54:37.000000000 +0100
++++ configure 2016-01-25 20:16:07.429512000 +0100
+@@ -11922,7 +11918,6 @@
+ sys/soundcard.h \
+ sys/time.h \
+ unistd.h \
+- xmmintrin.h \
+ linux/soundcard.h
+ do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+@@ -11937,6 +11932,31 @@
+ done
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking working SSE intrinsics" >&5
++$as_echo_n "checking working SSE intrinsics... " >&6; }
++cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <xmmintrin.h>
++int
++main ()
++{
++_mm_sfence();
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++
++$as_echo "#define HAVE_XMMINTRIN_H 1" >>confdefs.h
++
++ ac_cv_header_xmmintrin_h=yes
++else
++ ac_cv_header_xmmintrin_h=no
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_header_xmmintrin_h}" >&5
++$as_echo "${ac_cv_header_xmmintrin_h}" >&6; }
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
+ $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+ if ${ac_cv_c_const+:} false; then :