Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 795595 Details for
Bug 862195
dev-cpp/clucene: fails to build with libcxx
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Modifications to VoidMap.h file
VoidMap.patch (text/plain), 798 bytes, created by
asdfg
on 2022-07-29 23:33:49 UTC
(
hide
)
Description:
Modifications to VoidMap.h file
Filename:
MIME Type:
Creator:
asdfg
Created:
2022-07-29 23:33:49 UTC
Size:
798 bytes
patch
obsolete
>--- a/src/core/CLucene/util/VoidMap.h >+++ b/src/core/CLucene/util/VoidMap.h >@@ -11,8 +11,13 @@ > #include "CLucene/LuceneThreads.h" > > #if defined(_CL_HAVE_TR1_UNORDERED_MAP) && defined(_CL_HAVE_TR1_UNORDERED_SET) >+#if defined(_LIBCPP_VERSION) >+ #include <unordered_map> >+ #include <unordered_set> >+#else > #include <tr1/unordered_map> > #include <tr1/unordered_set> >+#endif > #elif defined(_CL_HAVE_HASH_MAP) && defined(_CL_HAVE_HASH_SET) > //hashing is all or nothing! > #include <hash_map> >@@ -83,7 +88,7 @@ > _vt get( _kt k) const { > const_iterator itr = base::find(k); > if ( itr==base::end() ) >- return (_vt)NULL; >+ return static_cast<_vt>(0); > else > return itr->second; > } >@@ -316,6 +321,7 @@ > if ( _this::dk || _this::dv ) > _this::remove(k); > >+ (*this)[k] = v;; > } > }; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 862195
:
795592
| 795595 |
795598