freebsd-ports/textproc/clucene-contrib/files/patch-src_CLucene_jstreams_fileinputstream.h
Josh Paetzel be5629e921 CLucene is a C++ port of Lucene: the high-performance,
full-featured text search engine written in Java.
CLucene is faster than lucene as it is written in C++.

WWW:	http://sourceforge.net/projects/clucene/

PR:		ports/151951
Submitted by:	Tom Judge <tom at tomjudge.com>
2010-11-05 15:49:20 +00:00

12 lines
479 B
C++

--- src/CLucene/jstreams/fileinputstream.h Sat Feb 10 13:56:34 2007
+++ src/CLucene/jstreams/fileinputstream.h.orig Fri Nov 24 13:42:02 2006
@@ -18,7 +18,8 @@
public:
static const int32_t defaultBufferSize;
- FileInputStream(const char *filepath, int32_t buffersize=defaultBufferSize);
+ explicit FileInputStream(const char *filepath,
+ int32_t buffersize=defaultBufferSize);
~FileInputStream();
int32_t fillBuffer(char* start, int32_t space);
};