From ea82720e1ab54dab07d82ba982ce3bf8a58d1974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 16 Aug 2021 20:44:31 +0200 Subject: [PATCH] redland: Fix pkgconfig sanity check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...and.pc.in-remove-rdf-s-private-flags.patch | 31 +++++++++++++++++++ recipes-support/redland/redland_1.0.17.bb | 5 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 recipes-support/redland/redland/0001-redland.pc.in-remove-rdf-s-private-flags.patch diff --git a/recipes-support/redland/redland/0001-redland.pc.in-remove-rdf-s-private-flags.patch b/recipes-support/redland/redland/0001-redland.pc.in-remove-rdf-s-private-flags.patch new file mode 100644 index 0000000..c866734 --- /dev/null +++ b/recipes-support/redland/redland/0001-redland.pc.in-remove-rdf-s-private-flags.patch @@ -0,0 +1,31 @@ +From 0f1da792935642bc0d73af867ea5be8323962f19 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 16 Aug 2021 20:38:28 +0200 +Subject: [PATCH] redland.pc.in: remove rdf's private flags +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +* flags are not required +* fails OE's pkgconfig sanity test + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + redland.pc.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/redland.pc.in b/redland.pc.in +index 3ca3bb9..f92932d 100644 +--- a/redland.pc.in ++++ b/redland.pc.in +@@ -14,5 +14,4 @@ Description: Redland RDF API and triple store library + Requires.private: raptor2 >= @RAPTOR_MIN_VERSION@, rasqal >= @RASQAL_MIN_VERSION@, rasqal <= @RASQAL_MAX_VERSION@ + Version: @VERSION@ + Libs: -L${libdir} -lrdf +-Libs.private: @LIBRDF_LDFLAGS@ @LIBRDF_PKGCONFIG_PRIVATE_LIBS@ + Cflags: -I${includedir} +-- +2.31.1 + diff --git a/recipes-support/redland/redland_1.0.17.bb b/recipes-support/redland/redland_1.0.17.bb index 50aa3c7..7ce28b1 100644 --- a/recipes-support/redland/redland_1.0.17.bb +++ b/recipes-support/redland/redland_1.0.17.bb @@ -7,7 +7,10 @@ LIC_FILES_CHKSUM = " \ DEPENDS = "rasqal mariadb libtool" -SRC_URI = "http://download.librdf.org/source/${BPN}-${PV}.tar.gz" +SRC_URI = " \ + http://download.librdf.org/source/${BPN}-${PV}.tar.gz \ + file://0001-redland.pc.in-remove-rdf-s-private-flags.patch \ +" SRC_URI[md5sum] = "e5be03eda13ef68aabab6e42aa67715e" SRC_URI[sha256sum] = "de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681"