pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/libcxx libcxx: Avoid init_priority() on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8c2673eaec9
branches: trunk
changeset: 456246:b8c2673eaec9
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Jul 23 09:39:34 2021 +0000
description:
libcxx: Avoid init_priority() on SunOS.
diffstat:
lang/libcxx/distinfo | 3 ++-
lang/libcxx/patches/patch-include_____config | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 28c7b57dbcd8 -r b8c2673eaec9 lang/libcxx/distinfo
--- a/lang/libcxx/distinfo Fri Jul 23 07:50:59 2021 +0000
+++ b/lang/libcxx/distinfo Fri Jul 23 09:39:34 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2021/07/12 18:46:07 adam Exp $
+$NetBSD: distinfo,v 1.12 2021/07/23 09:39:34 jperkin Exp $
SHA1 (libcxx-12.0.1.src.tar.xz) = 84b27abcb3de60d1fd41826cf80e90ca974139c2
RMD160 (libcxx-12.0.1.src.tar.xz) = ad12f967c54a55e9f403c5c134f74e6689defeb7
@@ -12,4 +12,5 @@
RMD160 (llvm-12.0.1.src.tar.xz) = 678910782ceac9bcd7234fca9d6e358ffbe7a660
SHA512 (llvm-12.0.1.src.tar.xz) = ff674afb4c8eea699a4756f1bb463f15098a7fa354c733de83c024f8f0cf238cd5f19ae3ec446831c7109235e293e2bf31d8562567ede163c8ec53af7306ba0f
Size (llvm-12.0.1.src.tar.xz) = 42898504 bytes
+SHA1 (patch-include_____config) = ff0d5a0fcc1431f21ce25667cbc01c2307542212
SHA1 (patch-src_filesystem_directory__iterator.cpp) = 90ebbb80e4ec161405397d6d7c5d1d19a7284325
diff -r 28c7b57dbcd8 -r b8c2673eaec9 lang/libcxx/patches/patch-include_____config
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxx/patches/patch-include_____config Fri Jul 23 09:39:34 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_____config,v 1.1 2021/07/23 09:39:34 jperkin Exp $
+
+Avoid init_priority() on SunOS.
+
+--- include/__config.orig 2021-06-28 16:23:38.000000000 +0000
++++ include/__config
+@@ -1439,7 +1439,7 @@ extern "C" _LIBCPP_FUNC_VIS void __sanit
+ #define _LIBCPP_HAS_NO_FGETPOS_FSETPOS
+ #endif
+
+-#if __has_attribute(init_priority)
++#if __has_attribute(init_priority) && !defined(__sun)
+ # define _LIBCPP_INIT_PRIORITY_MAX __attribute__((init_priority(101)))
+ #else
+ # define _LIBCPP_INIT_PRIORITY_MAX
Home |
Main Index |
Thread Index |
Old Index