pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ghc7



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri May 25 15:24:02 UTC 2018

Modified Files:
        pkgsrc/lang/ghc7: distinfo
Added Files:
        pkgsrc/lang/ghc7/patches: patch-rts_PosixSource.h

Log Message:
ghc7: Set _XOPEN_SOURCE correctly on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/ghc7/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/ghc7/patches/patch-rts_PosixSource.h

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

Modified files:

Index: pkgsrc/lang/ghc7/distinfo
diff -u pkgsrc/lang/ghc7/distinfo:1.14 pkgsrc/lang/ghc7/distinfo:1.15
--- pkgsrc/lang/ghc7/distinfo:1.14      Sat May  7 10:02:06 2016
+++ pkgsrc/lang/ghc7/distinfo   Fri May 25 15:24:02 2018
@@ -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_cbits_execvpe
 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

Added files:

Index: pkgsrc/lang/ghc7/patches/patch-rts_PosixSource.h
diff -u /dev/null pkgsrc/lang/ghc7/patches/patch-rts_PosixSource.h:1.1
--- /dev/null   Fri May 25 15:24:02 2018
+++ pkgsrc/lang/ghc7/patches/patch-rts_PosixSource.h    Fri May 25 15:24:02 2018
@@ -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