summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-25 13:08:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-25 13:08:15 +0000
commit2578bad9775f9c18dfe8b2a3bb80b69746046645 (patch)
tree712c2357fc4040f1ee408e361ef98acd45446ae5 /media-sound/sox
parenttrim whitespace (diff)
downloadgentoo-2-2578bad9775f9c18dfe8b2a3bb80b69746046645.tar.gz
gentoo-2-2578bad9775f9c18dfe8b2a3bb80b69746046645.tar.bz2
gentoo-2-2578bad9775f9c18dfe8b2a3bb80b69746046645.zip
Added largefile support as per bug #103578.
(Portage version: 2.0.51.22)
Diffstat (limited to 'media-sound/sox')
-rw-r--r--media-sound/sox/ChangeLog8
-rw-r--r--media-sound/sox/Manifest18
-rw-r--r--media-sound/sox/files/digest-sox-12.17.7-r21
-rw-r--r--media-sound/sox/files/sox-12.17.7-largefile.patch12
-rw-r--r--media-sound/sox/sox-12.17.7-r2.ebuild59
5 files changed, 89 insertions, 9 deletions
diff --git a/media-sound/sox/ChangeLog b/media-sound/sox/ChangeLog
index bccb9aacae71..0df6b9c08932 100644
--- a/media-sound/sox/ChangeLog
+++ b/media-sound/sox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/sox
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.48 2005/07/13 10:21:33 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.49 2005/08/25 13:08:15 flameeyes Exp $
+
+*sox-12.17.7-r2 (25 Aug 2005)
+
+ 25 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/sox-12.17.7-largefile.patch, +sox-12.17.7-r2.ebuild:
+ Added largefile support as per bug #103578.
13 Jul 2005; Markus Rothe <corsair@gentoo.org> sox-12.17.7-r1.ebuild:
added ~ppc64
diff --git a/media-sound/sox/Manifest b/media-sound/sox/Manifest
index 0407ed2b4c5a..f3a101fa1677 100644
--- a/media-sound/sox/Manifest
+++ b/media-sound/sox/Manifest
@@ -1,16 +1,18 @@
MD5 33184afd92360d7f75602ab06b4b68fe ChangeLog 6313
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 8f0b4d1c78a6982a316874b6b3a0cca6 sox-12.17.5-r1.ebuild 2022
MD5 33bdd939d4c9c9e11357c14f48ab72fb sox-12.17.6-r1.ebuild 1501
+MD5 3e980a71ed63b034edbc1a64b15eb71b sox-12.17.7-r2.ebuild 1323
MD5 6b0ba2acfa0396856c328217f286b00f sox-12.17.6.ebuild 1596
-MD5 087985da4cb716eba326833a8902b5d2 sox-12.17.7-r1.ebuild 1277
+MD5 8f0b4d1c78a6982a316874b6b3a0cca6 sox-12.17.5-r1.ebuild 2022
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 12cd6316db89eaf0efe7f5f33b5be707 files/digest-sox-12.17.5-r1 63
-MD5 d489ca9068a273a4a383094d2336edff files/digest-sox-12.17.6 63
-MD5 d489ca9068a273a4a383094d2336edff files/digest-sox-12.17.6-r1 63
-MD5 078b05843747731261bbb166597697f0 files/digest-sox-12.17.7-r1 63
MD5 a4a1bf246929c73d663a66a97acfd5cc files/sox-12.17.6-destdir.patch 4327
+MD5 078b05843747731261bbb166597697f0 files/digest-sox-12.17.7-r1 63
+MD5 d489ca9068a273a4a383094d2336edff files/digest-sox-12.17.6-r1 63
MD5 7911475898fe2541a80f439e938b1d0d files/sox-12.17.7-destdir.patch 4395
-MD5 484937b1ac7761dfb4d5bfb011e8cae7 files/sox-install.patch 2917
MD5 55b945c4cad98947d37be88cf3c5ef7e files/sox-soundcard.patch 275
-MD5 923124d7fbe0a70712b4991ae52a968b files/sox-wav-segfault.patch 255
MD5 8a1b39117b61aeb3d136106f13347185 files/sox-wave-overflow.patch 736
+MD5 d489ca9068a273a4a383094d2336edff files/digest-sox-12.17.6 63
+MD5 078b05843747731261bbb166597697f0 files/digest-sox-12.17.7-r2 63
+MD5 42f6be2a6de49e8fe6324d947c34a347 files/sox-12.17.7-largefile.patch 297
+MD5 484937b1ac7761dfb4d5bfb011e8cae7 files/sox-install.patch 2917
+MD5 923124d7fbe0a70712b4991ae52a968b files/sox-wav-segfault.patch 255
diff --git a/media-sound/sox/files/digest-sox-12.17.7-r2 b/media-sound/sox/files/digest-sox-12.17.7-r2
new file mode 100644
index 000000000000..6f7c73e5a2e6
--- /dev/null
+++ b/media-sound/sox/files/digest-sox-12.17.7-r2
@@ -0,0 +1 @@
+MD5 a6876289602c1f2896b39e6a88e2a574 sox-12.17.7.tar.gz 466570
diff --git a/media-sound/sox/files/sox-12.17.7-largefile.patch b/media-sound/sox/files/sox-12.17.7-largefile.patch
new file mode 100644
index 000000000000..03d707c9db41
--- /dev/null
+++ b/media-sound/sox/files/sox-12.17.7-largefile.patch
@@ -0,0 +1,12 @@
+Index: sox-12.17.7/configure.in
+===================================================================
+--- sox-12.17.7.orig/configure.in
++++ sox-12.17.7/configure.in
+@@ -88,6 +88,7 @@ AC_C_BIGENDIAN
+ AC_C_CONST
+ AC_C_INLINE
+ AC_TYPE_SIZE_T
++AC_SYS_LARGEFILE
+
+ if test "$enable_old_rate" = yes
+ then
diff --git a/media-sound/sox/sox-12.17.7-r2.ebuild b/media-sound/sox/sox-12.17.7-r2.ebuild
new file mode 100644
index 000000000000..c32cb8685eb5
--- /dev/null
+++ b/media-sound/sox/sox-12.17.7-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/sox-12.17.7-r2.ebuild,v 1.1 2005/08/25 13:08:15 flameeyes Exp $
+
+inherit gnuconfig flag-o-matic eutils
+
+DESCRIPTION="The swiss army knife of sound processing programs"
+HOMEPAGE="http://sox.sourceforge.net"
+SRC_URI="mirror://sourceforge/sox/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="alsa encode mad ogg"
+
+DEPEND="virtual/libc
+ alsa? ( media-libs/alsa-lib )
+ encode? ( media-sound/lame )
+ mad? ( media-libs/libmad )
+ ogg? ( media-libs/libvorbis )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ # Needed on mips and probablly others
+ gnuconfig_update
+
+ epatch ${FILESDIR}/${P}-destdir.patch
+ epatch ${FILESDIR}/${P}-largefile.patch
+
+ autoheader || die "autoheader failed"
+ autoconf || die "autoconf failed"
+}
+
+src_compile () {
+ # Fixes wav segfaults. See Bug #35745.
+ append-flags -fsigned-char
+
+ econf ${myconf} \
+ $(use_enable alsa alsa-dsp) \
+ $(use_enable encode lame) \
+ $(use_enable mad) \
+ $(use_enable ogg ogg-vorbis) \
+ --enable-oss-dsp \
+ --enable-fast-ulaw \
+ --enable-fast-alaw \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ prepallman
+
+ dodoc Changelog README TODO *.txt
+}