Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 490648 Details for
Bug 617322
media-libs/speex-1.2.0-r1: "#error I suppose you can have a [ARM4/ARM5E/Blackfin] that has float instructions?" when cross-compiling for arm
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to use CPU_FLAGS_ARM and fix logic on armv6+
0001-media-libs-speex-Use-CPU_FLAGS_ARM-and-fix-logic-on-.patch (text/plain), 2.47 KB, created by
James Le Cuirot
on 2017-08-26 10:19:35 UTC
(
hide
)
Description:
Patch to use CPU_FLAGS_ARM and fix logic on armv6+
Filename:
MIME Type:
Creator:
James Le Cuirot
Created:
2017-08-26 10:19:35 UTC
Size:
2.47 KB
patch
obsolete
>From 65128bc8bbe473b0751ffd078990c4803b9e5f3a Mon Sep 17 00:00:00 2001 >From: James Le Cuirot <chewi@gentoo.org> >Date: Sat, 26 Aug 2017 11:14:52 +0100 >Subject: [PATCH] media-libs/speex: Use CPU_FLAGS_ARM and fix logic on armv6+ > (#617322) > >Package-Manager: Portage-2.3.8, Repoman-2.3.2 >--- > media-libs/speex/metadata.xml | 1 - > media-libs/speex/speex-1.2.0-r1.ebuild | 19 +++++++++++++++---- > 2 files changed, 15 insertions(+), 5 deletions(-) > >diff --git a/media-libs/speex/metadata.xml b/media-libs/speex/metadata.xml >index 7617efb01619..deddfd6ac1ae 100644 >--- a/media-libs/speex/metadata.xml >+++ b/media-libs/speex/metadata.xml >@@ -9,7 +9,6 @@ > <remote-id type="cpe">cpe:/a:xiph:speex</remote-id> > </upstream> > <use> >- <flag name="armv5te">Enables optimizations for armv5te processors.</flag> > <flag name="utils">Enables speex commandline utilities (speexenc, speexdec).</flag> > <flag name="vbr">Enable VBR support.</flag> > </use> >diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild b/media-libs/speex/speex-1.2.0-r1.ebuild >index 138ae9c759b9..bf424f56d190 100644 >--- a/media-libs/speex/speex-1.2.0-r1.ebuild >+++ b/media-libs/speex/speex-1.2.0-r1.ebuild >@@ -14,7 +14,7 @@ SRC_URI="http://downloads.xiph.org/releases/speex/${MY_P}.tar.gz" > LICENSE="BSD" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" >-IUSE="armv5te cpu_flags_x86_sse static-libs utils +vbr" >+IUSE="cpu_flags_arm_v4 cpu_flags_arm_v5 cpu_flags_arm_v6 cpu_flags_x86_sse static-libs utils +vbr" > > RDEPEND=" > utils? ( >@@ -41,16 +41,27 @@ src_prepare() { > multilib_src_configure() { > append-lfs-flags > >+ local \ >+ ARM4_ARG=--disable-arm4-asm \ >+ ARM5_ARG=--disable-arm5e-asm >+ >+ if use arm && ! use cpu_flags_arm_v6; then >+ if use cpu_flags_arm_v5; then >+ ARM5_ARG=--enable-arm5e-asm >+ elif use cpu_flags_arm_v4; then >+ ARM4_ARG=--enable-arm4-asm >+ fi >+ fi >+ > # Can also be configured without floating point > # --enable-fixed-point > ECONF_SOURCE="${S}" econf \ > $(use_enable static-libs static) \ >- $(usex arm $(usex armv5te '--disable-arm4-asm' '--enable-arm4-asm') '--disable-arm4-asm') \ >- $(use_enable armv5te arm5e-asm) \ > $(use_enable cpu_flags_x86_sse sse) \ > $(use_enable vbr) \ > $(use_with utils speexdsp) \ >- $(use_enable utils binaries) >+ $(use_enable utils binaries) \ >+ ${ARM4_ARG} ${ARM5_ARG} > } > > multilib_src_install_all() { >-- >2.13.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 617322
:
471558
|
476720
| 490648 |
524760