summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-02-03 11:05:46 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-02-03 11:05:46 +0000
commit31a69883dfdc325195f6631cf7b4e352435b2a38 (patch)
treeabdc12bffcb55e46d6cec0ef4516b3bd91312115 /media-sound/wavbreaker
parentAdded dev-perl/XML-Parser dependency addressing bug 38260 (Manifest recommit) (diff)
downloadgentoo-2-31a69883dfdc325195f6631cf7b4e352435b2a38.tar.gz
gentoo-2-31a69883dfdc325195f6631cf7b4e352435b2a38.tar.bz2
gentoo-2-31a69883dfdc325195f6631cf7b4e352435b2a38.zip
Added patch to fix non-ANSI C provided by Tristan Henderson <T.Henderson@cs.ucl.ac.uk> in bug #39365
Diffstat (limited to 'media-sound/wavbreaker')
-rw-r--r--media-sound/wavbreaker/ChangeLog9
-rw-r--r--media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch19
-rw-r--r--media-sound/wavbreaker/wavbreaker-0.4.ebuild14
3 files changed, 34 insertions, 8 deletions
diff --git a/media-sound/wavbreaker/ChangeLog b/media-sound/wavbreaker/ChangeLog
index 6f079ce86e7e..649277b3e696 100644
--- a/media-sound/wavbreaker/ChangeLog
+++ b/media-sound/wavbreaker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/wavbreaker
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/ChangeLog,v 1.2 2003/12/18 23:06:19 mholzer Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/ChangeLog,v 1.3 2004/02/03 11:05:46 eradicator Exp $
+
+ 03 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ wavbreaker-0.4.ebuild, files/wavbreaker-0.4-gcc2_fix.patch:
+ Added patch to fix non-ANSI C provided by Tristan Henderson
+ <T.Henderson@cs.ucl.ac.uk> in bug #39365
*wavbreaker-0.4 (19 Dec 2003)
diff --git a/media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch b/media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch
new file mode 100644
index 000000000000..fb5b616d5b10
--- /dev/null
+++ b/media-sound/wavbreaker/files/wavbreaker-0.4-gcc2_fix.patch
@@ -0,0 +1,19 @@
+diff -ur wavbreaker-0.4.orig/src/wavinfo.c wavbreaker-0.4/src/wavinfo.c
+--- wavbreaker-0.4.orig/src/wavinfo.c 2003-10-25 17:06:20.000000000 -0400
++++ wavbreaker-0.4/src/wavinfo.c 2003-12-28 07:43:20.000000000 -0500
+@@ -12,6 +12,7 @@
+ char str[128];
+ FILE *fp;
+ int i;
++ SampleInfo sampleInfo;
+
+ if (argc < 2) {
+ printf("must pass filename of wave file.\n");
+@@ -21,7 +22,6 @@
+ for (i = 1; i < argc; i++) {
+ printf("Header info for: %s\n", argv[i]);
+
+- SampleInfo sampleInfo;
+ if (wav_read_header(argv[i], &sampleInfo, 1) != 0) {
+ printf(wav_get_error_message());
+ }
diff --git a/media-sound/wavbreaker/wavbreaker-0.4.ebuild b/media-sound/wavbreaker/wavbreaker-0.4.ebuild
index 1774d203d0a6..6e6e85bbce45 100644
--- a/media-sound/wavbreaker/wavbreaker-0.4.ebuild
+++ b/media-sound/wavbreaker/wavbreaker-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/wavbreaker-0.4.ebuild,v 1.1 2003/12/18 23:06:19 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/wavbreaker/wavbreaker-0.4.ebuild,v 1.2 2004/02/03 11:05:46 eradicator Exp $
DESCRIPTION="wavbreaker/wavmerge GTK2 utility to break or merge WAV file"
HOMEPAGE="http://huli.org/wavbreaker/"
@@ -14,12 +14,14 @@ DEPEND="dev-libs/libxml2
>=x11-libs/gtk+-2.0
virtual/glibc"
-src_compile() {
- econf || die "configure failed"
- emake || die "make failed"
+DOCS="ChangeLog COPYING INSTALL README NEWS"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gcc2_fix.patch
}
src_install() {
make DESTDIR=${D} install
- dodoc ChangeLog COPYING INSTALL README NEWS
+ dodoc ${DOCS}
}