git: 19c6bad4febb - main - deskutils/health: unbreak build after 599f9bacdc09

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 10 Apr 2025 17:35:44 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19c6bad4febbe3c65478ba7f51161120358a102a

commit 19c6bad4febbe3c65478ba7f51161120358a102a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-04-10 17:28:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-04-10 17:34:49 +0000

    deskutils/health: unbreak build after 599f9bacdc09
    
    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 9257d22d3ea121602b2c5a7624ef47cdfcdd2a6b.
    
    PR:             285840
---
 deskutils/health/Makefile               |  3 ---
 deskutils/health/files/patch-tinysparql | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/deskutils/health/Makefile b/deskutils/health/Makefile
index 0cea6498b044..f733cabe45ea 100644
--- a/deskutils/health/Makefile
+++ b/deskutils/health/Makefile
@@ -10,9 +10,6 @@ WWW=		https://gitlab.gnome.org/World/Health
 LICENSE=	GPLv3+
 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
 LIB_DEPENDS=	libgraphene-1.0.so:graphics/graphene \
 		libsecret-1.so:security/libsecret \
diff --git a/deskutils/health/files/patch-tinysparql b/deskutils/health/files/patch-tinysparql
new file mode 100644
index 000000000000..3fe0053cd482
--- /dev/null
+++ b/deskutils/health/files/patch-tinysparql
@@ -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" {
+ 
+     //=========================================================================