pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/libcxxabi



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Dec 18 17:32:37 UTC 2023

Modified Files:
        pkgsrc/lang/libcxxabi: distinfo
Added Files:
        pkgsrc/lang/libcxxabi/patches:
            patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h

Log Message:
libcxxabi: Backport GCC 13 build fix.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/libcxxabi/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/libcxxabi/patches/patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/libcxxabi/distinfo
diff -u pkgsrc/lang/libcxxabi/distinfo:1.22 pkgsrc/lang/libcxxabi/distinfo:1.23
--- pkgsrc/lang/libcxxabi/distinfo:1.22 Fri Oct  6 19:15:21 2023
+++ pkgsrc/lang/libcxxabi/distinfo      Mon Dec 18 17:32:36 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2023/10/06 19:15:21 adam Exp $
+$NetBSD: distinfo,v 1.23 2023/12/18 17:32:36 jperkin Exp $
 
 BLAKE2s (cmake-16.0.6.src.tar.xz) = a967225f31bcd98484d632a2d530c498131b0035f18b15e27915663b915dc6ba
 SHA512 (cmake-16.0.6.src.tar.xz) = 52ecd941d2d85a5b668caa5d0d40480cb6a97b3bf1174e634c2a93e9ef6d03670ca7e96abb0a60cb33ba537b93d5788754dab1f2f45c1f623f788162717d088b
@@ -9,5 +9,6 @@ Size (libcxx-16.0.6.src.tar.xz) = 365552
 BLAKE2s (libcxxabi-16.0.6.src.tar.xz) = 62b0fea4aa05c44ecf34f188f8aec8fc1a41bc34ff42fdc3831eb515c31a282c
 SHA512 (libcxxabi-16.0.6.src.tar.xz) = 5f49ad34d5d00a3cd5ca92c8570b0cd77123a818456fe30a3fab7c14a2fe134ada5215466f729c9e1da12a38a9e2b2254b80775bda2986c505a2cad5af5cb70e
 Size (libcxxabi-16.0.6.src.tar.xz) = 573564 bytes
+SHA1 (patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h) = 87f27e36f1d7b33842d0258eb0012b8b8567b6a9
 SHA1 (patch-src_CMakeLists.txt) = da127de7603ed0ea5530c4a8cd2ffcee61d2ff90
 SHA1 (patch-src_demangle_Utility.h) = 7a4850869f9f4ce858d2cceeb999934c28292a95

Added files:

Index: pkgsrc/lang/libcxxabi/patches/patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h
diff -u /dev/null pkgsrc/lang/libcxxabi/patches/patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h:1.1
--- /dev/null   Mon Dec 18 17:32:37 2023
+++ pkgsrc/lang/libcxxabi/patches/patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h Mon Dec 18 17:32:36 2023
@@ -0,0 +1,20 @@
+$NetBSD: patch-.._libcxx-16.0.6.src_include_____type__traits_is__convertible.h,v 1.1 2023/12/18 17:32:36 jperkin Exp $
+
+Backport GCC 13 fix.
+
+--- ../libcxx-16.0.6.src/include/__type_traits/is_convertible.h.orig   2023-12-15 09:59:09.541570632 +0000
++++ ../libcxx-16.0.6.src/include/__type_traits/is_convertible.h
+@@ -24,7 +24,12 @@
+ 
+ _LIBCPP_BEGIN_NAMESPACE_STD
+ 
+-#if __has_builtin(__is_convertible_to) && !defined(_LIBCPP_USE_IS_CONVERTIBLE_FALLBACK)
++#if __has_builtin(__is_convertible) && !defined(_LIBCPP_USE_IS_CONVERTIBLE_FALLBACK)
++
++template <class _T1, class _T2>
++struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
++
++#elif __has_builtin(__is_convertible_to) && !defined(_LIBCPP_USE_IS_CONVERTIBLE_FALLBACK)
+ 
+ template <class _T1, class _T2> struct _LIBCPP_TEMPLATE_VIS is_convertible
+     : public integral_constant<bool, __is_convertible_to(_T1, _T2)> {};



Home | Main Index | Thread Index | Old Index