pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/fmtlib fmtlib: Avoid strtod_l on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dd65bd35f2e
branches:  trunk
changeset: 326352:4dd65bd35f2e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 04 10:05:22 2018 +0000

description:
fmtlib: Avoid strtod_l on SunOS.

diffstat:

 textproc/fmtlib/distinfo                          |   3 ++-
 textproc/fmtlib/patches/patch-include_fmt_posix.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 11c38ac34328 -r 4dd65bd35f2e textproc/fmtlib/distinfo
--- a/textproc/fmtlib/distinfo  Tue Dec 04 09:04:42 2018 +0000
+++ b/textproc/fmtlib/distinfo  Tue Dec 04 10:05:22 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/12/02 17:12:18 adam Exp $
+$NetBSD: distinfo,v 1.2 2018/12/04 10:05:22 jperkin Exp $
 
 SHA1 (fmt-5.2.1.tar.gz) = 8b38f1ecdf137e8ca24e9b66145c1b94fa5f921d
 RMD160 (fmt-5.2.1.tar.gz) = 35cec2d51a003bdb35282897e0d1400d0b2f9db2
 SHA512 (fmt-5.2.1.tar.gz) = 2b63a741df4df9c3cbf04098c6548bb3d0f9836fe912325542298df57c888f43e72159469fb87685b423694e43e4418545377d5ee6393f2709955be2c13780a8
 Size (fmt-5.2.1.tar.gz) = 648668 bytes
+SHA1 (patch-include_fmt_posix.h) = 083c19a7f1fc02e04f355e3d45781b47364baca1
diff -r 11c38ac34328 -r 4dd65bd35f2e textproc/fmtlib/patches/patch-include_fmt_posix.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/fmtlib/patches/patch-include_fmt_posix.h Tue Dec 04 10:05:22 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_fmt_posix.h,v 1.1 2018/12/04 10:05:22 jperkin Exp $
+
+Avoid strtod_l on SunOS.
+
+--- include/fmt/posix.h.orig   2018-09-21 17:18:51.000000000 +0000
++++ include/fmt/posix.h
+@@ -267,7 +267,7 @@ long getpagesize();
+ 
+ #if (defined(LC_NUMERIC_MASK) || defined(_MSC_VER)) && \
+     !defined(__ANDROID__) && !defined(__CYGWIN__) && !defined(__OpenBSD__) && \
+-    !defined(__NEWLIB_H__)
++    !defined(__NEWLIB_H__) && !defined(__sun)
+ # define FMT_LOCALE
+ #endif
+ 



Home | Main Index | Thread Index | Old Index