Index: head/audio/libcoverart/Makefile =================================================================== --- head/audio/libcoverart/Makefile (revision 459555) +++ head/audio/libcoverart/Makefile (revision 459556) @@ -1,29 +1,24 @@ # $FreeBSD$ PORTNAME= libcoverart PORTVERSION= 1.0.0 PORTREVISION= 4 CATEGORIES= audio -MASTER_SITES= GHC +MASTER_SITES= https://github.com/metabrainz/${PORTNAME}/releases/download/release-${PORTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Library for accessing the MusicBrainz cover art archive LICENSE= LGPL20 LIB_DEPENDS= libjansson.so:devel/jansson \ libneon.so:www/neon USES= cmake pathfix USE_LDCONFIG= yes -USE_GITHUB= yes -GH_ACCOUNT= metabrainz - -# {PROJECT_VERSION} is not a variable nor a typo, just part of the directory name -WRKSRC= ${WRKDIR}/${PORTNAME}-{PROJECT_VERSION} post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/cmake/modules/*.cmake .include Index: head/audio/libcoverart/distinfo =================================================================== --- head/audio/libcoverart/distinfo (revision 459555) +++ head/audio/libcoverart/distinfo (revision 459556) @@ -1,2 +1,3 @@ -SHA256 (libcoverart-1.0.0.tar.gz) = e4cb78939003a4b5e5c4db68e42e86fbbbea5e69d3166b43ca01a7065916a121 -SIZE (libcoverart-1.0.0.tar.gz) = 57950 +TIMESTAMP = 1516486441 +SHA256 (libcoverart-1.0.0.tar.gz) = 5d9d4a4c46f35754e016affab83957961a364d7a4c7d64447f73bff22a300f44 +SIZE (libcoverart-1.0.0.tar.gz) = 57933 Index: head/audio/libcoverart/files/patch-src_xmlParser.cpp =================================================================== --- head/audio/libcoverart/files/patch-src_xmlParser.cpp (nonexistent) +++ head/audio/libcoverart/files/patch-src_xmlParser.cpp (revision 459556) @@ -0,0 +1,16 @@ +Fix build with clang6. +src/xmlParser.cpp:676:27: error: cast from pointer to smaller type 'char' loses information + lpszNew[cbData] = (XMLCHAR)NULL; + ^~~~~~~~~~~~~ + +--- src/xmlParser.cpp.orig 2018-01-20 21:39:55 UTC ++++ src/xmlParser.cpp +@@ -673,7 +673,7 @@ XMLSTR stringDup(XMLCSTR lpszData, int cbData) + if (lpszNew) + { + memcpy(lpszNew, lpszData, (cbData) * sizeof(XMLCHAR)); +- lpszNew[cbData] = (XMLCHAR)NULL; ++ lpszNew[cbData] = 0; + } + return lpszNew; + } Property changes on: head/audio/libcoverart/files/patch-src_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