# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= raptor VERSION= 2.0.16 KEYWORDS= textproc VARIANTS= std SDESC[std]= RDF Parser Toolkit for Redland HOMEPAGE= https://librdf.org/raptor/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://download.librdf.org/source/ DISTFILE[1]= raptor2-2.0.16.tar.gz:main DF_INDEX= 1 SPKGS[std]= set primary tools dev man docs OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= icu:dev:std yajl:dev:std BUILDRUN_DEPENDS= icu:primary:std yajl:primary:std USES= libtool pkgconfig curl GNOME_COMPONENTS= libxml2 libxslt DISTNAME= raptor2-2.0.16 FPC_EQUIVALENT= textproc/raptor2 MUST_CONFIGURE= gnu CONFIGURE_ARGS= --with-xml2-config={{LOCALBASE}}/bin/xml2-config --with-curl-config={{LOCALBASE}}/bin/curl-config --with-icu-config={{LOCALBASE}}/bin/icu-config --with-www=curl INSTALL_TARGET= install-strip post-install: ${MV} ${STAGEDIR}${PREFIX}/share/gtk-doc/html/raptor2 \ ${STAGEDIR}${STD_DOCDIR} ${RM} -r ${STAGEDIR}${PREFIX}/share/gtk-doc [FILE:272:descriptions/desc.primary] Raptor is the RDF Parser Toolkit for Redland and currently consists of two parsers: RDF/XML and N-Triples. Raptor is designed to integrate closely with Redland and also work entirely standalone, in which case it will use simple internal routines to perform the functions. [FILE:46:descriptions/desc.tools] This package contains the raptor rapper tool. [FILE:100:distinfo] 089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680 1750726 raptor2-2.0.16.tar.gz [FILE:43:manifests/plist.primary] lib/ libraptor2.so.0 libraptor2.so.0.0.0 [FILE:11:manifests/plist.tools] bin/rapper [FILE:97:manifests/plist.dev] include/raptor2/ raptor.h raptor2.h lib/ libraptor2.a libraptor2.so lib/pkgconfig/raptor2.pc [FILE:52:manifests/plist.man] share/man/man1/rapper.1 share/man/man3/libraptor2.3 [FILE:2938:manifests/plist.docs] share/doc/raptor/ home.png index.html introduction.html ix01.html left-insensitive.png left.png parser-grddl.html parser-guess.html parser-json.html parser-ntriples.html parser-rdfa.html parser-rdfxml.html parser-rss-tag-soup.html parser-trig.html parser-turtle.html raptor-formats-types-by-parser.html raptor-formats-types-by-serializer.html raptor-formats-types-index.html raptor-formats.html raptor-parsers.html raptor-serializers.html raptor2-changes-1-4-21-to-2-0-0.html raptor2-changes-2-0-10-to-2-0-11.html raptor2-changes-2-0-11-to-2-0-12.html raptor2-changes-2-0-13-to-2-0-14.html raptor2-changes-2-0-14-to-2-0-15.html raptor2-changes-2-0-15-to-2-0-16.html raptor2-changes-2-0-3-to-2-0-4.html raptor2-changes-2-0-4-to-2-0-5.html raptor2-changes-2-0-5-to-2-0-6.html raptor2-changes-2-0-6-to-2-0-7.html raptor2-changes-2-0-7-to-2-0-8.html raptor2-changes-2-0-9-to-2-0-10.html raptor2-changes.html raptor2-section-avltree.html raptor2-section-constants.html raptor2-section-general.html raptor2-section-iostream.html raptor2-section-locator.html raptor2-section-memory.html raptor2-section-option.html raptor2-section-parser.html raptor2-section-sax2.html raptor2-section-sequence.html raptor2-section-serializer.html raptor2-section-stringbuffer.html raptor2-section-triples.html raptor2-section-unicode.html raptor2-section-uri.html raptor2-section-world.html raptor2-section-www.html raptor2-section-xml-namespace.html raptor2-section-xml-qname.html raptor2-section-xml.html raptor2.devhelp2 reference-manual.html restrict-parser-network-access.html right-insensitive.png right.png serializer-atom.html serializer-dot.html serializer-json.html serializer-mkr.html serializer-nquads.html serializer-ntriples.html serializer-rdfxml-abbrev.html serializer-rdfxml-xmp.html serializer-rdfxml.html serializer-rss-1-0.html serializer-turtle.html style.css tutorial-initialising-finishing.html tutorial-parse-strictness.html tutorial-parser-abort.html tutorial-parser-content.html tutorial-parser-create.html tutorial-parser-destroy.html tutorial-parser-example.html tutorial-parser-features.html tutorial-parser-runtime-info.html tutorial-parser-set-error-warning-handlers.html tutorial-parser-set-id-handler.html tutorial-parser-set-namespace-handler.html tutorial-parser-set-triple-handler.html tutorial-parser-static-info.html tutorial-parsing.html tutorial-querying-functionality.html tutorial-serializer-create.html tutorial-serializer-declare-namespace.html tutorial-serializer-destroy.html tutorial-serializer-example.html tutorial-serializer-features.html tutorial-serializer-get-triples.html tutorial-serializer-runtime-info.html tutorial-serializer-send-triples.html tutorial-serializer-set-error-warning-handlers.html tutorial-serializer-to-destination.html tutorial-serializing.html tutorial.html up-insensitive.png up.png [FILE:1080:patches/patch-src_raptor__libxml.c] From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001 From: David Anes Date: Thu, 4 May 2023 11:54:02 +0200 Subject: [PATCH] Remove the access to entities 'checked' private symbol for libxml2 2.11.0 Since version 2.11.0, some private symbols that were never intended as public API/ABI have been removed from libxml2, therefore the field 'checked' is no longer present and raptor fails to build in this scenario. --- src/raptor_libxml.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- src/raptor_libxml.c.orig +++ src/raptor_libxml.c @@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name) ret->owner = 1; -#if LIBXML_VERSION >= 20627 +#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100 /* Checked field was released in 2.6.27 on 2006-10-25 * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6 * + * and was later removed in version 2.11.0 */ /* Mark this entity as having been checked - never do this again */ [FILE:1492:patches/patch-src_sort__r.h] --- src/sort_r.h.orig 2017-07-01 20:53:27 UTC +++ src/sort_r.h @@ -24,11 +24,12 @@ void sort_r(void *base, size_t nel, size defined OpenBSD3_1 || defined OpenBSD3_9 || defined __OpenBSD__ || \ defined __NetBSD__ || \ defined __DragonFly__ || \ - defined AMIGA) + defined AMIGA) && !defined(qsort_r) # define _SORT_R_BSD #elif (defined _GNU_SOURCE || defined __gnu_hurd__ || defined __GNU__ || \ defined __linux__ || defined __MINGW32__ || defined __GLIBC__ || \ - defined __CYGWIN__) + defined __CYGWIN__) || \ + defined(qsort_r) # define _SORT_R_LINUX #elif (defined _WIN32 || defined _WIN64 || defined __WINDOWS__) # define _SORT_R_WINDOWS @@ -65,7 +66,7 @@ void sort_r(void *base, size_t nel, size #if defined _SORT_R_BSD /* BSD requires argument swap */ - extern void qsort_r(void *base, size_t nel, size_t width, void *thunk, + extern void (qsort_r)(void *base, size_t nel, size_t width, void *thunk, int (*compar)(void *_thunk, const void *_a, const void *_b)); struct sort_r_data @@ -83,7 +84,7 @@ void sort_r(void *base, size_t nel, size #elif defined _SORT_R_LINUX typedef int(* __compar_d_fn_t)(const void *, const void *, void *); - extern void qsort_r(void *base, size_t nel, size_t width, + extern void (qsort_r)(void *base, size_t nel, size_t width, __compar_d_fn_t __compar, void *arg) __attribute__((nonnull (1, 4)));