Index: head/audio/libmusicbrainz3/Makefile =================================================================== --- head/audio/libmusicbrainz3/Makefile (revision 459230) +++ head/audio/libmusicbrainz3/Makefile (revision 459231) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= libmusicbrainz PORTVERSION= 3.0.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \ http://ftp.osuosl.org/pub/musicbrainz/ PKGNAMESUFFIX= 3 MAINTAINER= jhale@FreeBSD.org COMMENT= MusicBrainz client library for audio metadata lookup LICENSE= LGPL21 LIB_DEPENDS= libdiscid.so:audio/libdiscid \ libneon.so:www/neon USES= cmake pathfix USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/cmake/modules/*.cmake .include Index: head/audio/libmusicbrainz3/files/patch-src_webservice.cpp =================================================================== --- head/audio/libmusicbrainz3/files/patch-src_webservice.cpp (nonexistent) +++ head/audio/libmusicbrainz3/files/patch-src_webservice.cpp (revision 459231) @@ -0,0 +1,24 @@ +error: invalid suffix on literal; C++11 requires a space between literal and identifier +[-Wreserved-user-defined-literal] + ne_set_useragent(sess, PACKAGE"/"VERSION); + +--- src/webservice.cpp.orig 2009-08-17 22:54:07 UTC ++++ src/webservice.cpp +@@ -184,7 +184,7 @@ WebService::get(const std::string &entity, + if (!sess) + throw WebServiceError("ne_session_create() failed."); + ne_set_server_auth(sess, httpAuth, this); +- ne_set_useragent(sess, PACKAGE"/"VERSION); ++ ne_set_useragent(sess, PACKAGE "/" VERSION); + + // Use proxy server + if (!d->proxyHost.empty()) { +@@ -269,7 +269,7 @@ WebService::post(const std::string &entity, + if (!sess) + throw WebServiceError("ne_session_create() failed."); + ne_set_server_auth(sess, httpAuth, this); +- ne_set_useragent(sess, PACKAGE"/"VERSION); ++ ne_set_useragent(sess, PACKAGE "/" VERSION); + + // Use proxy server + if (!d->proxyHost.empty()) { Property changes on: head/audio/libmusicbrainz3/files/patch-src_webservice.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/libmusicbrainz3/files/patch-src_xmlParser_xmlParser.cpp =================================================================== --- head/audio/libmusicbrainz3/files/patch-src_xmlParser_xmlParser.cpp (nonexistent) +++ head/audio/libmusicbrainz3/files/patch-src_xmlParser_xmlParser.cpp (revision 459231) @@ -0,0 +1,14 @@ +src/xmlParser/xmlParser.cpp:743:27: error: cast from pointer to smaller type 'char' loses information + lpszNew[cbData] = (TCHAR)NULL; + +--- src/xmlParser/xmlParser.cpp.orig 2018-01-17 09:27:41 UTC ++++ src/xmlParser/xmlParser.cpp +@@ -740,7 +740,7 @@ LPTSTR stringDup(LPCTSTR lpszData, int cbData) + if (lpszNew) + { + memcpy(lpszNew, lpszData, (cbData) * sizeof(TCHAR)); +- lpszNew[cbData] = (TCHAR)NULL; ++ lpszNew[cbData] = 0; + } + return lpszNew; + } Property changes on: head/audio/libmusicbrainz3/files/patch-src_xmlParser_xmlParser.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property