pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/libcxx



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Jan  9 23:20:59 UTC 2022

Modified Files:
        pkgsrc/lang/libcxx: distinfo
Added Files:
        pkgsrc/lang/libcxx/patches: patch-src_support_solaris_xlocale.cpp

Log Message:
libcxx: don't try to use sys/localedef.h on SunOS if nonexistent


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/libcxx/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/libcxx/patches/patch-src_support_solaris_xlocale.cpp

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

Modified files:

Index: pkgsrc/lang/libcxx/distinfo
diff -u pkgsrc/lang/libcxx/distinfo:1.15 pkgsrc/lang/libcxx/distinfo:1.16
--- pkgsrc/lang/libcxx/distinfo:1.15    Tue Nov 23 20:55:43 2021
+++ pkgsrc/lang/libcxx/distinfo Sun Jan  9 23:20:59 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2021/11/23 20:55:43 wiz Exp $
+$NetBSD: distinfo,v 1.16 2022/01/09 23:20:59 tnn Exp $
 
 BLAKE2s (libcxx-13.0.0.src.tar.xz) = ade0de63ce72d50ae1276cf71da17aa5fa375e9ad767e2c1abecaa7f57953768
 SHA512 (libcxx-13.0.0.src.tar.xz) = deaf166ea9b5ffe4d7d1ace86fb4ed33317c610ff41947d2b0b18934b2a54601521f1021c5fd43bdba3a08779f3be98e13d2565c0d4374d849c5eff487eda2dd
@@ -11,3 +11,4 @@ SHA512 (llvm-13.0.0.src.tar.xz) = c30750
 Size (llvm-13.0.0.src.tar.xz) = 45471992 bytes
 SHA1 (patch-include_____config) = ff0d5a0fcc1431f21ce25667cbc01c2307542212
 SHA1 (patch-src_filesystem_directory__iterator.cpp) = 90ebbb80e4ec161405397d6d7c5d1d19a7284325
+SHA1 (patch-src_support_solaris_xlocale.cpp) = 8085adb5b2647151a162c620506b479f7c71c753

Added files:

Index: pkgsrc/lang/libcxx/patches/patch-src_support_solaris_xlocale.cpp
diff -u /dev/null pkgsrc/lang/libcxx/patches/patch-src_support_solaris_xlocale.cpp:1.1
--- /dev/null   Sun Jan  9 23:20:59 2022
+++ pkgsrc/lang/libcxx/patches/patch-src_support_solaris_xlocale.cpp    Sun Jan  9 23:20:59 2022
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_support_solaris_xlocale.cpp,v 1.1 2022/01/09 23:20:59 tnn Exp $
+
+don't try to use sys/localedef.h on SunOS if nonexistent
+OpenIndiana doesn't seem to ship the header.
+Userland shouldn't use it, according to Garrett D'Amore:
+https://illumos.topicbox.com/groups/developer/T6cfd2e6cd87f3485-M30dac0cb6fffae62ef45b9a8
+
+--- src/support/solaris/xlocale.cpp.orig       2021-09-24 16:18:10.000000000 +0000
++++ src/support/solaris/xlocale.cpp
+@@ -6,7 +6,7 @@
+ //
+ //===----------------------------------------------------------------------===//
+ 
+-#ifdef __sun__
++#if defined(__sun__) && __has_include(<sys/localedef.h>)
+ 
+ #include "__support/solaris/xlocale.h"
+ #include <stdarg.h>



Home | Main Index | Thread Index | Old Index