pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc7 ghc7: Set _XOPEN_SOURCE correctly on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/402c452df60c
branches: trunk
changeset: 380938:402c452df60c
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri May 25 15:24:02 2018 +0000
description:
ghc7: Set _XOPEN_SOURCE correctly on SunOS.
diffstat:
lang/ghc7/distinfo | 3 ++-
lang/ghc7/patches/patch-rts_PosixSource.h | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 8fec8a1758fb -r 402c452df60c lang/ghc7/distinfo
--- a/lang/ghc7/distinfo Fri May 25 14:42:06 2018 +0000
+++ b/lang/ghc7/distinfo Fri May 25 15:24:02 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2016/05/07 10:02:06 joerg Exp $
+$NetBSD: distinfo,v 1.15 2018/05/25 15:24:02 jperkin Exp $
SHA1 (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = aea6224f30aa52d9998f2c77f473902179f03b8c
RMD160 (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = 39a588cac4a0411db45ef269fbe6a63c6cb428ee
@@ -28,5 +28,6 @@
SHA1 (patch-libraries_unix_include_execvpe.h) = 4c48b72f74d360e925528ecce95baa8a2ae923d7
SHA1 (patch-mk_config.mk.in) = 90a156f6c455d4b2c5d10fdf65b3a170dcfc4892
SHA1 (patch-rts_Linker.c) = 39d1ca7a856a3ec25e493e97832ef255562c0719
+SHA1 (patch-rts_PosixSource.h) = 417481d506929be8b27bb106eefc5df2901ebe95
SHA1 (patch-rts_StgCRun.c) = 5d4010dc250af25db0b5b2717c510752f4813e73
SHA1 (patch-rts_ghc.mk) = 6a43e6e2a58793ba4ff309012c3e24114ccde1e2
diff -r 8fec8a1758fb -r 402c452df60c lang/ghc7/patches/patch-rts_PosixSource.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ghc7/patches/patch-rts_PosixSource.h Fri May 25 15:24:02 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-rts_PosixSource.h,v 1.1 2018/05/25 15:24:02 jperkin Exp $
+
+Set _XOPEN_SOURCE correctly on SunOS.
+
+--- rts/PosixSource.h.orig 2013-04-18 21:22:46.000000000 +0000
++++ rts/PosixSource.h
+@@ -11,7 +11,7 @@
+
+ #include <ghcplatform.h>
+
+-#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)
++#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || (defined(__sun) && __STDC_VERSION__-0 >= 199901L)
+ #define _POSIX_C_SOURCE 200112L
+ #define _XOPEN_SOURCE 600
+ #else
Home |
Main Index |
Thread Index |
Old Index