diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2018-01-20 23:06:41 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2018-01-20 23:06:41 +0000 |
commit | ebd334649f4511d67c0a58c2ba0c72529fee0221 (patch) | |
tree | c5911e0c17bd69aa0b9e453faf6951fd0de2d6cb /audio | |
parent | 1d745a68ea7e2b654f7ff06452e0fb36e4e7a289 (diff) | |
download | ports-ebd334649f4511d67c0a58c2ba0c72529fee0221.tar.gz ports-ebd334649f4511d67c0a58c2ba0c72529fee0221.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libcoverart/Makefile | 7 | ||||
-rw-r--r-- | audio/libcoverart/distinfo | 5 | ||||
-rw-r--r-- | audio/libcoverart/files/patch-src_xmlParser.cpp | 16 |
3 files changed, 20 insertions, 8 deletions
diff --git a/audio/libcoverart/Makefile b/audio/libcoverart/Makefile index 538371c4014e..49674a231948 100644 --- a/audio/libcoverart/Makefile +++ b/audio/libcoverart/Makefile @@ -4,7 +4,7 @@ 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 @@ -16,11 +16,6 @@ LIB_DEPENDS= libjansson.so:devel/jansson \ 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' \ diff --git a/audio/libcoverart/distinfo b/audio/libcoverart/distinfo index 21bca8632ffd..c3c717039e04 100644 --- a/audio/libcoverart/distinfo +++ b/audio/libcoverart/distinfo @@ -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 diff --git a/audio/libcoverart/files/patch-src_xmlParser.cpp b/audio/libcoverart/files/patch-src_xmlParser.cpp new file mode 100644 index 000000000000..f2a6a9deccd5 --- /dev/null +++ b/audio/libcoverart/files/patch-src_xmlParser.cpp @@ -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; + } |