ports/151579: [patch] Unbreak databases/p5-Search-Xapian
Lucius Windschuh
lwindschuh at gmail.com
Tue Oct 19 14:40:09 UTC 2010
>Number: 151579
>Category: ports
>Synopsis: [patch] Unbreak databases/p5-Search-Xapian
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 19 14:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Lucius Windschuh
>Release: 9.0-CURRENT r213041
>Organization:
>Environment:
FreeBSD t400 9.0-CURRENT FreeBSD 9.0-CURRENT #6 r213567MP: Fri Oct 8 13:43:35 CEST 2010 root at t400:/usr/obj/usr/src/sys/CURRENT i386
>Description:
Xapian removed the add_boolean_term() function, but the Search::Xapian plugin does not reflect this change. We should update Search::Xapian to a newer version, I suppose. But as a quick fix, we may inline the definition of add_boolean_term from http://xapian.org/docs/sourcedoc/html/include_2xapian_2document_8h-source.html .
This is what the attached patch does, effectively unbreaking the build.
>How-To-Repeat:
>Fix:
Put the attached file into files/
Patch attached with submission follows:
--- XS/Document.xs-orig 2010-10-19 16:20:44.000000000 +0200
+++ XS/Document.xs 2010-10-19 16:21:58.000000000 +0200
@@ -104,7 +104,7 @@
string tname
CODE:
try {
- THIS->add_boolean_term(tname);
+ THIS->add_term(tname, 0);
} catch (const Error &error) {
croak("Exception: %s", error.get_msg().c_str());
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list