diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-17 16:35:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-17 16:36:04 +0000 |
commit | a818fa05c34bb2e969e2fe1972d9a52774538beb (patch) | |
tree | dd673c0df2e8c50445cb689e2c52df4e74752e72 /clucene/patches | |
parent | ecb1599ad00e71dfe05f3ae9a71bdce5f7540a40 (diff) |
get clucene building under windows-msvc
Diffstat (limited to 'clucene/patches')
-rw-r--r-- | clucene/patches/clucene-internal-zlib.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clucene/patches/clucene-internal-zlib.patch b/clucene/patches/clucene-internal-zlib.patch new file mode 100644 index 000000000000..666792634456 --- /dev/null +++ b/clucene/patches/clucene-internal-zlib.patch @@ -0,0 +1,15 @@ +--- src/shared/CLucene/util/Misc.cpp 2012-02-17 15:33:09.217891100 +0000 ++++ src/shared/CLucene/util/Misc.cpp 2012-02-17 15:38:10.836597500 +0000 +@@ -34,7 +34,11 @@ + #include "CLucene/util/dirent.h" //if we have dirent, then the native one will be used + + //for zlib... +-#include "zlib.h" ++#ifdef SYSTEM_ZLIB ++#include <zlib.h> ++#else ++#include <external/zlib/zlib.h> ++#endif + #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__) + # include <fcntl.h> + # include <io.h> |