Added largefile support patch for bug #118600.
authorJoseph Jezak <josejx@gentoo.org>
Wed, 21 Feb 2007 04:06:50 +0000 (04:06 +0000)
committerJoseph Jezak <josejx@gentoo.org>
Wed, 21 Feb 2007 04:06:50 +0000 (04:06 +0000)
Package-Manager: portage-2.1.2-r9

media-libs/audiofile/ChangeLog
media-libs/audiofile/Manifest
media-libs/audiofile/audiofile-0.2.6-r3.ebuild [new file with mode: 0644]
media-libs/audiofile/files/audiofile-largefile.patch [new file with mode: 0644]
media-libs/audiofile/files/digest-audiofile-0.2.6-r3 [new file with mode: 0644]

index 27e1a81b1371d7924ffc77229c68bf1d9a792cdd..b488ffe0bcad13829261968d2cd94fb9f3c09228 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/audiofile
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.47 2006/10/20 21:38:18 kloeri Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.48 2007/02/21 04:06:50 josejx Exp $
+
+*audiofile-0.2.6-r3 (21 Feb 2007)
+
+  21 Feb 2007; Joseph Jezak <josejx@gentoo.org>
+  +files/audiofile-largefile.patch, +audiofile-0.2.6-r3.ebuild:
+  Added largefile support patch for bug #118600.
 
   20 Oct 2006; Bryan Ã˜stergaard <kloeri@gentoo.org>
   audiofile-0.2.6-r2.ebuild:
index f6a2504066fd09f45d0f33e85bcc542be2ab66cd..a6f523484fe5a8fd44bd1e90e26d374b11931239 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX audiofile-0.2.6-constantise.patch 11783 RMD160 7477baadd07b8e0b9ffad8f1274062626eb3310a SHA1 47e32f3a8122d3f7b460a477f04d63b29e9b17b3 SHA256 1c71b33ae0756a56e94f42996e01991fa2b9147d9b21f7ae706df9546a3bc7a4
 MD5 a9f80077df4cbb634b38f27805e377c8 files/audiofile-0.2.6-constantise.patch 11783
 RMD160 7477baadd07b8e0b9ffad8f1274062626eb3310a files/audiofile-0.2.6-constantise.patch 11783
@@ -6,6 +9,10 @@ AUX audiofile-0.2.6-m4.patch 273 RMD160 c9b99a3b3d7c5e9a62d3aec0cfa7ea6e7b3932f5
 MD5 9d76ce996f4c8a8efa8854b6836bcc93 files/audiofile-0.2.6-m4.patch 273
 RMD160 c9b99a3b3d7c5e9a62d3aec0cfa7ea6e7b3932f5 files/audiofile-0.2.6-m4.patch 273
 SHA256 4e92a0e146dd4340c7e68e9f0bf301a4ee5c485d2d13cc3d2796b08c112ca74f files/audiofile-0.2.6-m4.patch 273
+AUX audiofile-largefile.patch 490 RMD160 76e578566a76bc9e1f1346df989774b361dc6165 SHA1 9520cfde511529e023d6516a59be53818d1cdd8e SHA256 308a925b0a3ce66a3df4832e447235cec50eeccc450b965a66c2130221309b6f
+MD5 7bec619f21aba566ca1b74288f312acf files/audiofile-largefile.patch 490
+RMD160 76e578566a76bc9e1f1346df989774b361dc6165 files/audiofile-largefile.patch 490
+SHA256 308a925b0a3ce66a3df4832e447235cec50eeccc450b965a66c2130221309b6f files/audiofile-largefile.patch 490
 AUX sfconvert-eradicator.patch 4345 RMD160 eda6048771abb9565516e5d8429644d71de7d0c8 SHA1 c464e0a62c236916977cd67fb46b3da4bbc78f28 SHA256 02193e1db0d0d9ee0c299dbb6f0225d92a2103c84f385017f0596c783452c402
 MD5 6be24f4f613faf959f406fcbe756324e files/sfconvert-eradicator.patch 4345
 RMD160 eda6048771abb9565516e5d8429644d71de7d0c8 files/sfconvert-eradicator.patch 4345
@@ -19,10 +26,14 @@ EBUILD audiofile-0.2.6-r2.ebuild 934 RMD160 8c0cb30c2a773cd3c0e5f2acdbfa123b785e
 MD5 76b56286517a53b3ff8406c746bff533 audiofile-0.2.6-r2.ebuild 934
 RMD160 8c0cb30c2a773cd3c0e5f2acdbfa123b785ed87a audiofile-0.2.6-r2.ebuild 934
 SHA256 d65a460fb3af4fb596d1a31be97b336593c65c745b53edaf11af1384084b8439 audiofile-0.2.6-r2.ebuild 934
