summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2008-05-08 12:08:06 +0000
committerJoe Peterson <lavajoe@gentoo.org>2008-05-08 12:08:06 +0000
commit2e46d8823e7042700072211f062eecf3883c11a6 (patch)
tree1ce1cf50ca92b7029f43c52fd018c9269fd24be1 /media-libs/faad2
parentNew version (diff)
downloadhistorical-2e46d8823e7042700072211f062eecf3883c11a6.tar.gz
historical-2e46d8823e7042700072211f062eecf3883c11a6.tar.bz2
historical-2e46d8823e7042700072211f062eecf3883c11a6.zip
Patched to detect writes to a broken pipe (bug #204227)
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-libs/faad2')
-rw-r--r--media-libs/faad2/ChangeLog8
-rw-r--r--media-libs/faad2/Manifest14
-rw-r--r--media-libs/faad2/faad2-2.6.1-r1.ebuild52
-rw-r--r--media-libs/faad2/files/faad2-2.6.1-broken-pipe.patch22
4 files changed, 84 insertions, 12 deletions
diff --git a/media-libs/faad2/ChangeLog b/media-libs/faad2/ChangeLog
index 455710876dc3..e7516bd01cf3 100644
--- a/media-libs/faad2/ChangeLog
+++ b/media-libs/faad2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/faad2
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.95 2008/03/09 10:34:12 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.96 2008/05/08 12:08:06 lavajoe Exp $
+
+*faad2-2.6.1-r1 (08 May 2008)
+
+ 08 May 2008; Joe Peterson <lavajoe@gentoo.org>
+ +files/faad2-2.6.1-broken-pipe.patch, +faad2-2.6.1-r1.ebuild:
+ Patched to detect writes to a broken pipe (bug #204227)
09 Mar 2008; Alexis Ballier <aballier@gentoo.org>
+files/faad2-2.6.1-libtool22.patch, faad2-2.6.1.ebuild:
diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest
index 4e8665c8c434..268b3f1f6b4f 100644
--- a/media-libs/faad2/Manifest
+++ b/media-libs/faad2/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX faad2-2.6.1-abi_has_changed.patch 496 RMD160 a5f11c7934f0fd0ebf4c4b361cf78fac82d8ebd2 SHA1 f7e9d89fc551e0b61a7b7555749ed7a3129a4ce8 SHA256 0ca18d9149cf4336cb43aa9ee1e32d44c61cb5e8728dd50425c52d0c80e558d3
+AUX faad2-2.6.1-broken-pipe.patch 799 RMD160 96f3be97dee17a36a9f2937927b0ad773ee4c9a9 SHA1 0b03728f40d00e552f738900e2f6215177af5417 SHA256 1eff3508caa528c45d99c4f146a0b81ab284f8554d39d24941ada54356da82a8
AUX faad2-2.6.1-libtool22.patch 324 RMD160 e7fa8d2592f7ba65b94a1f1f2d8b12a3ddc901c2 SHA1 ca4ee04aa1757b8f9deeef52b5bf35dc823da844 SHA256 9e9cf179b379fc028c60fd466b3b61e9b1f9c2b4016cbf6a93b15770c2ee1dfd
DIST faad2-2.0.tar.gz 766660 RMD160 e1e4d7c96cbc3db2b9e67385062ccf5decb61f90 SHA1 fc9f8d0812a9f46bbd851880045131e0e4ab08b8 SHA256 a62a4622862252e53e0dd58c3b0307a138f5100304e07bf50c8aee31a68ab861
DIST faad2-2.6.1.tar.gz 839410 RMD160 ad559933dad6a65576a9947819190f04cb3b1c16 SHA1 b4ad33d3c4dfa6dbf3011a3da34c631926cabfad SHA256 8ad2c2e0c09b787a943e2ef831c1c84534e3a8726cc1eb1abc4da9eb3038285c
DIST faad2-patches-5.tar.bz2 8667 RMD160 daf1faab7af84cd6991ee34cfc0492faf07055fa SHA1 1470d2ee2ea5acf667db6b01c259b94e746f9dba SHA256 1aec9612878dae292b8152f79bcf8fedfefbd7aadaac89f4e6c00f942d4fc1f4
EBUILD faad2-2.0-r11.ebuild 1510 RMD160 1426a445ab0495c5aab60573d52850bf0f5d3dff SHA1 aa2173125d46a81d6c6762fde42eba87c2ebecb2 SHA256 f573ceab63bee725f45ed3d5e3db579e945dd30db5d74769f762307ae6833e61
EBUILD faad2-2.0-r13.ebuild 1515 RMD160 05c0fdffa53f588f4903d83261334000f525469b SHA1 b2a869c0eee55a8520ff3d2c54f37808324e15cb SHA256 8858e27ab7da4b9eb302dc76f11af16695953bac57be075cb1270287cccb6a6c
+EBUILD faad2-2.6.1-r1.ebuild 1302 RMD160 87144e17d0634e8e4ba2e98039e8f6cad2130029 SHA1 9ebea552b73f17ac6dbf00e0df7a40c9a26a753b SHA256 3abc51f7a8e4fb47b27da830089b4af0b79067d2f627148d1f8c2ec16166e782
EBUILD faad2-2.6.1.ebuild 1255 RMD160 0803b8cb9a76a11edd9d67af610aaff8c3362c6b SHA1 0f9520dbf8b65d20b7db8b114f4c63800ee0c4fb SHA256 938142991ce6f2aa851beaffeed4e383db8c1e3cca7cc581d7601b57bad339cb
-MISC ChangeLog 13855 RMD160 33fa54512fa3ea81953ee8040545e75ae8565a01 SHA1 b5d71fa7b5a2837b8966a4c7d5fe2d150a058510 SHA256 9c1cd68f47d0066b54de5336f02924883aa3025f93182580ff9ec5dd0d774e0f
+MISC ChangeLog 14057 RMD160 d94a1fd12715e83d6c14261838d1d6ae44c9d84a SHA1 6d2d6a99bd2829278847773a31bf6e01742d0c52 SHA256 07652bb7c074f872bd0e2da5c709951014bd9c88e81b0ba884cde17c6b734163
MISC metadata.xml 387 RMD160 891f0392b255f261ca75a0e8541d453579313ace SHA1 f013305de22423b585f4138b1a5e9d67ca45c17f SHA256 b96036a098648c1ad5fb2105bd2997bed79a5df723389e892627ae2523aae356
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH070qvFcC4BYPU0oRAsKgAKCoLZvd+EGiFRB7V7OwvOY4Gt5YKQCfclMR
-qlvge2lyH6APEgU/IB3809Q=
-=jTvk
------END PGP SIGNATURE-----
diff --git a/media-libs/faad2/faad2-2.6.1-r1.ebuild b/media-libs/faad2/faad2-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..e40f77f18152
--- /dev/null
+++ b/media-libs/faad2/faad2-2.6.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/faad2-2.6.1-r1.ebuild,v 1.1 2008/05/08 12:08:06 lavajoe Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="AAC audio decoding library"
+HOMEPAGE="http://www.audiocoding.com/"
+SRC_URI="mirror://sourceforge/faac/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="drm"
+
+RDEPEND=""
+DEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-abi_has_changed.patch"
+ epatch "${FILESDIR}/${P}-libtool22.patch"
+ epatch "${FILESDIR}/${P}-broken-pipe.patch"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with drm)\
+ --without-xmms \
+ || die "econf failed"
+
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS README README.linux TODO
+}
+
+pkg_postinst() {
+ elog "Please note that from ${PN}-2.0* to ${P}, ABI has changed"
+ elog "So if you are upgrading from those versions, you need to rebuild"
+ elog "all the packages linked against ${PN}."
+ elog "You can use revdep-rebuild from app-portage/gentoolkit if you are"
+ elog "using portage or reconcilio if you are using paludis, or ..."
+}
diff --git a/media-libs/faad2/files/faad2-2.6.1-broken-pipe.patch b/media-libs/faad2/files/faad2-2.6.1-broken-pipe.patch
new file mode 100644
index 000000000000..428d7dd8ad2e
--- /dev/null
+++ b/media-libs/faad2/files/faad2-2.6.1-broken-pipe.patch
@@ -0,0 +1,22 @@
+--- faad2/frontend/main.c~ 2007-11-01 06:33:29.000000000 -0600
++++ faad2/frontend/main.c 2008-01-03 18:05:10.000000000 -0700
+@@ -640,7 +640,8 @@
+
+ if ((frameInfo.error == 0) && (frameInfo.samples > 0) && (!adts_out))
+ {
+- write_audio_file(aufile, sample_buffer, frameInfo.samples, 0);
++ if (write_audio_file(aufile, sample_buffer, frameInfo.samples, 0) == 0)
++ break;
+ }
+
+ /* fill buffer */
+@@ -976,7 +977,8 @@
+
+ if ((frameInfo.error == 0) && (sample_count > 0) && (!adts_out))
+ {
+- write_audio_file(aufile, sample_buffer, sample_count, delay);
++ if (write_audio_file(aufile, sample_buffer, sample_count, delay) == 0)
++ break;
+ }
+
+ if (frameInfo.error > 0)