Adapt after libmp4v2 update.

This commit is contained in:
landry 2012-05-08 12:48:14 +00:00
parent e1e9947665
commit 9fa0cccbde
2 changed files with 15 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.13 2012/03/06 11:43:39 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2012/05/08 12:48:14 landry Exp $
COMMENT= server for the DAA protocol
DISTNAME= daapd-0.2.4b
REVISION= 3
REVISION= 4
EXTRACT_SUFX= .tgz
CATEGORIES= audio net
MASTER_SITES= ${HOMEPAGE}
@ -18,7 +18,7 @@ PERMIT_PACKAGE_FTP= Yes
WANTLIB= c m pthread stdc++ z mp4v2>=1 id3tag>=3.0 howl
LIB_DEPENDS= multimedia/libmp4v2 \
LIB_DEPENDS= multimedia/libmp4v2>=1.9.1 \
audio/libid3tag \
net/avahi

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-db_cc,v 1.1 2008/09/15 21:49:10 jakemsr Exp $
--- db.cc.orig Tue Jul 22 02:40:07 2008
+++ db.cc Tue Jul 22 02:40:07 2008
$OpenBSD: patch-db_cc,v 1.2 2012/05/08 12:48:14 landry Exp $
--- db.cc.orig Sun Mar 5 14:39:37 2006
+++ db.cc Wed May 2 16:25:48 2012
@@ -42,7 +42,7 @@
#include <id3tag.h>
#ifdef MPEG4_ENABLE
- #include <mp4.h>
+ #include <mp4v2/mp4v2.h>
#endif
@@ -325,7 +325,7 @@ void Database::addM4a( std::string& path, struct stat
MP4TrackId trackId = MP4FindTrackId(mp4file, 0);
u32 timeScale = MP4GetTrackTimeScale(mp4file, trackId);