Received: by mail.netbsd.org (Postfix, from userid 605) id AFF9F84D96; Fri, 23 Jul 2021 09:39:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EA75484D4B for ; Fri, 23 Jul 2021 09:39:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id S256yy8bHbAl for ; Fri, 23 Jul 2021 09:39:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6A5F084CE7 for ; Fri, 23 Jul 2021 09:39:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 63E14FA95; Fri, 23 Jul 2021 09:39:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1627033174198950" MIME-Version: 1.0 Date: Fri, 23 Jul 2021 09:39:34 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/lang/libcxx To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20210723093934.63E14FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1627033174198950 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Fri Jul 23 09:39:34 UTC 2021 Modified Files: pkgsrc/lang/libcxx: distinfo Added Files: pkgsrc/lang/libcxx/patches: patch-include_____config Log Message: libcxx: Avoid init_priority() on SunOS. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/libcxx/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/lang/libcxx/patches/patch-include_____config Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1627033174198950 Content-Disposition: inline Content-Length: 1864 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/libcxx/distinfo diff -u pkgsrc/lang/libcxx/distinfo:1.11 pkgsrc/lang/libcxx/distinfo:1.12 --- pkgsrc/lang/libcxx/distinfo:1.11 Mon Jul 12 18:46:07 2021 +++ pkgsrc/lang/libcxx/distinfo Fri Jul 23 09:39:34 2021 @@ -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 @@ SHA1 (llvm-12.0.1.src.tar.xz) = 619fe668 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 Added files: Index: pkgsrc/lang/libcxx/patches/patch-include_____config diff -u /dev/null pkgsrc/lang/libcxx/patches/patch-include_____config:1.1 --- /dev/null Fri Jul 23 09:39:34 2021 +++ pkgsrc/lang/libcxx/patches/patch-include_____config Fri Jul 23 09:39:34 2021 @@ -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 --_----------=_1627033174198950--