Date: Tue, 3 Sep 2013 16:28:17 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326170 - in head/textproc/clucene: . files Message-ID: <201309031628.r83GSH7n049607@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Sep 3 16:28:17 2013 New Revision: 326170 URL: http://svnweb.freebsd.org/changeset/ports/326170 Log: Allow to build with clang and libc++ Added: head/textproc/clucene/files/patch-libc++ (contents, props changed) Modified: head/textproc/clucene/Makefile Modified: head/textproc/clucene/Makefile ============================================================================== --- head/textproc/clucene/Makefile Tue Sep 3 16:27:44 2013 (r326169) +++ head/textproc/clucene/Makefile Tue Sep 3 16:28:17 2013 (r326170) @@ -20,7 +20,7 @@ USES= cmake iconv USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON -CXXFLAGS+= -D__LONG_LONG_SUPPORTED +CXXFLAGS+= -D__LONG_LONG_SUPPORTED -D_WCHAR_H_CPLUSPLUS_98_CONFIRMANCE_ post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR_REL}|' \ Added: head/textproc/clucene/files/patch-libc++ ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/clucene/files/patch-libc++ Tue Sep 3 16:28:17 2013 (r326170) @@ -0,0 +1,12 @@ +--- src/shared/CLucene/LuceneThreads.h.orig 2011-03-17 01:21:07.000000000 +0100 ++++ src/shared/CLucene/LuceneThreads.h 2013-09-03 18:25:01.380067076 +0200 +@@ -7,6 +7,9 @@ + #ifndef _LuceneThreads_h + #define _LuceneThreads_h + ++#if defined(_CL_HAVE_PTHREAD) ++#include <pthread.h> ++#endif + + CL_NS_DEF(util) + class CLuceneThreadIdCompare;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309031628.r83GSH7n049607>