openbsd-ports/x11/gnome/tracker/patches/patch-src_tracker-indexer_tracker-removable-device_c
2009-10-15 20:55:08 +00:00

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_tracker-indexer_tracker-removable-device_c,v 1.2 2009/10/15 20:55:08 jasper Exp $
We do not support HAL.
--- src/tracker-indexer/tracker-removable-device.c.orig Mon May 11 18:15:55 2009
+++ src/tracker-indexer/tracker-removable-device.c Thu Oct 15 14:06:44 2009
@@ -119,7 +119,11 @@ commit_turtle_parse_info_storer (TurtleStorerInfo *inf
data = tracker_module_metadata_get_hash_table (info->metadata);
hal = tracker_indexer_get_hal (info->indexer);
+#ifdef HAVE_HAL
udi = tracker_hal_udi_get_for_path (hal, dest_path);
+#else
+ udi = NULL;
+#endif
tracker_data_update_delete_service_by_path (path, info->rdf_type);
tracker_data_update_replace_service (udi,
@@ -133,7 +137,11 @@ commit_turtle_parse_info_storer (TurtleStorerInfo *inf
data = tracker_module_metadata_get_hash_table (info->metadata);
hal = tracker_indexer_get_hal (info->indexer);
+#ifdef HAVE_HAL
udi = tracker_hal_udi_get_for_path (hal, path);
+#else
+ udi = NULL;
+#endif
tracker_data_update_replace_service (udi,
path,