Since the upgrade to boost-1.34, some sherlock search engines

description (.src) were not parsed completely, and these engines were
anavailable; fix that.

Submitted by:	Fabrice Colin <fabrice.colin (at) gmail.com> (author)
This commit is contained in:
Thierry Thomas 2007-08-14 13:30:08 +00:00
parent 29eeae057b
commit 959b223649
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197662
2 changed files with 23 additions and 1 deletions

View File

@ -6,7 +6,7 @@
PORTNAME= pinot
PORTVERSION= 0.75
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_BERLIOS}
#MASTER_SITES= http://www.chez.com/colinf/pinot/ \

View File

@ -0,0 +1,22 @@
--- Search/SherlockParser.cpp.orig Tue Jun 19 16:15:11 2007
+++ Search/SherlockParser.cpp Tue Aug 14 12:45:25 2007
@@ -535,7 +535,8 @@
userInput, nextInput, nextFactor, nextValue);
parse_info<> parseInfo = boost::spirit::parse(pData, plugin, skip);
- fullParsing = parseInfo.full;
+ //fullParsing = parseInfo.full;
+ fullParsing = parseInfo.hit;
}
else
{
@@ -543,7 +544,8 @@
plugin_min_grammar plugin(searchParams);
parse_info<> parseInfo = boost::spirit::parse(pData, plugin, skip);
- fullParsing = parseInfo.full;
+ //fullParsing = parseInfo.full;
+ fullParsing = parseInfo.hit;
}
}
catch (const exception &e)