1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

databases/kyotocabinet: fix build on GCC architectures

kcdirtest.cc: In member function 'virtual const char* procorder(const char*, int64_t, int32_t, bool, int32_t, bool, int32_t, int32_t, bool)::VisitorIterator::visit_full(const char*, size_t, const char*, size_t, size_t*)':
kcdirtest.cc:1030: error: 'class std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' has no member named 'emplace'
kcdirtest.cc: In member function 'virtual const char* procorder(const char*, int64_t, int32_t, bool, int32_t, bool, int32_t, int32_t, bool)::VisitorCursor::visit_full(const char*, size_t, const char*, size_t, size_t*)':
kcdirtest.cc:1095: error: 'class std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' has no member named 'emplace'

MFH:		2021Q1
This commit is contained in:
Piotr Kubaj 2021-01-12 17:45:11 +00:00
parent 4acd8af5ae
commit b8de0ced0c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561356

View File

@ -14,9 +14,8 @@ LICENSE= GPLv3
BROKEN_mips= fails to link: hidden symbol '__sync_lock_test_and_set_8' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO
BROKEN_mips64= fails to link: hidden symbol '__sync_lock_test_and_set_8' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO
BROKEN_powerpc= fails to link
USES= gmake
USES= compiler:c++11-lang gmake
CPPFLAGS+= -fPIC
GNU_CONFIGURE= yes