ports/textproc/clucene/files/patch-src__shared__CMakeLists.txt
Jung-uk Kim 31a4a592a1 - Fix a buffer overflow in highlighter. [1]
- Apply upstream patches to plug a memory leak, etc.
- Move CLuceneConfig.cmake to DATADIR as other ports do.
- Fix several problems found by Clang and make it build cleanly.

Submitted by:	Kishore Ramareddy (kishore at niksun dot com)
		(initial version) [1]
2013-03-28 00:18:41 +00:00

20 lines
1 KiB
Text

--- src/shared/CMakeLists.txt.orig 2011-03-16 20:21:07.000000000 -0400
+++ src/shared/CMakeLists.txt 2013-03-27 17:31:13.000000000 -0400
@@ -42,7 +42,7 @@
find_package(ZLIB)
IF ( ZLIB_FOUND )
SET ( EXTRA_LIBS ${EXTRA_LIBS} ${ZLIB_LIBRARY} )
-ELSEIF ( ZLIB_FOUND )
+ELSE ( ZLIB_FOUND )
MESSAGE( "ZLIB not found, using local: ${clucene-ext_SOURCE_DIR}/zlib" )
SET(ZLIB_INCLUDE_DIR ${clucene-ext_SOURCE_DIR}/zlib )
SET(ZLIB_LIBRARY ${clucene-ext_BINARY_DIR})
@@ -62,7 +62,7 @@
stdint.h unistd.h io.h direct.h sys/dir.h sys/ndir.h dirent.h wctype.h fcntl.h
stat.h sys/stat.h stdexcept errno.h fcntl.h windef.h windows.h wchar.h
hash_map hash_set ext/hash_map ext/hash_map tr1/unordered_set tr1/unordered_map
- sys/timeb.h tchar.h strings.h stdexcept sys/mman.h winerror.h )
+ tchar.h strings.h stdexcept sys/mman.h winerror.h )
########################################################################