From 0588b1f32a8ed88b446663ffeecd85579e33dc72 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sun, 6 Jun 2010 00:01:19 +0000 Subject: [PATCH] Updated vorbis-tools to 1.4.0 --- .../patches/vorbis-tools-1.4.0.patch | 20 ++++++++++++++++ .../vorbis-tools/vorbis-tools-1.4.0.bep | 24 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 media-sound/vorbis-tools/patches/vorbis-tools-1.4.0.patch create mode 100644 media-sound/vorbis-tools/vorbis-tools-1.4.0.bep diff --git a/media-sound/vorbis-tools/patches/vorbis-tools-1.4.0.patch b/media-sound/vorbis-tools/patches/vorbis-tools-1.4.0.patch new file mode 100644 index 000000000..9ce428f8f --- /dev/null +++ b/media-sound/vorbis-tools/patches/vorbis-tools-1.4.0.patch @@ -0,0 +1,20 @@ +diff -urN vorbis-tools-1.4.0/vcut/vcut.c vorbis-tools-1.4.0-gcc2/vcut/vcut.c +--- vorbis-tools-1.4.0/vcut/vcut.c 2010-03-26 07:07:07.022020096 +0000 ++++ vorbis-tools-1.4.0-gcc2/vcut/vcut.c 2010-06-05 23:51:34.494927872 +0000 +@@ -233,6 +233,7 @@ + * Returns 0 for success, or -1 on failure. */ + static int open_output_stream(vcut_state *s) + { ++ int rv; + if(!s->out && !s->drop_output) + { + if(open_output_file(s, s->output_filename)!=0) +@@ -240,7 +241,7 @@ + } + + /* ogg_stream_init should only fail if stream_out is null */ +- int rv = ogg_stream_init(&s->stream_out, ++s->serial_out); ++ rv = ogg_stream_init(&s->stream_out, ++s->serial_out); + assert(rv == 0); + + s->output_stream_open = 1; diff --git a/media-sound/vorbis-tools/vorbis-tools-1.4.0.bep b/media-sound/vorbis-tools/vorbis-tools-1.4.0.bep new file mode 100644 index 000000000..0d12d4263 --- /dev/null +++ b/media-sound/vorbis-tools/vorbis-tools-1.4.0.bep @@ -0,0 +1,24 @@ +DESCRIPTION="vorbis-tools - tools for using the Ogg Vorbis sound file format" +HOMEPAGE="http://www.vorbis.com/" +SRC_URI="http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz" +CHECKSUM_MD5="567e0fb8d321b2cd7124f8208b8b90e6" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="libvorbis >= 1.3.1 + libflac + libao >= 1.0.0 + speex" +BUILD { + cd vorbis-tools-1.4.0 + libtoolize --force --copy --install + aclocal -I m4 + automake + autoconf + ./configure --prefix=/boot/common + make +} + +INSTALL { + cd vorbis-tools-1.4.0 + make install +}