freebsd-ports/textproc/clucene-contrib/files/patch-src_CLucene_jstreams_gzipinputstream.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
502 B
C++

--- src/CLucene/jstreams/gzipinputstream.h Sat Feb 10 13:56:34 2007
+++ src/CLucene/jstreams/gzipinputstream.h.orig Fri Nov 24 13:42:02 2006
@@ -24,7 +24,8 @@
bool checkMagic();
public:
enum ZipFormat { ZLIBFORMAT, GZIPFORMAT, ZIPFORMAT};
- GZipInputStream(StreamBase<char>* input, ZipFormat format=GZIPFORMAT);
+ explicit GZipInputStream(StreamBase<char>* input,
+ ZipFormat format=GZIPFORMAT);
~GZipInputStream();
int32_t fillBuffer(char* start, int32_t space);
};