diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 19:04:46 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 19:04:46 +0000 |
| commit | 7b958a9fb9900c1447c577cc16a838177b2ad647 (patch) | |
| tree | 65bcda2596292afbd5c0b94631e9d397d743bfc8 /testing/libc++/avoid-strtoll_l.patch | |
| parent | 5d9a3ff79d1bd8fe3e7e296e62efb6de2d96bcd4 (diff) | |
| download | aports-7b958a9fb9900c1447c577cc16a838177b2ad647.tar.bz2 aports-7b958a9fb9900c1447c577cc16a838177b2ad647.tar.xz | |
testing/libc++: move to unmaintained
Diffstat (limited to 'testing/libc++/avoid-strtoll_l.patch')
| -rw-r--r-- | testing/libc++/avoid-strtoll_l.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/libc++/avoid-strtoll_l.patch b/testing/libc++/avoid-strtoll_l.patch deleted file mode 100644 index 7af37d0e0e..0000000000 --- a/testing/libc++/avoid-strtoll_l.patch +++ /dev/null @@ -1,23 +0,0 @@ -musl doesn't support strtoll_l(), so replace it with a simple strtoll() call. - -diff -Nru a/libcxx/include/locale b/libcxx/include/locale ---- a/libcxx/include/locale 2017-01-04 23:56:00.000000000 +0000 -+++ b/libcxx/include/locale 2017-05-14 23:43:07.867204323 +0000 -@@ -695,7 +695,7 @@ - typename remove_reference<decltype(errno)>::type __save_errno = errno; - errno = 0; - char *__p2; -- long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE); -+ long long __ll = strtoll(__a, &__p2, __base); - typename remove_reference<decltype(errno)>::type __current_errno = errno; - if (__current_errno == 0) - errno = __save_errno; -@@ -735,7 +735,7 @@ - typename remove_reference<decltype(errno)>::type __save_errno = errno; - errno = 0; - char *__p2; -- unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE); -+ unsigned long long __ll = strtoull(__a, &__p2, __base); - typename remove_reference<decltype(errno)>::type __current_errno = errno; - if (__current_errno == 0) - errno = __save_errno; |
