components/library/libmusicbrainz-5/Makefile | ●●●●● patch | view | raw | blame | history | |
components/library/libmusicbrainz-5/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/library/libmusicbrainz-5/patches/02-fix-xmlGetLastError.patch | ●●●●● patch | view | raw | blame | history | |
components/library/libmusicbrainz-5/pkg5 | ●●●●● patch | view | raw | blame | history |
components/library/libmusicbrainz-5/Makefile
@@ -20,7 +20,7 @@ COMPONENT_NAME= libmusicbrainz COMPONENT_VERSION= 5.1.0 COMPONENT_REVISION= 4 COMPONENT_REVISION= 5 COMPONENT_SUMMARY= Software library for accessing MusicBrainz servers COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz @@ -34,6 +34,8 @@ include $(WS_MAKE_RULES)/common.mk CXXFLAGS += -fpermissive CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release CMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE=1 components/library/libmusicbrainz-5/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@ # # # Copyright 2023 <contributor> # Copyright 2024 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) components/library/libmusicbrainz-5/patches/02-fix-xmlGetLastError.patch
New file @@ -0,0 +1,20 @@ --- libmusicbrainz-5.1.0/src/xmlParser.cc.orig 2014-11-13 14:12:24.000000000 +0100 +++ libmusicbrainz-5.1.0/src/xmlParser.cc 2024-04-04 19:04:26.705610574 +0200 @@ -56,7 +56,7 @@ doc = xmlParseFile(filename.c_str()); if ((doc == NULL) && (results != NULL)) { - xmlErrorPtr error = xmlGetLastError(); + const xmlErrorPtr error = xmlGetLastError(); results->message = error->message; results->line = error->line; results->code = error->code; @@ -71,7 +71,7 @@ doc = xmlParseMemory(xml.c_str(), xml.length()); if ((doc == NULL) && (results != NULL)) { - xmlErrorPtr error = xmlGetLastError(); + const xmlErrorPtr error = xmlGetLastError(); results->message = error->message; results->line = error->line; results->code = error->code; components/library/libmusicbrainz-5/pkg5
@@ -10,4 +10,4 @@ "library/musicbrainz/libmusicbrainz-5" ], "name": "libmusicbrainz" } }