diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-11 14:20:00 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-11 14:20:00 +0200 |
commit | cdbcf983a9c044561d6ebcb8e583335e22d3f144 (patch) | |
tree | c38f8dcd5698d66b4d0447f8495be71cb774606d /media-libs/raptor | |
parent | dev-java/lz4-java: fix java.lang.UnsatisfiedLinkError #936533 (diff) | |
download | gentoo-cdbcf983a9c044561d6ebcb8e583335e22d3f144.tar.gz gentoo-cdbcf983a9c044561d6ebcb8e583335e22d3f144.tar.bz2 gentoo-cdbcf983a9c044561d6ebcb8e583335e22d3f144.zip |
media-libs/raptor: dropped obsolete 2.0.15-r8
Bug: https://bugs.gentoo.org/937305
Closes: https://bugs.gentoo.org/935487
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/raptor')
11 files changed, 0 insertions, 512 deletions
diff --git a/media-libs/raptor/Manifest b/media-libs/raptor/Manifest index 3c5ab4ee0c47..1711447e5913 100644 --- a/media-libs/raptor/Manifest +++ b/media-libs/raptor/Manifest @@ -1,2 +1 @@ -DIST raptor2-2.0.15.tar.gz 1886657 BLAKE2B 0a39c7b5705bfbf2daa0ca633f79693953b4dfe24c144008d1646a9840a36d4d7ce153b527450647127ec2522047dbd0a6e71f307ee5656951f7e4b610adfd22 SHA512 563dd01869eb4df8524ec12e2c0a541653874dcd834bd1eb265bc2943bb616968f624121d4688579cdce11b4f00a8ab53b7099f1a0850e256bb0a2c16ba048ee DIST raptor2-2.0.16.tar.gz 1750726 BLAKE2B 1e5e5742ba4cdaacb98a9ba77a9352589df0da60869e7721ee140c81ed4886bf909b37b247bd925c82a4ac44b3c11a909c913f0851d49a1d9d91c9293189266d SHA512 9bd5cff36390e1e0ef15ac56e5413ecfceb4018cb531a4da8850d3623615f12a93690a78be61f9d9ae7a24e16f6446e356bc2b7f34051ddc077761d85a9b7c44 diff --git a/media-libs/raptor/files/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch b/media-libs/raptor/files/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch deleted file mode 100644 index dc693dfec222..000000000000 --- a/media-libs/raptor/files/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a549457461874157c8c8e8e8a6e0eec06da4fbd0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> -Date: Tue, 24 Nov 2020 10:30:20 +0000 -Subject: [PATCH] CVE-2020-25713 raptor2: malformed input file can lead to a - segfault - -due to an out of bounds array access in -raptor_xml_writer_start_element_common - -See: -https://bugs.mageia.org/show_bug.cgi?id=27605 -https://www.openwall.com/lists/oss-security/2020/11/13/1 -https://gerrit.libreoffice.org/c/core/+/106249 ---- - src/raptor_xml_writer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c -index 56993dc3..4426d38c 100644 ---- a/src/raptor_xml_writer.c -+++ b/src/raptor_xml_writer.c -@@ -227,7 +227,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, - - /* check it wasn't an earlier declaration too */ - for(j = 0; j < nspace_declarations_count; j++) -- if(nspace_declarations[j].nspace == element->attributes[j]->nspace) { -+ if(nspace_declarations[j].nspace == element->attributes[i]->nspace) { - declare_me = 0; - break; - } --- -2.28.0 diff --git a/media-libs/raptor/files/raptor-2.0.15-clang-pointer-integer-warning.patch b/media-libs/raptor/files/raptor-2.0.15-clang-pointer-integer-warning.patch deleted file mode 100644 index badb450456e4..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-clang-pointer-integer-warning.patch +++ /dev/null @@ -1,44 +0,0 @@ -https://bugs.gentoo.org/869380 -https://github.com/dajobe/raptor/commit/567d4d1ab639d924e8d5af459476f331b9af0ce5 - -From: Dave Beckett <dave@dajobe.org> -Date: Tue, 4 Nov 2014 15:25:20 -0800 -Subject: [PATCH] Fix error returns in new world methods - -(raptor_world_get_parser_factory, -raptor_world_get_serializers_count): Fix return value in assertions ---- a/src/raptor_parse.c -+++ b/src/raptor_parse.c -@@ -252,12 +252,12 @@ raptor_world_get_parser_factory(raptor_world *world, const char *name) - * - * Get number of parsers - * -- * Return value: number of parsers -+ * Return value: number of parsers or <0 on failure - **/ - int - raptor_world_get_parsers_count(raptor_world* world) - { -- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL); -+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, -1); - - raptor_world_open(world); - ---- a/src/raptor_serialize.c -+++ b/src/raptor_serialize.c -@@ -235,12 +235,12 @@ raptor_get_serializer_factory(raptor_world* world, const char *name) - * - * Get number of serializers - * -- * Return value: number of serializers -+ * Return value: number of serializers or <0 on failure - **/ - int - raptor_world_get_serializers_count(raptor_world* world) - { -- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL); -+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, -1); - - raptor_world_open(world); - - diff --git a/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch b/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch deleted file mode 100644 index ab62fd9bff0c..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/dajobe/raptor/pull/55 - -From b7c252e1d5601321a5a6f6627745753b5c704762 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Fri, 4 Nov 2022 01:53:32 +0000 -Subject: [PATCH] configure.ac: fix -Wimplicit-function-declaration in - HAVE___FUNCTION__ test - -This breaks with Clang 16 which makes such errors fatal: -``` -error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] -error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] -``` - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/configure.ac -+++ b/configure.ac -@@ -335,7 +335,8 @@ AC_C_BIGENDIAN - AC_C_INLINE - - AC_MSG_CHECKING(whether __FUNCTION__ is available) --AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main() { printf(__FUNCTION__); }])], -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include <stdio.h> -+int main() { printf(__FUNCTION__); }])], - [AC_DEFINE([HAVE___FUNCTION__], [1], [Is __FUNCTION__ available]) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - diff --git a/media-libs/raptor/files/raptor-2.0.15-dont_use_curl-config.patch b/media-libs/raptor/files/raptor-2.0.15-dont_use_curl-config.patch deleted file mode 100644 index bab174176cbe..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-dont_use_curl-config.patch +++ /dev/null @@ -1,59 +0,0 @@ -https://bugs.gentoo.org/552474 - ---- raptor2-2.0.15/configure.ac -+++ raptor2-2.0.15/configure.ac -@@ -524,49 +524,12 @@ - fi - fi - --dnl curl --AC_ARG_WITH(curl-config, [ --with-curl-config=PATH Location of libcurl curl-config []], curl_config="$withval", curl_config="") -- --if test "X$curl_config" != "Xno" ; then -- if test "X$curl_config" != "X" ; then -- AC_MSG_CHECKING(for $curl_config) -- -- if test -f $curl_config ; then -- CURL_CONFIG=$curl_config -- AC_MSG_RESULT(yes) -- else -- AC_MSG_RESULT(no - searching PATH) -- fi -- fi -- if test "X$CURL_CONFIG" = "X" ; then -- AC_CHECK_PROGS(CURL_CONFIG, curl-config) -- fi --fi -- - libcurl_source=no --if test "X$CURL_CONFIG" != "X"; then -- LIBCURL_CFLAGS=`$CURL_CONFIG --cflags` -- LIBCURL_LIBS=`$CURL_CONFIG --libs` -- -- CPPFLAGS="$LIBCURL_CFLAGS $CPPFLAGS" -- LIBS="$LIBS $LIBCURL_LIBS" -- AC_CHECK_HEADER(curl/curl.h) -- AC_CHECK_FUNC(curl_easy_init, have_curl_easy_init=yes, have_curl_easy_init=no) -- -- AC_MSG_CHECKING(for libcurl via curl-config) -- if test $have_curl_easy_init = yes; then -- libcurl_source="curl-config" -- LIBCURL_VERSION=`$CURL_CONFIG --version | sed -e 's/^libcurl *//'` -- fi -- CPPFLAGS="$oCPPFLAGS" -- LIBS="$oLIBS" --else -- PKG_CHECK_MODULES([LIBCURL],[libcurl],[ -- LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion` -- libcurl_source="pkg-config" -- ], [:]) -- AC_MSG_CHECKING(for libcurl via pkg-config) --fi -+PKG_CHECK_MODULES([LIBCURL],[libcurl],[ -+ LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion` -+ libcurl_source="pkg-config" -+], [:]) -+AC_MSG_CHECKING(for libcurl via pkg-config) - - if test "$libcurl_source" = "no"; then - AC_MSG_RESULT(no - not found) diff --git a/media-libs/raptor/files/raptor-2.0.15-heap-overflow.patch b/media-libs/raptor/files/raptor-2.0.15-heap-overflow.patch deleted file mode 100644 index 3418d4bfd261..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-heap-overflow.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 590681e546cd9aa18d57dc2ea1858cb734a3863f Mon Sep 17 00:00:00 2001 -From: Dave Beckett <dave@dajobe.org> -Date: Sun, 16 Apr 2017 23:15:12 +0100 -Subject: [PATCH] Calcualte max nspace declarations correctly for XML writer - -(raptor_xml_writer_start_element_common): Calculate max including for -each attribute a potential name and value. - -Fixes Issues #0000617 http://bugs.librdf.org/mantis/view.php?id=617 -and #0000618 http://bugs.librdf.org/mantis/view.php?id=618 ---- - src/raptor_xml_writer.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c -index 693b946..0d3a36a 100644 ---- a/src/raptor_xml_writer.c -+++ b/src/raptor_xml_writer.c -@@ -181,9 +181,10 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, - size_t nspace_declarations_count = 0; - unsigned int i; - -- /* max is 1 per element and 1 for each attribute + size of declared */ - if(nstack) { -- int nspace_max_count = element->attribute_count+1; -+ int nspace_max_count = element->attribute_count * 2; /* attr and value */ -+ if(element->name->nspace) -+ nspace_max_count++; - if(element->declared_nspaces) - nspace_max_count += raptor_sequence_size(element->declared_nspaces); - if(element->xml_language) -@@ -237,7 +238,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, - } - } - -- /* Add the attribute + value */ -+ /* Add the attribute's value */ - nspace_declarations[nspace_declarations_count].declaration= - raptor_qname_format_as_xml(element->attributes[i], - &nspace_declarations[nspace_declarations_count].length); --- -2.9.3 diff --git a/media-libs/raptor/files/raptor-2.0.15-libxml2-2.11.patch b/media-libs/raptor/files/raptor-2.0.15-libxml2-2.11.patch deleted file mode 100644 index 605301ca0fd1..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-libxml2-2.11.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://bugs.gentoo.org/906227 -https://github.com/dajobe/raptor/issues/59 -https://github.com/dajobe/raptor/pull/58 - -From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001 -From: David Anes <david.anes@suse.com> -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. ---- a/src/raptor_libxml.c -+++ b/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 */ - diff --git a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-icu.patch b/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-icu.patch deleted file mode 100644 index 60fffcd804ee..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-icu.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://github.com/dajobe/raptor/commit/3af116d61babd7042b42018c67a63baebf486df7 - -Fixes build with e.g. lld. - -From 3af116d61babd7042b42018c67a63baebf486df7 Mon Sep 17 00:00:00 2001 -From: Hugh McMaster <hugh.mcmaster@outlook.com> -Date: Fri, 21 Aug 2020 20:48:17 +1000 -Subject: [PATCH] configure.ac: Use PKG_CHECK_MODULES to detect the ICU library - ---- a/configure.ac -+++ b/configure.ac -@@ -621,21 +621,10 @@ else - AC_MSG_RESULT(yes - $LIBCURL_VERSION) - fi - -- --AC_ARG_WITH(icu-config, [ --with-icu-config=PATH Location of ICU icu-config []], icu_config="$withval", icu_config="") -- --have_icu=no --AC_MSG_CHECKING(for ICU) --if test "X$icu_config" != "Xno" -a "X$icu_config" != "X" ; then -- ICU_CONFIG=$icu_config -- ICU_VERSION=`$ICU_CONFIG --version` -+PKG_CHECK_MODULES([ICU], [icu-uc], [ - have_icu=yes -- AC_MSG_RESULT(yes - version $ICU_VERSION) --else -- AC_MSG_RESULT(no) --fi --dnl Note there is NO automated searching for icu-config -- -+ ICU_VERSION=`$PKG_CONFIG icu-uc --modversion` -+], [have_icu=no]) - - AC_ARG_WITH(www-config, [ --with-libwww-config=PATH Location of W3C libwww libwww-config []], libwww_config="$withval", libwww_config="") - -@@ -1183,8 +1172,8 @@ dnl ICU for NFC check - AC_MSG_CHECKING(NFC library to use) - nfc_library=none - if test $need_icu = yes; then -- CPPFLAGS="$CPPFLAGS `$ICU_CONFIG --cppflags-searchpath`" -- RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS `$ICU_CONFIG --ldflags-searchpath` -licuuc" -+ CPPFLAGS="$CPPFLAGS $ICU_CFLAGS" -+ RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS $ICU_LIBS" - AC_LIBOBJ(raptor_nfc_icu) - nfc_library="ICU $ICU_VERSION" - fi - diff --git a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxml2.patch b/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxml2.patch deleted file mode 100644 index e53111b857fa..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxml2.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://github.com/dajobe/raptor/commit/3f9335b3cfd945a8d5f6f75f87cab04c53cc2b6d - -From 3f9335b3cfd945a8d5f6f75f87cab04c53cc2b6d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> -Date: Tue, 27 Oct 2015 10:35:35 +0100 -Subject: [PATCH] configure.ac: do additional checks on libxml2 when library is - found -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In yocto cross environments we must use pkg-config. Configuring with - - --without-xml2-config - --without-curl-config - -causes - -| checking for LIBXML... yes -| checking for libxml via pkg-config... yes - 2.9.2 -| checking for LIBCURL... yes -| checking for libcurl via pkg-config... yes - 7.44.0 -| checking for ICU... no -| checking for yajl installation... not found. Get it from http://lloyd.github.com/yajl/ and use --with-yajl=DIR if necessary to configure the installation directory. -| checking GRDDL parser requirements... no - libxml2 and libxslt are both not available - -Applying this patch fixes configuration. - -Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> ---- a/configure.ac -+++ b/configure.ac -@@ -599,7 +599,7 @@ have_libxml=0 - need_libxml=0 - - oCPPFLAGS="$CPPFLAGS" --if test "X$XML_CONFIG" != X; then -+if test "X$libxml_source" != X; then - CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS" - LIBS="$LIBS $LIBXML_LIBS" - AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no) - diff --git a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxslt.patch b/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxslt.patch deleted file mode 100644 index 5ef9ac1b6ffa..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxslt.patch +++ /dev/null @@ -1,102 +0,0 @@ -Rebased version of https://github.com/dajobe/raptor/commit/abfdfb44cc00dfafbad4e594618621fce21590e1 - ---- a/configure.ac -+++ b/configure.ac -@@ -524,6 +524,44 @@ if test "X$xslt_config" != "Xno" ; then - fi - fi - -+if test "X$XSLT_CONFIG" != "X"; then -+ XSLT_CFLAGS=`$XSLT_CONFIG --cflags` -+ XSLT_LIBS=`$XSLT_CONFIG --libs` -+ -+ CPPFLAGS="$XSLT_CFLAGS $CPPFLAGS" -+ LIBS="$LIBS $XSLT_LIBS" -+ -+ AC_CHECK_FUNC(xsltSaveResultToString, have_xsltSaveResultToString=yes, have_xsltSaveResultToString=no) -+ AC_MSG_CHECKING(for libxslt via xslt-config) -+ if test $have_xsltSaveResultToString = yes; then -+ have_libxslt=1 -+ LIBXSLT_VERSION=`$XSLT_CONFIG --version` -+ libxslt_version_dec=`echo $LIBXSLT_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` -+ libxslt_min_version_dec=`echo $libxslt_min_version | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + 3)};'` -+ AC_MSG_RESULT(yes - version $LIBXSLT_VERSION) -+ if test $libxslt_version_dec -lt $libxslt_min_version_dec; then -+ AC_MSG_WARN(Using libxslt $LIBXSLT_VERSION is unsupported - $libxslt_min_version or newer required.) -+ have_libxslt=0 -+ fi -+ fi -+ -+ AC_CHECK_FUNC(xsltInit) -+ -+ AC_CHECK_HEADERS(libxslt/xslt.h) -+ if test "$ac_cv_header_libxslt_xslt_h" = no ; then -+ AC_MSG_WARN(libxslt library found but not headers - disabling) -+ have_libxslt_lib=0 -+ have_libxslt=0 -+ fi -+ CPPFLAGS="$oCPPFLAGS" -+ LIBS="$oLIBS" -+else -+ PKG_CHECK_MODULES([XSLT], [libxslt > $libxslt_min_version], [ -+ LIBXSLT_VERSION=`$PKG_CONFIG libxslt --modversion` -+ have_libxslt=1 -+ ], [have_libxslt=0]) -+fi -+ - libcurl_source=no - PKG_CHECK_MODULES([LIBCURL],[libcurl],[ - LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion` -@@ -650,41 +688,6 @@ fi - CPPFLAGS="$oCPPFLAGS" - LIBS="$oLIBS" - -- --have_libxslt=0 -- --if test "X$XSLT_CONFIG" != X; then -- CPPFLAGS="`$XSLT_CONFIG --cflags` $CPPFLAGS" -- LIBS="$LIBS `$XSLT_CONFIG --libs`" -- AC_CHECK_FUNC(xsltSaveResultToString, have_xsltSaveResultToString=yes, have_xsltSaveResultToString=no) -- AC_MSG_CHECKING(for system libxslt library) -- if test $have_xsltSaveResultToString = yes; then -- have_libxslt=1 -- LIBXSLT_VERSION=`$XSLT_CONFIG --version` -- libxslt_version_dec=`echo $LIBXSLT_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` -- libxslt_min_version_dec=`echo $libxslt_min_version | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` -- AC_MSG_RESULT(yes - version $LIBXSLT_VERSION) -- if test $libxslt_version_dec -lt $libxslt_min_version_dec; then -- AC_MSG_WARN(Using libxslt $LIBXSLT_VERSION is unsupported - $libxslt_min_version or newer required.) -- have_libxslt=0 -- fi -- else -- AC_MSG_RESULT(no) -- fi -- -- AC_CHECK_FUNC(xsltInit) -- -- AC_CHECK_HEADERS(libxslt/xslt.h) -- if test "$ac_cv_header_libxslt_xslt_h" = no ; then -- AC_MSG_WARN(libxslt library found but not headers - disabling) -- have_libxslt_lib=0 -- have_libxslt=0 -- fi --fi --CPPFLAGS="$oCPPFLAGS" --LIBS="$oLIBS" -- -- - dnl Check for JSON library - - AC_ARG_WITH(yajl, [ --with-yajl=DIR YAJL installation directory or 'no' to disable (default=auto)], yajl_prefix="$withval", yajl_prefix="none") -@@ -1184,8 +1187,8 @@ AM_CONDITIONAL(RAPTOR_XML_LIBXML, test $need_libxml = 1) - - - if test $need_libxslt = 1; then -- RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS `$XSLT_CONFIG --libs`" -- CPPFLAGS="`$XSLT_CONFIG --cflags` $CPPFLAGS" -+ RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS $XSLT_LIBS" -+ CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS" - fi - - if test $need_libyajl = 1; then diff --git a/media-libs/raptor/raptor-2.0.15-r8.ebuild b/media-libs/raptor/raptor-2.0.15-r8.ebuild deleted file mode 100644 index 76527c9ee736..000000000000 --- a/media-libs/raptor/raptor-2.0.15-r8.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal - -MY_PN=${PN}2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="The RDF Parser Toolkit" -HOMEPAGE="https://librdf.org/raptor/" -SRC_URI="https://download.librdf.org/source/${MY_P}.tar.gz" - -LICENSE="Apache-2.0 GPL-2 LGPL-2.1" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+curl debug json static-libs" - -DEPEND=" - dev-libs/libxml2[${MULTILIB_USEDEP}] - dev-libs/libxslt[${MULTILIB_USEDEP}] - dev-libs/icu:=[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) - json? ( dev-libs/yajl[${MULTILIB_USEDEP}] ) -" -RDEPEND="${DEPEND} - !media-libs/raptor:0 -" -BDEPEND=" - >=sys-devel/bison-3 - app-alternatives/lex - virtual/pkgconfig -" - -S="${WORKDIR}/${MY_P}" - -DOCS=( AUTHORS ChangeLog NEWS NOTICE README ) -HTML_DOCS=( {NEWS,README,RELEASE,UPGRADING}.html ) - -PATCHES=( - "${FILESDIR}/${P}-heap-overflow.patch" - "${FILESDIR}/${P}-dont_use_curl-config.patch" #552474 - "${FILESDIR}/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch" - "${FILESDIR}/${P}-use-pkg-config-libxml2.patch" - "${FILESDIR}/${P}-use-pkg-config-icu.patch" - "${FILESDIR}/${P}-use-pkg-config-libxslt.patch" - "${FILESDIR}/${P}-clang-pointer-integer-warning.patch" - "${FILESDIR}/${P}-configure-clang16.patch" - "${FILESDIR}/${P}-libxml2-2.11.patch" -) - -src_prepare() { - default - - # bug #552474 - eautoreconf - - multilib_copy_sources -} - -multilib_src_configure() { - # FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn! - - local myeconfargs=( - --with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html - $(usex curl --with-www=curl --with-www=xml) - $(use_enable debug) - $(use_with json yajl) - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - emake -j1 test -} - -multilib_src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} |