Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 17:39:10 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301174 - head/textproc/qt4-clucene/files
Message-ID:  <201207191739.q6JHdA0c004296@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Thu Jul 19 17:39:10 2012
New Revision: 301174
URL: http://svn.freebsd.org/changeset/ports/301174

Log:
  Apply patch to make the port build with libc++.
  
  libc++'s cwchar header introduces an ambiguity with clang that makes a
  few different versions of wcschr() be found. Talking to theraven@ it
  looks like a problem in the C++ standard itself, so there is not much
  more to do other than working around the issue with this patch.
  
  Since the clucene copy in Qt is old and has no maintainer, there is
  not much value in committing this upstream, even though it may be
  worth a try in the future.
  
  No PORTREVISION bump, as users of libstdc++ are not affected, and no
  dependencies have been changed.
  
  PR:               ports/169872
  Submitted by:     Jan Beich <jbeich@tormail.org>

Added:
  head/textproc/qt4-clucene/files/
  head/textproc/qt4-clucene/files/patch-src__3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp   (contents, props changed)

Added: head/textproc/qt4-clucene/files/patch-src__3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/qt4-clucene/files/patch-src__3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp	Thu Jul 19 17:39:10 2012	(r301174)
@@ -0,0 +1,11 @@
+--- src/3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp~
++++ src/3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp
+@@ -11,6 +11,8 @@ CL_NS_USE(util)
+ CL_NS_USE(index)
+ CL_NS_DEF(search)
+ 
++using ::wcschr;
++
+ FieldCacheImpl::FieldCacheImpl():
+     cache(false,true){
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207191739.q6JHdA0c004296>