diff options
Diffstat (limited to 'media-sound/lame')
-rw-r--r-- | media-sound/lame/files/lame-3.99.5-msse.patch | 18 | ||||
-rw-r--r-- | media-sound/lame/lame-3.99.5-r1.ebuild | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/media-sound/lame/files/lame-3.99.5-msse.patch b/media-sound/lame/files/lame-3.99.5-msse.patch new file mode 100644 index 000000000000..56608f665460 --- /dev/null +++ b/media-sound/lame/files/lame-3.99.5-msse.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/542192 + +Description: Build xmm_quantize_sub.c with -msse +Author: Sebastian Ramacher <sramacher@debian.org> +Bug: http://sourceforge.net/p/lame/bugs/443/ +Bug-Debian: https://bugs.debian.org/760047 +Last-Update: 2014-08-31 + +--- lame-3.99.5+repack1.orig/libmp3lame/vector/Makefile.am ++++ lame-3.99.5+repack1/libmp3lame/vector/Makefile.am +@@ -20,6 +20,7 @@ xmm_sources = xmm_quantize_sub.c + + if WITH_XMM + liblamevectorroutines_la_SOURCES = $(xmm_sources) ++liblamevectorroutines_la_CFLAGS = -msse + endif + + noinst_HEADERS = lame_intrin.h diff --git a/media-sound/lame/lame-3.99.5-r1.ebuild b/media-sound/lame/lame-3.99.5-r1.ebuild index e14c0304c585..490e597ae57a 100644 --- a/media-sound/lame/lame-3.99.5-r1.ebuild +++ b/media-sound/lame/lame-3.99.5-r1.ebuild @@ -31,6 +31,7 @@ src_prepare() { "${FILESDIR}"/${PN}-3.96-ccc.patch \ "${FILESDIR}"/${PN}-3.98-gtk-path.patch \ "${FILESDIR}"/${PN}-3.99.5-tinfo.patch \ + "${FILESDIR}"/${PN}-3.99.5-msse.patch \ "${WORKDIR}"/${P}-automake-2.12.patch mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm |