| author | |
| committer | |
| log | 1a403383c9d8c6d3aacae16162f72d911350fd17 |
| tree | a48600f630900f6ff77f13491c4919ab6b759198 |
| parent | 7da9348637f82ca75e1100a2fce2d368f96b589f |
| signature |
- https://github.com/DragonFlyBSD/DPorts/tree/master/devel/libc++/files
for hints as to which patches are needed4 files changed, 11 insertions(+), 10 deletions(-)
lib/libcxx/include/__config+6-5| ... | ... | @@ -148,7 +148,7 @@ |
| 148 | 148 | # endif |
| 149 | 149 | // Feature macros for disabling pre ABI v1 features. All of these options |
| 150 | 150 | // are deprecated. |
| 151 | # if defined(__FreeBSD__) | |
| 151 | # if defined(__FreeBSD__) || defined(__DragonFly__) | |
| 152 | 152 | # define _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR |
| 153 | 153 | # endif |
| 154 | 154 | # endif |
| ... | ... | @@ -726,11 +726,11 @@ _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD |
| 726 | 726 | # endif // _LIBCPP_CXX03_LANG |
| 727 | 727 | |
| 728 | 728 | # if defined(__APPLE__) || defined(__FreeBSD__) || defined(_LIBCPP_MSVCRT_LIKE) || defined(__sun__) || \ |
| 729 | defined(__NetBSD__) | |
| 729 | defined(__NetBSD__) || defined(__DragonFly__) | |
| 730 | 730 | # define _LIBCPP_LOCALE__L_EXTENSIONS 1 |
| 731 | 731 | # endif |
| 732 | 732 | |
| 733 | # ifdef __FreeBSD__ | |
| 733 | # if defined(__FreeBSD__) || defined(__DragonFly__) | |
| 734 | 734 | # define _DECLARE_C99_LDBL_MATH 1 |
| 735 | 735 | # endif |
| 736 | 736 | |
| ... | ... | @@ -750,11 +750,11 @@ _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD |
| 750 | 750 | # define _LIBCPP_HAS_NO_ALIGNED_ALLOCATION |
| 751 | 751 | # endif |
| 752 | 752 | |
| 753 | # if defined(__APPLE__) || defined(__FreeBSD__) | |
| 753 | # if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) | |
| 754 | 754 | # define _LIBCPP_HAS_DEFAULTRUNELOCALE |
| 755 | 755 | # endif |
| 756 | 756 | |
| 757 | # if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__) | |
| 757 | # if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__) || defined(__DragonFly__) | |
| 758 | 758 | # define _LIBCPP_WCTYPE_IS_MASK |
| 759 | 759 | # endif |
| 760 | 760 | |
| ... | ... | @@ -901,6 +901,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD |
| 901 | 901 | |
| 902 | 902 | # if defined(__FreeBSD__) || \ |
| 903 | 903 | defined(__wasi__) || \ |
| 904 | defined(__DragonFly__) || \ | |
| 904 | 905 | defined(__NetBSD__) || \ |
| 905 | 906 | defined(__OpenBSD__) || \ |
| 906 | 907 | defined(__NuttX__) || \ |
lib/libcxx/include/__locale+3-3| ... | ... | @@ -33,7 +33,7 @@ |
| 33 | 33 | # include <__support/newlib/xlocale.h> |
| 34 | 34 | #elif defined(__OpenBSD__) |
| 35 | 35 | # include <__support/openbsd/xlocale.h> |
| 36 | #elif (defined(__APPLE__) || defined(__FreeBSD__)) | |
| 36 | #elif (defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)) | |
| 37 | 37 | # include <xlocale.h> |
| 38 | 38 | #elif defined(__Fuchsia__) |
| 39 | 39 | # include <__support/fuchsia/xlocale.h> |
| ... | ... | @@ -453,10 +453,10 @@ public: |
| 453 | 453 | static const mask __regex_word = 0x4000; // 0x8000 and 0x0100 and 0x00ff are used |
| 454 | 454 | # define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_PRINT |
| 455 | 455 | # define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_ALPHA |
| 456 | #elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__NetBSD__) | |
| 456 | #elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__EMSCRIPTEN__) || defined(__NetBSD__) || defined(__DragonFly__) | |
| 457 | 457 | # ifdef __APPLE__ |
| 458 | 458 | typedef __uint32_t mask; |
| 459 | # elif defined(__FreeBSD__) | |
| 459 | # elif defined(__FreeBSD__) || defined(__DragonFly__) | |
| 460 | 460 | typedef unsigned long mask; |
| 461 | 461 | # elif defined(__EMSCRIPTEN__) || defined(__NetBSD__) |
| 462 | 462 | typedef unsigned short mask; |
lib/libcxx/include/locale+1-1| ... | ... | @@ -239,7 +239,7 @@ _LIBCPP_PUSH_MACROS |
| 239 | 239 | |
| 240 | 240 | _LIBCPP_BEGIN_NAMESPACE_STD |
| 241 | 241 | |
| 242 | #if defined(__APPLE__) || defined(__FreeBSD__) | |
| 242 | #if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) | |
| 243 | 243 | # define _LIBCPP_GET_C_LOCALE 0 |
| 244 | 244 | #elif defined(__NetBSD__) |
| 245 | 245 | # define _LIBCPP_GET_C_LOCALE LC_C_LOCALE |
lib/libcxx/src/locale.cpp+1-1| ... | ... | @@ -1190,7 +1190,7 @@ ctype<char>::classic_table() noexcept |
| 1190 | 1190 | const ctype<char>::mask* |
| 1191 | 1191 | ctype<char>::classic_table() noexcept |
| 1192 | 1192 | { |
| 1193 | #if defined(__APPLE__) || defined(__FreeBSD__) | |
| 1193 | #if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) | |
| 1194 | 1194 | return _DefaultRuneLocale.__runetype; |
| 1195 | 1195 | #elif defined(__NetBSD__) |
| 1196 | 1196 | return _C_ctype_tab_ + 1; |