aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libcxx/patches/020-fixes.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-08-28 20:17:39 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2020-08-31 22:11:23 +0200
commit879e68eafd76dea0b5c2d47e3968d0535dc467af (patch)
tree7e8d8f1602d9425121f217c5e40f0f92323ae2e5 /package/libs/libcxx/patches/020-fixes.patch
parent3f9bd9e8ee609b82a709fc62d42187211dd9804f (diff)
downloadupstream-879e68eafd76dea0b5c2d47e3968d0535dc467af.tar.gz
upstream-879e68eafd76dea0b5c2d47e3968d0535dc467af.tar.bz2
upstream-879e68eafd76dea0b5c2d47e3968d0535dc467af.zip
libcxx: update to 10.0.0
Switched to upstream tarballs. Switched to libcxxabi as using libsupc++ is quite wonky. Fixed description. Removed patches. The fixes are cosmetic. Added ssp patch. This one is needed for i386 and powerpc under musl. Compile tested every C++ package in the tree with the exception of several boost packages. There's something broken with boost. Ran tested with gerbera. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/libcxx/patches/020-fixes.patch')
-rw-r--r--package/libs/libcxx/patches/020-fixes.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/libs/libcxx/patches/020-fixes.patch b/package/libs/libcxx/patches/020-fixes.patch
deleted file mode 100644
index 22ac494c04..0000000000
--- a/package/libs/libcxx/patches/020-fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/include/cmath
-+++ b/include/cmath
-@@ -615,7 +615,7 @@ _Fp __lerp(_Fp __a, _Fp __b, _Fp __t) no
-
- if (__t == 1) return __b;
- const _Fp __x = __a + __t * (__b - __a);
-- if (__t > 1 == __b > __a)
-+ if ((__t > 1) == (__b > __a))
- return __b < __x ? __x : __b;
- else
- return __x < __b ? __x : __b;
---- a/include/memory
-+++ b/include/memory
-@@ -1696,7 +1696,7 @@ struct _LIBCPP_TEMPLATE_VIS allocator_tr
- ptrdiff_t _Np = __end1 - __begin1;
- __end2 -= _Np;
- if (_Np > 0)
-- _VSTD::memcpy(__end2, __begin1, _Np * sizeof(_Tp));
-+ __end2 = __begin1;
- }
-
- private:
---- a/src/filesystem/filesystem_common.h
-+++ b/src/filesystem/filesystem_common.h
-@@ -197,8 +197,8 @@ private:
- using chrono::duration;
- using chrono::duration_cast;
-
--using TimeSpec = struct ::timespec;
--using StatT = struct ::stat;
-+using TimeSpec = struct timespec;
-+using StatT = struct stat;
-
- template <class FileTimeT, class TimeT,
- bool IsFloat = is_floating_point<typename FileTimeT::rep>::value>