-MISC ChangeLog 5842 RMD160 c97707c842aa122b9fdddc61474b6955a83acc50 SHA1 63e0b40990057c6b5e64024d477c7aea08b46722 SHA256 5b1166f010e63bfb99603f1d202533efa0efe42b9a8d041d711873ef4423334c
-MD5 ffb5281ee12fcfba31f6a0f2f278969f ChangeLog 5842
-RMD160 c97707c842aa122b9fdddc61474b6955a83acc50 ChangeLog 5842
-SHA256 5b1166f010e63bfb99603f1d202533efa0efe42b9a8d041d711873ef4423334c ChangeLog 5842
+EBUILD audiofile-0.2.6-r3.ebuild 1014 RMD160 00b5412b9cebec1cbf41e8d2d94eef663a3ca639 SHA1 80a80f5bfd74562a974c0ce28678517c8e2d3fc7 SHA256 b03e743262cb0ddf84269a37fc92e15ed4e4eca11553d4eb50eb63c005146797
+MD5 a3883c307f2b5faec1ee008a3bac4beb audiofile-0.2.6-r3.ebuild 1014
+RMD160 00b5412b9cebec1cbf41e8d2d94eef663a3ca639 audiofile-0.2.6-r3.ebuild 1014
+SHA256 b03e743262cb0ddf84269a37fc92e15ed4e4eca11553d4eb50eb63c005146797 audiofile-0.2.6-r3.ebuild 1014
+MISC ChangeLog 6039 RMD160 539903ba23b4bf0f3609ee8556b8e9c171ff4c0d SHA1 e46443dc2ff0af076585eb25dc0515d2ae557a57 SHA256 09a96374308e89060e065c7ca07b364ffeb718249f8d3eee113aecb27e3e538f
+MD5 8655802e36e0d4a01b141708a94a44cd ChangeLog 6039
+RMD160 539903ba23b4bf0f3609ee8556b8e9c171ff4c0d ChangeLog 6039
+SHA256 09a96374308e89060e065c7ca07b364ffeb718249f8d3eee113aecb27e3e538f ChangeLog 6039
 MISC metadata.xml 177 RMD160 c4ff678488aa3bd8f3e5e4cf6e52a56caba3dad9 SHA1 73b04fb757f8a6473a2c43b0807a95381da37afc SHA256 dfb196addaf8aa212436c53c3d47cda0d10c2850c59fa2dcb7554dfa10190af2
 MD5 b263ff7675308d90b75a170acae3f5ff metadata.xml 177
 RMD160 c4ff678488aa3bd8f3e5e4cf6e52a56caba3dad9 metadata.xml 177
@@ -33,3 +44,13 @@ SHA256 e6225b6df1288e4828ab832e0551d20f460baea88385a3322e53488bbef862e6 files/di
 MD5 4105d3728b33a7f3cd97f5fc624d8eac files/digest-audiofile-0.2.6-r2 247
 RMD160 8f06d81fe8cd82a97e65815187a7cf71d41c2f91 files/digest-audiofile-0.2.6-r2 247
 SHA256 e6225b6df1288e4828ab832e0551d20f460baea88385a3322e53488bbef862e6 files/digest-audiofile-0.2.6-r2 247
+MD5 4105d3728b33a7f3cd97f5fc624d8eac files/digest-audiofile-0.2.6-r3 247
+RMD160 8f06d81fe8cd82a97e65815187a7cf71d41c2f91 files/digest-audiofile-0.2.6-r3 247
+SHA256 e6225b6df1288e4828ab832e0551d20f460baea88385a3322e53488bbef862e6 files/digest-audiofile-0.2.6-r3 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF28VWcsIHjyDViGQRAlczAJ9QKA7s0mILPT/WBzF4Izt9Ma5lNACgxWMM
+Do5skfxIOClYAI8pYTTLn24=
+=DWYg
+-----END PGP SIGNATURE-----
diff --git a/media-libs/audiofile/audiofile-0.2.6-r3.ebuild b/media-libs/audiofile/audiofile-0.2.6-r3.ebuild
new file mode 100644 (file)
index 0000000..452ae2f
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.2.6-r3.ebuild,v 1.1 2007/02/21 04:06:50 josejx Exp $
+
+inherit libtool eutils
+
+DESCRIPTION="An elegant API for accessing audio files"
+HOMEPAGE="http://www.68k.org/~michael/audiofile/"
+SRC_URI="http://www.68k.org/~michael/audiofile/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"/sfcommands
+       epatch "${FILESDIR}"/sfconvert-eradicator.patch
+       cd "${S}"
+       epatch "${FILESDIR}"/${P}-m4.patch
+       epatch "${FILESDIR}"/${P}-constantise.patch
+
+       ### Patch for bug #118600
+       epatch "${FILESDIR}"/${PN}-largefile.patch
+       elibtoolize
+}
+
+src_compile() {
+       econf --enable-largefile || die
+       emake || die
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die
+       dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog README TODO NEWS NOTES
+}
diff --git a/media-libs/audiofile/files/audiofile-largefile.patch b/media-libs/audiofile/files/audiofile-largefile.patch
new file mode 100644 (file)
index 0000000..a4bf4bf
--- /dev/null
@@ -0,0 +1,13 @@
+--- libaudiofile/audiofile.h   2006/10/05 22:05:50     1.1
++++ libaudiofile/audiofile.h   2006/10/05 22:06:00
+@@ -45,8 +45,8 @@ typedef struct _AFfilesetup *AFfilesetup
+ typedef struct _AFfilehandle *AFfilehandle;
+ typedef void (*AFerrfunc)(long, const char *);
+-typedef off_t AFframecount;
+-typedef off_t AFfileoffset;
++typedef int64_t AFframecount;
++typedef int64_t AFfileoffset;
+ #define AF_NULL_FILESETUP     ((struct _AFfilesetup *) 0)
+ #define AF_NULL_FILEHANDLE    ((struct _AFfilehandle *) 0)
diff --git a/media-libs/audiofile/files/digest-audiofile-0.2.6-r3 b/media-libs/audiofile/files/digest-audiofile-0.2.6-r3
new file mode 100644 (file)
index 0000000..e156baf
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 9c1049876cd51c0f1b12c2886cce4d42 audiofile-0.2.6.tar.gz 374688
+RMD160 b61fbc856768a5838ca5c0fad602f35205e8d037 audiofile-0.2.6.tar.gz 374688
+SHA256 4b6167b56e21556fb07c9ef06962fe32817064c62181ba47afd3322e0d0f22a9 audiofile-0.2.6.tar.gz 374688