From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/wavpack/, media-sound/wavpack/files/
Date: Wed, 15 Feb 2017 18:38:35 +0000 (UTC) [thread overview]
Message-ID: <1487183906.1454d93b9b9d1372c0d72a6f096a983395817b18.aballier@gentoo> (raw)
commit: 1454d93b9b9d1372c0d72a6f096a983395817b18
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 18:36:48 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 18:38:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1454d93b
media-sound/wavpack: Restrict arm asm to armv7, bug #609168.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-sound/wavpack/files/wavpack-5.1.0-armv7.patch | 16 ++++++++++++++++
media-sound/wavpack/wavpack-5.1.0.ebuild | 2 ++
2 files changed, 18 insertions(+)
diff --git a/media-sound/wavpack/files/wavpack-5.1.0-armv7.patch b/media-sound/wavpack/files/wavpack-5.1.0-armv7.patch
new file mode 100644
index 0000000000..80da2bffc0
--- /dev/null
+++ b/media-sound/wavpack/files/wavpack-5.1.0-armv7.patch
@@ -0,0 +1,16 @@
+ARM asm is armv7 only in wavpack. Restrict based on host cpu.
+https://bugs.gentoo.org/show_bug.cgi?id=609168
+
+Index: wavpack-5.1.0/configure.ac
+===================================================================
+--- wavpack-5.1.0.orig/configure.ac
++++ wavpack-5.1.0/configure.ac
+@@ -159,7 +159,7 @@ AS_IF([test "x$enable_asm" != "xno"],[
+ AS_CASE([$host_cpu],
+ [i386|i486|i586|i686|i786], [AC_DEFINE([OPT_ASM_X86]) asm_selected=x86],
+ [x86_64], [AC_DEFINE([OPT_ASM_X64]) asm_selected=x64],
+- [arm*], [AC_DEFINE([OPT_ASM_ARM]) asm_selected=arm],
++ [armv7*], [AC_DEFINE([OPT_ASM_ARM]) asm_selected=arm],
+ [AS_IF([test "x$enable_asm" = "xyes"],[AC_MSG_ERROR(no assembly code for CPU $host_cpu)])]
+ )
+ AC_MSG_RESULT($asm_selected)
diff --git a/media-sound/wavpack/wavpack-5.1.0.ebuild b/media-sound/wavpack/wavpack-5.1.0.ebuild
index 1d06a9692d..51205b40a0 100644
--- a/media-sound/wavpack/wavpack-5.1.0.ebuild
+++ b/media-sound/wavpack/wavpack-5.1.0.ebuild
@@ -4,6 +4,7 @@
EAPI=5
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+AUTOTOOLS_AUTORECONF=yes
inherit autotools-multilib
DESCRIPTION="Hybrid lossless audio compression tools"
@@ -21,6 +22,7 @@ RDEPEND=">=virtual/libiconv-0-r1
DEPEND="${RDEPEND}"
DOCS=( ChangeLog README )
+PATCHES=( "${FILESDIR}/${P}-armv7.patch" )
multilib_src_configure() {
local myeconfargs=(
next reply other threads:[~2017-02-15 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 18:38 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-08-22 20:43 [gentoo-commits] repo/gentoo:master commit in: media-sound/wavpack/, media-sound/wavpack/files/ Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487183906.1454d93b9b9d1372c0d72a6f096a983395817b18.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox