diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-13 14:06:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-13 14:06:55 +0100 |
commit | 3934efe28c70b1c21a60f38fe726a935c15f4e99 (patch) | |
tree | c322f38a215b05ff0c457366e08fab9255b64114 /clucene/patches | |
parent | Translate <title> to English (diff) | |
download | core-3934efe28c70b1c21a60f38fe726a935c15f4e99.tar.gz core-3934efe28c70b1c21a60f38fe726a935c15f4e99.zip |
sigh, need a 64bit zlib too on windows, reverting
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> |