From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9ECF3139694 for ; Wed, 15 Feb 2017 18:38:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB21221C095; Wed, 15 Feb 2017 18:38:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7393E0C20 for ; Wed, 15 Feb 2017 18:38:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D00F2341398 for ; Wed, 15 Feb 2017 18:38:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D29C48F6 for ; Wed, 15 Feb 2017 18:38:35 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1487183906.1454d93b9b9d1372c0d72a6f096a983395817b18.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/wavpack/, media-sound/wavpack/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/wavpack/files/wavpack-5.1.0-armv7.patch media-sound/wavpack/wavpack-5.1.0.ebuild X-VCS-Directories: media-sound/wavpack/ media-sound/wavpack/files/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 1454d93b9b9d1372c0d72a6f096a983395817b18 X-VCS-Branch: master Date: Wed, 15 Feb 2017 18:38:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d57b587b-9101-498e-8d1c-104c758beba0 X-Archives-Hash: ae82ed8ab85466648f63d7798726c2f2 commit: 1454d93b9b9d1372c0d72a6f096a983395817b18 Author: Alexis Ballier gentoo org> AuthorDate: Wed Feb 15 18:36:48 2017 +0000 Commit: Alexis Ballier gentoo 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=(