Cope with the audio/flac update by adjusting LIB_DEPENDS and the signature
of the read callback. ok naddy@
This commit is contained in:
parent
1cbd718285
commit
ab84730d54
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2007/09/15 21:26:00 simon Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2007/09/18 18:24:09 mgrimm Exp $
|
||||
COMMENT= Decoding Library for KDE Multimedia
|
||||
|
||||
DISTNAME= akode-2.0.2
|
||||
PKGNAME= ${DISTNAME}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
SHARED_LIBS += akode 2.1 # .2.0
|
||||
|
||||
CATEGORIES= audio multimedia x11/kde
|
||||
@ -19,7 +19,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= OggFLAC,FLAC::audio/flac \
|
||||
LIB_DEPENDS= FLAC.>=8::audio/flac \
|
||||
mad::audio/libmad \
|
||||
speex::audio/speex \
|
||||
vorbis,vorbisfile::audio/libvorbis \
|
||||
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-akode_plugins_xiph_decoder_flac113_decoder_cpp,v 1.1 2007/09/18 18:24:09 mgrimm Exp $
|
||||
--- akode/plugins/xiph_decoder/flac113_decoder.cpp.orig Sun Sep 9 16:03:54 2007
|
||||
+++ akode/plugins/xiph_decoder/flac113_decoder.cpp Sun Sep 9 16:05:48 2007
|
||||
@@ -108,7 +108,7 @@ struct FLACDecoder::private_data {
|
||||
static FLAC__StreamDecoderReadStatus flac_read_callback(
|
||||
const FLAC__StreamDecoder *,
|
||||
FLAC__byte buffer[],
|
||||
- unsigned *bytes,
|
||||
+ size_t *bytes,
|
||||
void *client_data)
|
||||
{
|
||||
FLACDecoder::private_data *data = (FLACDecoder::private_data*)client_data;
|
Loading…
Reference in New Issue
Block a user