An update to taglib-1.8 Tested with some ports on amd64, no problems so far.
Cheers, David Index: Makefile =================================================================== RCS file: /cvs/ports/audio/taglib/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- Makefile 8 Aug 2012 11:37:03 -0000 1.23 +++ Makefile 28 Sep 2012 12:59:12 -0000 @@ -1,14 +1,13 @@ # $OpenBSD: Makefile,v 1.23 2012/08/08 11:37:03 dcoppa Exp $ COMMENT= managing meta-data of audio formats -DISTNAME= taglib-1.7.2 -REVISION= 0 +DISTNAME= taglib-1.8 CATEGORIES= audio devel MASTER_SITES= https://github.com/downloads/taglib/taglib/ -SHARED_LIBS += tag 9.0 # .1.7.1 -SHARED_LIBS += tag_c 2.0 # .0.0.0 +SHARED_LIBS += tag 10.0 # 1.8.0 +SHARED_LIBS += tag_c 2.1 # 0.0.0 HOMEPAGE= http://taglib.github.com/ @@ -35,7 +34,7 @@ pre-configure: ${SUBST_CMD} ${WRKSRC}/cmake/modules/FindCppUnit.cmake do-regress: - @ln -s ${WRKSRC}/tests/data ${WRKBUILD}/tests/data + @ln -f -s ${WRKSRC}/tests/data ${WRKBUILD}/tests/data @cd ${WRKBUILD}/tests && ./test_runner .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/audio/taglib/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo 8 Aug 2012 11:37:03 -0000 1.10 +++ distinfo 28 Sep 2012 12:59:12 -0000 @@ -1,2 +1,2 @@ -SHA256 (taglib-1.7.2.tar.gz) = OPflKDtZQCGyhCamEznP+/LVA7RQM4sC9lH6sbC0KJk= -SIZE (taglib-1.7.2.tar.gz) = 535427 +SHA256 (taglib-1.8.tar.gz) = ZtM0gXA8kCNqCp0cOP2BtYTKcQne0EkiX1Rj3K/8IJo= +SIZE (taglib-1.8.tar.gz) = 595937 Index: patches/patch-taglib_ape_apeproperties_cpp =================================================================== RCS file: patches/patch-taglib_ape_apeproperties_cpp diff -N patches/patch-taglib_ape_apeproperties_cpp --- patches/patch-taglib_ape_apeproperties_cpp 20 Mar 2012 16:23:47 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,17 +0,0 @@ -$OpenBSD: patch-taglib_ape_apeproperties_cpp,v 1.3 2012/03/20 16:23:47 dcoppa Exp $ - -Fix: crash parsing ID3v2 tag in ape file due to null pointer -dereference -(upstream git commit 7cc36db7606dfc85d2e344d35c4e26fe8f698bdc) - ---- taglib/ape/apeproperties.cpp.orig Sun Mar 18 16:00:45 2012 -+++ taglib/ape/apeproperties.cpp Sun Mar 18 16:01:58 2012 -@@ -137,7 +137,7 @@ long APE::Properties::findDescriptor() - long ID3v2OriginalSize = 0; - bool hasID3v2 = false; - if(ID3v2Location >= 0) { -- ID3v2::Tag tag(d->file, ID3v2Location, 0); -+ ID3v2::Tag tag(d->file, ID3v2Location); - ID3v2OriginalSize = tag.header()->completeTagSize(); - if(tag.header()->tagSize() > 0) - hasID3v2 = true; Index: patches/patch-taglib_toolkit_tmap_h =================================================================== RCS file: patches/patch-taglib_toolkit_tmap_h diff -N patches/patch-taglib_toolkit_tmap_h --- patches/patch-taglib_toolkit_tmap_h 3 May 2009 15:13:53 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-taglib_toolkit_tmap_h,v 1.1 2009/05/03 15:13:53 martynas Exp $ ---- taglib/toolkit/tmap.h.orig Mon Feb 4 17:14:45 2008 -+++ taglib/toolkit/tmap.h Fri May 1 15:23:52 2009 -@@ -27,7 +27,10 @@ - #define TAGLIB_MAP_H - - #include <map> -+ -+#ifdef WANT_CLASS_INSTANTIATION_OF_MAP - using namespace std; -+#endif - - #include "taglib.h" - Index: patches/patch-tests_CMakeLists_txt =================================================================== RCS file: /cvs/ports/audio/taglib/patches/patch-tests_CMakeLists_txt,v retrieving revision 1.1 diff -u -p -r1.1 patch-tests_CMakeLists_txt --- patches/patch-tests_CMakeLists_txt 14 Oct 2011 09:06:57 -0000 1.1 +++ patches/patch-tests_CMakeLists_txt 28 Sep 2012 12:59:12 -0000 @@ -1,9 +1,7 @@ $OpenBSD: patch-tests_CMakeLists_txt,v 1.1 2011/10/14 09:06:57 dcoppa Exp $ ---- tests/CMakeLists.txt.orig Thu Oct 13 10:26:30 2011 -+++ tests/CMakeLists.txt Thu Oct 13 10:26:54 2011 -@@ -1,6 +1,7 @@ - if(BUILD_TESTS) - +--- tests/CMakeLists.txt.orig Fri Sep 28 14:19:44 2012 ++++ tests/CMakeLists.txt Fri Sep 28 14:20:02 2012 +@@ -1,4 +1,5 @@ INCLUDE_DIRECTORIES( + ${CPPUNIT_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../taglib Index: patches/patch-tests_utils_h =================================================================== RCS file: /cvs/ports/audio/taglib/patches/patch-tests_utils_h,v retrieving revision 1.1 diff -u -p -r1.1 patch-tests_utils_h --- patches/patch-tests_utils_h 14 Oct 2011 09:06:57 -0000 1.1 +++ patches/patch-tests_utils_h 28 Sep 2012 12:59:12 -0000 @@ -2,13 +2,13 @@ $OpenBSD: patch-tests_utils_h,v 1.1 2011 Add missing include, needed for S_IRUSR/S_IWUSR macros ---- tests/utils.h.orig Thu Oct 13 10:28:58 2011 -+++ tests/utils.h Thu Oct 13 10:29:23 2011 -@@ -4,6 +4,7 @@ +--- tests/utils.h.orig Fri Sep 28 14:20:20 2012 ++++ tests/utils.h Fri Sep 28 14:21:01 2012 +@@ -7,6 +7,7 @@ #include <unistd.h> #include <fcntl.h> #include <sys/fcntl.h> +#include <sys/stat.h> #endif #include <stdio.h> - #include <string> + #include <string.h> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/audio/taglib/pkg/PLIST,v retrieving revision 1.6 diff -u -p -r1.6 PLIST --- pkg/PLIST 14 Oct 2011 09:06:57 -0000 1.6 +++ pkg/PLIST 28 Sep 2012 12:59:12 -0000 @@ -32,6 +32,12 @@ include/taglib/id3v2framefactory.h include/taglib/id3v2header.h include/taglib/id3v2synchdata.h include/taglib/id3v2tag.h +include/taglib/itfile.h +include/taglib/itproperties.h +include/taglib/modfile.h +include/taglib/modfilebase.h +include/taglib/modproperties.h +include/taglib/modtag.h include/taglib/mp4atom.h include/taglib/mp4coverart.h include/taglib/mp4file.h @@ -47,10 +53,13 @@ include/taglib/oggfile.h include/taglib/oggflacfile.h include/taglib/oggpage.h include/taglib/oggpageheader.h +include/taglib/ownershipframe.h include/taglib/popularimeterframe.h include/taglib/privateframe.h include/taglib/relativevolumeframe.h include/taglib/rifffile.h +include/taglib/s3mfile.h +include/taglib/s3mproperties.h include/taglib/speexfile.h include/taglib/speexproperties.h include/taglib/tag.h @@ -60,12 +69,16 @@ include/taglib/taglib_config.h include/taglib/taglib_export.h include/taglib/tbytevector.h include/taglib/tbytevectorlist.h +include/taglib/tbytevectorstream.h include/taglib/textidentificationframe.h include/taglib/tfile.h +include/taglib/tfilestream.h +include/taglib/tiostream.h include/taglib/tlist.h include/taglib/tlist.tcc include/taglib/tmap.h include/taglib/tmap.tcc +include/taglib/tpropertymap.h include/taglib/trueaudiofile.h include/taglib/trueaudioproperties.h include/taglib/tstring.h @@ -82,6 +95,8 @@ include/taglib/wavpackproperties.h include/taglib/wavproperties.h include/taglib/xingheader.h include/taglib/xiphcomment.h +include/taglib/xmfile.h +include/taglib/xmproperties.h lib/pkgconfig/ lib/pkgconfig/taglib.pc lib/pkgconfig/taglib_c.pc