summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-10 14:58:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-10 14:58:32 +0000
commit51dea5595b89c55f104e27b7b93e6ce04de39c37 (patch)
tree73341e8161fa151d73ae4040bff06b6a2cfef2e1 /media-sound/wavpack
parentStable for HPPA (bug #266671). (diff)
downloadhistorical-51dea5595b89c55f104e27b7b93e6ce04de39c37.tar.gz
historical-51dea5595b89c55f104e27b7b93e6ce04de39c37.tar.bz2
historical-51dea5595b89c55f104e27b7b93e6ce04de39c37.zip
GCC 4.4 fix
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/wavpack')
-rw-r--r--media-sound/wavpack/ChangeLog12
-rw-r--r--media-sound/wavpack/Manifest16
-rw-r--r--media-sound/wavpack/files/wavpack-4.50.1-gcc44.patch23
-rw-r--r--media-sound/wavpack/metadata.xml2
-rw-r--r--media-sound/wavpack/wavpack-4.50.1-r1.ebuild29
5 files changed, 66 insertions, 16 deletions
diff --git a/media-sound/wavpack/ChangeLog b/media-sound/wavpack/ChangeLog
index bf30291dd83c..520fd25e070c 100644
--- a/media-sound/wavpack/ChangeLog
+++ b/media-sound/wavpack/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/wavpack
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/wavpack/ChangeLog,v 1.45 2008/11/14 09:24:05 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/wavpack/ChangeLog,v 1.46 2009/05/10 14:58:32 ssuominen Exp $
+
+*wavpack-4.50.1-r1 (10 May 2009)
+
+ 10 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +wavpack-4.50.1-r1.ebuild, +files/wavpack-4.50.1-gcc44.patch:
+ Fix compile with GCC 4.4 wrt #265322, thanks to Daniel J.
14 Nov 2008; Alexis Ballier <aballier@gentoo.org>
-files/wavpack-4.41.0-constant.patch, -wavpack-4.41.0.ebuild,
@@ -63,7 +69,7 @@
11 Nov 2007; Dawid Węgliński <cla@gentoo.org> wavpack-4.41.0.ebuild:
Stable on x86 (bug #198823)
- 11 Nov 2007; Samuli Suominen <drac@gentoo.org> wavpack-4.41.0.ebuild:
+ 11 Nov 2007; Samuli Suominen <ssuominen@gentoo.org> wavpack-4.41.0.ebuild:
amd64 stable wrt #198823
16 Jun 2007; Joshua Kinard <kumba@gentoo.org> wavpack-4.40.0.ebuild:
diff --git a/media-sound/wavpack/Manifest b/media-sound/wavpack/Manifest
index 8ca9b793cbaa..d74be4254903 100644
--- a/media-sound/wavpack/Manifest
+++ b/media-sound/wavpack/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX wavpack-4.50.1-gcc44.patch 1070 RMD160 3164c50eb090f5fac2b1b63f0bc9b1f7becba373 SHA1 1724ac81000c9355747f714d482bab32df4bab2a SHA256 dc7b5afad4e31c3f0a15b027190554f6ddeb49fe9ad779163cf0ff20c4ee622a
DIST wavpack-4.50.1.tar.bz2 375792 RMD160 680bb584521c84ea4556b2991bea38a91c65bfdc SHA1 1bd8d754b7550143be88cd0f18a973740c1c3b8c SHA256 29c036d10fb8bcb6daa58718d112394291887fc0e9b108851017218184483954
+EBUILD wavpack-4.50.1-r1.ebuild 724 RMD160 6fa6cc74b9b768efb12d2334d95ca45515022187 SHA1 ee4ff5299f877e1d0038fc6a45bf4c6d68420f88 SHA256 456bed26567bfe5518aa8aab6900b8a0f3b2626e794982d4105dbfeb2c6abf92
EBUILD wavpack-4.50.1.ebuild 729 RMD160 41e9de0b21b842b148933e4aab47e021ee403b99 SHA1 d5caecee950df2d10e97f409b29b313f39c5878e SHA256 aac353518eda3063aa96b5136ff0e16e759f4eb4201ff9134f95037e563514a6
-MISC ChangeLog 5431 RMD160 cd81358a601b533ee30b71dc8775b133ce42c0f5 SHA1 5aaaaff882ba43162ced06f56ee948ee5040cd5d SHA256 bddec088e0c3008885378eec93c65548cca3c4c21fb8367027544e0bb196a723
-MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkdQ7oACgkQvFcC4BYPU0otKwCfa6SYVp8PNGHrtWkswu1LYUx0
-ZH8AnA3aMm4ZLIFJ5Obn7ZlHVi1bZ2nK
-=Bavi
------END PGP SIGNATURE-----
+MISC ChangeLog 5650 RMD160 698004000af23d73d3d9924936746341dcdbe17d SHA1 3b06890c88c2a7f951a7bab85885ed088aa36a27 SHA256 f663460e2833e63e89bce3db2477c957bc5dbf23251490d59dba6e3fbe28cee7
+MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369
diff --git a/media-sound/wavpack/files/wavpack-4.50.1-gcc44.patch b/media-sound/wavpack/files/wavpack-4.50.1-gcc44.patch
new file mode 100644
index 000000000000..8d28fcca37ba
--- /dev/null
+++ b/media-sound/wavpack/files/wavpack-4.50.1-gcc44.patch
@@ -0,0 +1,23 @@
+--- src/wavpack_local.h.orig 2009-04-07 10:34:58.000000000 -0400
++++ src/wavpack_local.h 2009-04-07 11:03:45.000000000 -0400
+@@ -745,9 +745,17 @@
+
+ #define _m_paddd(m1, m2) __builtin_ia32_paddd (m1, m2)
+ #define _m_pcmpeqd(m1, m2) __builtin_ia32_pcmpeqd (m1, m2)
+-#define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2)
+-#define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2)
+-#define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2)
++
++#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || __GNUC__ > 4
++# define _m_pslldi(m1, m2) __builtin_ia32_pslldi ((__m64)m1, m2)
++# define _m_psradi(m1, m2) __builtin_ia32_psradi ((__m64)m1, m2)
++# define _m_psrldi(m1, m2) __builtin_ia32_psrldi ((__m64)m1, m2)
++#else
++# define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2)
++# define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2)
++# define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2)
++#endif
++
+ #define _m_psubd(m1, m2) __builtin_ia32_psubd (m1, m2)
+ #define _m_punpckhdq(m1, m2) __builtin_ia32_punpckhdq (m1, m2)
+ #define _m_punpckldq(m1, m2) __builtin_ia32_punpckldq (m1, m2)
diff --git a/media-sound/wavpack/metadata.xml b/media-sound/wavpack/metadata.xml
index e1774e3d9ad7..ae573a60407f 100644
--- a/media-sound/wavpack/metadata.xml
+++ b/media-sound/wavpack/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sound</herd>
+ <herd>sound</herd>
</pkgmetadata>
diff --git a/media-sound/wavpack/wavpack-4.50.1-r1.ebuild b/media-sound/wavpack/wavpack-4.50.1-r1.ebuild
new file mode 100644
index 000000000000..0508f99d29a6
--- /dev/null
+++ b/media-sound/wavpack/wavpack-4.50.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/wavpack/wavpack-4.50.1-r1.ebuild,v 1.1 2009/05/10 14:58:32 ssuominen Exp $
+
+EAPI=2
+inherit eutils libtool
+
+DESCRIPTION="WavPack audio compression tools"
+HOMEPAGE="http://www.wavpack.com"
+SRC_URI="http://www.wavpack.com/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="mmx"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc44.patch
+ elibtoolize
+}
+
+src_configure() {
+ econf $(use_enable mmx)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog README
+}