Updated vorbis-tools to 1.4.0

This commit is contained in:
Scott McCreary
2010-06-06 00:01:19 +00:00
parent e1deadd316
commit 0588b1f32a
2 changed files with 44 additions and 0 deletions

View File

@@ -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;

View File

@@ -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
}