head 1.2; access; symbols pkgsrc-2013Q2:1.1.0.6 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.4 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.2 pkgsrc-2012Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2013.08.11.16.06.25; author jaapb; state dead; branches; next 1.1; commitid xwyXml4bU88yl31x; 1.1 date 2012.11.16.01.07.27; author joerg; state Exp; branches; next ; desc @@ 1.2 log @Updated package to version 2.3.3.4. This is an update of a very old version, so I'm not including the entire changelog here; see the package changelog for more details. The patch was originally submitted by Francois Tigeot as PR pkg/46156 - I've updated it since. @ text @$NetBSD: patch-src_CLucene_search_FieldCacheImpl.cpp,v 1.1 2012/11/16 01:07:27 joerg Exp $ --- src/CLucene/search/FieldCacheImpl.cpp.orig 2012-11-13 16:37:37.000000000 +0000 +++ src/CLucene/search/FieldCacheImpl.cpp @@@@ -414,7 +414,7 @@@@ FieldCacheImpl::FileEntry::FileEntry (co _CLDECDELETE(term); try { - Term* term = enumerator->term(false); + term = enumerator->term(false); if (term == NULL) { _CLTHROWA(CL_ERR_Runtime,"no terms in field - cannot determine sort type"); //todo: make rich error: " + field + " } @ 1.1 log @Fix an obvious infinite loop. Don't redefine variables. @ text @d1 1 a1 1 $NetBSD$ @