aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-09-18 17:46:45 +0800
committernork <nork@FreeBSD.org>2005-09-18 17:46:45 +0800
commitbb335799460e85fe5170ff2b6f3f90b34a07ad9b (patch)
treeae630c74bb0a4c02e46b2b9a7d7674933f71738b /audio
parent9b945681759b1a206f470b8174c2881314d6147f (diff)
downloadfreebsd-ports-gnome-bb335799460e85fe5170ff2b6f3f90b34a07ad9b.tar.gz
freebsd-ports-gnome-bb335799460e85fe5170ff2b6f3f90b34a07ad9b.tar.zst
freebsd-ports-gnome-bb335799460e85fe5170ff2b6f3f90b34a07ad9b.zip
o Add missing dependency on multimedia/mpeg4ip-libmp4v2.
o Fix undefined symbol error. MP4GetTrackAudioType was replaced by MP4GetTrackEsdsObjectTypeId on libmp4v2 0.9.9. o Bump PORTREVISION, accordingly. Approved by: ahze
Diffstat (limited to 'audio')
-rw-r--r--audio/bmp-faad/Makefile3
-rw-r--r--audio/bmp-faad/files/patch-xmms-mp4_utils.c20
2 files changed, 22 insertions, 1 deletions
diff --git a/audio/bmp-faad/Makefile b/audio/bmp-faad/Makefile
index 8b4bae29748d..230150a86368 100644
--- a/audio/bmp-faad/Makefile
+++ b/audio/bmp-faad/Makefile
@@ -7,7 +7,7 @@
PORTNAME= faad2
PORTVERSION= 2.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
@@ -18,6 +18,7 @@ COMMENT= Beep Media Player (BMP) plugin for faad
LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
faad.0:${PORTSDIR}/audio/faad \
+ mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \
beep.2:${PORTSDIR}/multimedia/beep-media-player
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/audio/bmp-faad/files/patch-xmms-mp4_utils.c b/audio/bmp-faad/files/patch-xmms-mp4_utils.c
new file mode 100644
index 000000000000..0868c822c56d
--- /dev/null
+++ b/audio/bmp-faad/files/patch-xmms-mp4_utils.c
@@ -0,0 +1,20 @@
+--- plugins/xmms/src/mp4_utils.c.orig Thu Dec 4 03:37:56 2003
++++ plugins/xmms/src/mp4_utils.c Sun Sep 18 00:00:40 2005
+@@ -54,7 +54,7 @@
+ const char *trackType = MP4GetTrackType(file, trackID);
+ if(!strcmp(trackType, MP4_AUDIO_TRACK_TYPE)){//we found audio track !
+ int j=0;
+- u_int8_t audiotype = MP4GetTrackAudioType(file, trackID);
++ u_int8_t audiotype = MP4GetTrackEsdsObjectTypeId(file, trackID);
+ while(mp4AudioTypes[j]){ // what kind of audio is ?
+ if(mp4AudioTypes[j] == audiotype){
+ if(mp4AudioTypes[j] == MP4_MPEG4_AUDIO_TYPE){//MPEG4 audio ok
+@@ -126,7 +126,7 @@
+ printf("Track %d, %s", trackID, trackType);
+ if(!strcmp(trackType, MP4_AUDIO_TRACK_TYPE)){//we found audio track !
+ int j=0;
+- u_int8_t audiotype = MP4GetTrackAudioType(mp4file, trackID);
++ u_int8_t audiotype = MP4GetTrackEsdsObjectTypeId(mp4file, trackID);
+ while(mp4AudioTypes[j]){ // what kind of audio is ?
+ if(mp4AudioTypes[j] == audiotype){
+ if(mp4AudioTypes[j] == MP4_MPEG4_AUDIO_TYPE){