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