MFH: r385143

chinese/librime: unbreak build on 8.x/9.x (libstdc++ 4.2+)

In file included from src/setup.cc:9:
In file included from include/rime/module.h:13:
include/rime/common.h:22:12: error: no member named 'unique_ptr' in namespace 'std'
include/rime/common.h:23:7: error: no member named 'shared_ptr' in namespace 'std'
include/rime/common.h:24:7: error: no member named 'weak_ptr' in namespace 'std'
include/rime/common.h:28:10: error: no template named 'dynamic_pointer_cast' in namespace 'std'
include/rime/common.h:38:15: error: no member named 'make_shared' in namespace 'std'
include/rime/common.h:38:30: error: no template named 'forward' in namespace 'std'

Reported by:	pkg-fallout
Approved by:	portmgr blanket
Approved by:	portmgr (bapt)
This commit is contained in:
Jan Beich 2015-05-12 15:23:22 +00:00
parent 1ab9e43c34
commit 2f6f597953
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2015Q2/; revision=386157

View File

@ -18,7 +18,7 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libopencc.so:${PORTSDIR}/chinese/opencc \
libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp
USES= cmake compiler:c++11-lang pkgconfig gettext perl5
USES= cmake compiler:c++11-lib pkgconfig gettext perl5
USE_PERL5= build patch
USE_LDCONFIG= yes
USE_XORG= xproto