mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
libcxx: fix musl build
This commit is contained in:
parent
1d2e07c716
commit
2def0a7d24
2 changed files with 1 additions and 10 deletions
|
@ -26,15 +26,6 @@
|
||||||
typename remove_reference<decltype(errno)>::type __current_errno = errno;
|
typename remove_reference<decltype(errno)>::type __current_errno = errno;
|
||||||
if (__current_errno == 0)
|
if (__current_errno == 0)
|
||||||
errno = __save_errno;
|
errno = __save_errno;
|
||||||
@@ -941,7 +940,7 @@ __num_get_float(const char* __a, const char* __a_end, ios_base::iostate& __err)
|
|
||||||
typename remove_reference<decltype(errno)>::type __save_errno = errno;
|
|
||||||
errno = 0;
|
|
||||||
char *__p2;
|
|
||||||
- long double __ld = strtold_l(__a, &__p2, _LIBCPP_GET_C_LOCALE);
|
|
||||||
+ long double __ld = strtold(__a, &__p2);
|
|
||||||
typename remove_reference<decltype(errno)>::type __current_errno = errno;
|
|
||||||
if (__current_errno == 0)
|
|
||||||
errno = __save_errno;
|
|
||||||
--- a/src/locale.cpp
|
--- a/src/locale.cpp
|
||||||
+++ b/src/locale.cpp
|
+++ b/src/locale.cpp
|
||||||
@@ -1010,7 +1010,7 @@ ctype<char>::do_narrow(const char_type* low, const char_type* high, char dfault,
|
@@ -1010,7 +1010,7 @@ ctype<char>::do_narrow(const char_type* low, const char_type* high, char dfault,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libcxx'
|
# Template file for 'libcxx'
|
||||||
pkgname=libcxx
|
pkgname=libcxx
|
||||||
version=3.9.0
|
version=3.9.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Add table
Reference in a new issue