Gentoo Archives: gentoo-commits

From: Ryan Hill <rhill@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lame/files/, media-sound/lame/
Date: Fri, 02 Oct 2015 02:01:16
Message-Id: 1443751465.368ffea03a647d0bdd09c587bff69abe694a90ba.rhill@gentoo
1 commit: 368ffea03a647d0bdd09c587bff69abe694a90ba
2 Author: Ryan Hill <rhill <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 02:04:25 2015 +0000
4 Commit: Ryan Hill <rhill <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 02:04:25 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368ffea0
7
8 media-sound/lame: Build files requiring SSE with SSE.
9
10 Gentoo-Bug: https://bugs.gentoo.org/542192
11
12 Package-Manager: portage-2.2.22
13 Signed-off-by: Ryan Hill <rhill <AT> gentoo.org>
14
15 media-sound/lame/files/lame-3.99.5-msse.patch | 18 ++++++++++++++++++
16 media-sound/lame/lame-3.99.5-r1.ebuild | 1 +
17 2 files changed, 19 insertions(+)
18
19 diff --git a/media-sound/lame/files/lame-3.99.5-msse.patch b/media-sound/lame/files/lame-3.99.5-msse.patch
20 new file mode 100644
21 index 0000000..56608f6
22 --- /dev/null
23 +++ b/media-sound/lame/files/lame-3.99.5-msse.patch
24 @@ -0,0 +1,18 @@
25 +https://bugs.gentoo.org/542192
26 +
27 +Description: Build xmm_quantize_sub.c with -msse
28 +Author: Sebastian Ramacher <sramacher@××××××.org>
29 +Bug: http://sourceforge.net/p/lame/bugs/443/
30 +Bug-Debian: https://bugs.debian.org/760047
31 +Last-Update: 2014-08-31
32 +
33 +--- lame-3.99.5+repack1.orig/libmp3lame/vector/Makefile.am
34 ++++ lame-3.99.5+repack1/libmp3lame/vector/Makefile.am
35 +@@ -20,6 +20,7 @@ xmm_sources = xmm_quantize_sub.c
36 +
37 + if WITH_XMM
38 + liblamevectorroutines_la_SOURCES = $(xmm_sources)
39 ++liblamevectorroutines_la_CFLAGS = -msse
40 + endif
41 +
42 + noinst_HEADERS = lame_intrin.h
43
44 diff --git a/media-sound/lame/lame-3.99.5-r1.ebuild b/media-sound/lame/lame-3.99.5-r1.ebuild
45 index e14c030..490e597 100644
46 --- a/media-sound/lame/lame-3.99.5-r1.ebuild
47 +++ b/media-sound/lame/lame-3.99.5-r1.ebuild
48 @@ -31,6 +31,7 @@ src_prepare() {
49 "${FILESDIR}"/${PN}-3.96-ccc.patch \
50 "${FILESDIR}"/${PN}-3.98-gtk-path.patch \
51 "${FILESDIR}"/${PN}-3.99.5-tinfo.patch \
52 + "${FILESDIR}"/${PN}-3.99.5-msse.patch \
53 "${WORKDIR}"/${P}-automake-2.12.patch
54
55 mkdir libmp3lame/i386/.libs || die #workaround parallel build with nasm