deskutils/health: unbreak build after 599f9bacdc

tracker-rs < 0.6.0 has #[link(name = "tracker-sparql-3.0")]
which expects libtracker-sparql-3.0.so but devel/tinysparql
only installs libtracker-sparql-3.0.so.0.802.0.

This reverts commit 9257d22d3e.

PR:		285840
This commit is contained in:
Jan Beich 2025-04-10 19:28:27 +02:00
parent 64f3a6bf7e
commit 19c6bad4fe
2 changed files with 15 additions and 3 deletions

View file

@ -10,9 +10,6 @@ WWW= https://gitlab.gnome.org/World/Health
LICENSE= GPLv3+ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= fails to build with rust 1.86.0
EXPIRATION_DATE=2025-04-30
BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \ LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libsecret-1.so:security/libsecret \ libsecret-1.so:security/libsecret \

View file

@ -0,0 +1,15 @@
https://gitlab.gnome.org/World/Rust/tracker-rs/-/commit/c5bece2c2f34
ld: error: unable to find library -ltracker-sparql-3.0
--- cargo-crates/tracker-sys-0.4.3/src/lib.rs.orig 2006-07-24 01:21:28 UTC
+++ cargo-crates/tracker-sys-0.4.3/src/lib.rs
@@ -310,7 +310,7 @@ impl ::std::fmt::Debug for TrackerSparqlStatement {
}
}
-#[link(name = "tracker-sparql-3.0")]
+#[link(name = "tinysparql-3.0")]
extern "C" {
//=========================================================================