diff options
author | 2021-05-02 16:56:34 -0700 | |
---|---|---|
committer | 2021-05-03 17:36:08 +0200 | |
commit | fdc6097881bc8f0b7c25de404005c1bfede4d484 (patch) | |
tree | 85f192c6a6fc028f0d9d2fad3664ce826030b04a /media-libs/speexdsp/files | |
parent | net-libs/usrsctp: add ~ppc64 keyword (diff) | |
download | gentoo-fdc6097881bc8f0b7c25de404005c1bfede4d484.tar.gz gentoo-fdc6097881bc8f0b7c25de404005c1bfede4d484.tar.bz2 gentoo-fdc6097881bc8f0b7c25de404005c1bfede4d484.zip |
media-libs/speexdsp: 1.2.0 version bump
Thanks-to: orbea <orbea@riseup.net>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/speexdsp/files')
-rw-r--r-- | media-libs/speexdsp/files/speexdsp-1.2.0-configure.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/speexdsp/files/speexdsp-1.2.0-configure.patch b/media-libs/speexdsp/files/speexdsp-1.2.0-configure.patch new file mode 100644 index 000000000000..1983e4bff3b2 --- /dev/null +++ b/media-libs/speexdsp/files/speexdsp-1.2.0-configure.patch @@ -0,0 +1,41 @@ +--- speexdsp-1.2.0/configure.ac ++++ speexdsp-1.2.0/configure.ac +@@ -152,9 +152,17 @@ + if test "x$enableval" != xno; then + has_sse=yes + has_sse2=yes +-CFLAGS="$CFLAGS -O3 -msse -msse2" ++CFLAGS="$CFLAGS -msse" + else + has_sse=no ++fi ++]) ++ ++AC_ARG_ENABLE(sse2, [ --enable-sse2 Enable SSE2 support], [ ++if test "x$enableval" != xno; then ++has_sse2=yes ++CFLAGS="$CFLAGS -msse2" ++else + has_sse2=no + fi + ]) +@@ -163,7 +171,7 @@ + if test "x$enableval" != xno; then + has_neon=yes + AS_CASE(["$host"], +- [arm*], [CFLAGS="$CFLAGS -O3 -march=armv7-a -mfpu=neon"] ++ [arm*], [CFLAGS="$CFLAGS -mfpu=neon"] + ) + else + has_neon=no +--- speexdsp-1.2.0/libspeexdsp/Makefile.am ++++ speexdsp-1.2.0/libspeexdsp/Makefile.am +@@ -29,7 +29,7 @@ + pseudofloat.h smallft.h vorbis_psy.h resample_sse.h resample_neon.h + + libspeexdsp_la_LDFLAGS = -no-undefined -version-info @SPEEXDSP_LT_CURRENT@:@SPEEXDSP_LT_REVISION@:@SPEEXDSP_LT_AGE@ +-libspeexdsp_la_LIBADD = $(LIBM) ++libspeexdsp_la_LIBADD = $(LIBM) $(FFT_LIBS) + + if BUILD_EXAMPLES + noinst_PROGRAMS = testdenoise testecho testjitter testresample testresample2 |