diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile index c93e2e7fa5c..6ce75aebf79 100644 --- a/audio/liba52/Makefile +++ b/audio/liba52/Makefile @@ -1,11 +1,10 @@ -#$OpenBSD: Makefile,v 1.2 2002/03/29 14:43:46 espie Exp $ +#$OpenBSD: Makefile,v 1.3 2002/08/22 12:19:17 espie Exp $ CATEGORIES= audio -NEED_VERSION= 1.474 COMMENT= 'AC-3 decoding library' -DISTNAME= a52dec-0.7.3 -PKGNAME= liba52-0.7.3 +DISTNAME= a52dec-0.7.4 +PKGNAME= liba52-0.7.4 MASTER_SITES= http://liba52.sourceforge.net/files/ HOMEPAGE= http://liba52.sourceforge.net/ diff --git a/audio/liba52/distinfo b/audio/liba52/distinfo index a7bf1296e8a..4b4663ea332 100644 --- a/audio/liba52/distinfo +++ b/audio/liba52/distinfo @@ -1,3 +1,3 @@ -MD5 (a52dec-0.7.3.tar.gz) = cd4254b39fc1bde7b1037afea58f7a8b -RMD160 (a52dec-0.7.3.tar.gz) = 746ca98c513be3752d1e55ccbf559c003665a278 -SHA1 (a52dec-0.7.3.tar.gz) = cb59c2499215cecd9e79de8cb20b1f3d8232fc6b +MD5 (a52dec-0.7.4.tar.gz) = caa9f5bc44232dc8aeea773fea56be80 +RMD160 (a52dec-0.7.4.tar.gz) = 5b63b34c5840e7182b733cad41e916a8d4875eb1 +SHA1 (a52dec-0.7.4.tar.gz) = 79b33bd8d89dad7436f85b9154ad35667aa37321 diff --git a/audio/liba52/patches/patch-liba52_bitstream_c b/audio/liba52/patches/patch-liba52_bitstream_c index 4253c5eb2d8..73c1d19a4d1 100644 --- a/audio/liba52/patches/patch-liba52_bitstream_c +++ b/audio/liba52/patches/patch-liba52_bitstream_c @@ -1,6 +1,6 @@ -$OpenBSD: patch-liba52_bitstream_c,v 1.2 2002/03/29 14:43:47 espie Exp $ ---- liba52/bitstream.c.orig Mon Jan 28 06:37:54 2002 -+++ liba52/bitstream.c Fri Mar 29 15:03:12 2002 +$OpenBSD: patch-liba52_bitstream_c,v 1.3 2002/08/22 12:19:17 espie Exp $ +--- liba52/bitstream.c.orig Sun Jul 28 03:52:06 2002 ++++ liba52/bitstream.c Thu Aug 22 13:51:10 2002 @@ -23,6 +23,7 @@ #include "config.h" @@ -9,15 +9,15 @@ $OpenBSD: patch-liba52_bitstream_c,v 1.2 2002/03/29 14:43:47 espie Exp $ #include #include "a52.h" -@@ -38,9 +39,9 @@ uint32_t a52_current_word; +@@ -33,9 +34,9 @@ - void a52_bitstream_set_ptr (uint8_t * buf) + void a52_bitstream_set_ptr (a52_state_t * state, uint8_t * buf) { - int align; + ptrdiff_t align; - align = (long)buf & 3; + align = (ptrdiff_t)buf & 3; - buffer_start = (uint32_t *) (buf - align); - a52_bits_left = 0; - bitstream_get (align * 8); + state->buffer_start = (uint32_t *) (buf - align); + state->bits_left = 0; + bitstream_get (state, align * 8); diff --git a/audio/liba52/patches/patch-libao_audio_out_oss_c b/audio/liba52/patches/patch-libao_audio_out_oss_c index d9ec43cb3d4..595733a8871 100644 --- a/audio/liba52/patches/patch-libao_audio_out_oss_c +++ b/audio/liba52/patches/patch-libao_audio_out_oss_c @@ -1,7 +1,7 @@ -$OpenBSD: patch-libao_audio_out_oss_c,v 1.2 2002/03/29 14:43:47 espie Exp $ ---- libao/audio_out_oss.c.orig Sun Feb 17 09:58:54 2002 -+++ libao/audio_out_oss.c Fri Mar 29 15:02:47 2002 -@@ -153,9 +153,9 @@ ao_instance_t * oss_open (int flags) +$OpenBSD: patch-libao_audio_out_oss_c,v 1.3 2002/08/22 12:19:17 espie Exp $ +--- libao/audio_out_oss.c.orig Sun Apr 28 12:23:02 2002 ++++ libao/audio_out_oss.c Thu Aug 22 13:49:19 2002 +@@ -153,9 +153,9 @@ static ao_instance_t * oss_open (int fla instance->set_params = 1; instance->flags = flags;