GNOME Bugzilla – Bug 793282
tracker-data-update.c fails to compile when --disable-fts is given
Last modified: 2018-02-13 00:28:42 UTC
Created attachment 368100 [details] [review] patch to fix the bug when trying to compile tracker (reproduced with version 2.0.3) with the --disable-fts option, the following error appears: [...] tracker-data-update.c: In function 'tracker_data_update_statement_with_uri': tracker-data-update.c:3175:20: error: 'resource_buffer' undeclared (first use in this function); did you mean 'resource_buffer_free'? for (r = 0; r < resource_buffer->types->len; r++) { ^~~~~~~~~~~~~~~ resource_buffer_free [...] tracker-data-update.c: In function 'tracker_data_update_statement_with_string': tracker-data-update.c:3340:16: error: 'resource_buffer' undeclared (first use in this function); did you mean 'resource_buffer_free'? resource_buffer->subject, ^~~~~~~~~~~~~~~ resource_buffer_free [...] This is apparently a miss from the restructure given in 66a6dc913729796ff7e8a69797571712be8fb40f I'm attaching a patch that fixes the issue.
Patch has been pushed to master as commit b8c121c33f. Thanks!