pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc92 ghc92: Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/98f9166904e1
branches: trunk
changeset: 374716:98f9166904e1
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Feb 25 12:19:15 2022 +0000
description:
ghc92: Fix build on SunOS.
Ensure _POSIX_PTHREAD_SEMANTICS is defined, for some reason the global defines
aren't being applied correctly to this file.
diffstat:
lang/ghc92/distinfo | 3 +-
lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c | 14 ++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r edbdb0c3ec5b -r 98f9166904e1 lang/ghc92/distinfo
--- a/lang/ghc92/distinfo Fri Feb 25 09:18:56 2022 +0000
+++ b/lang/ghc92/distinfo Fri Feb 25 12:19:15 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2022/02/17 11:59:24 pho Exp $
+$NetBSD: distinfo,v 1.6 2022/02/25 12:19:15 jperkin Exp $
BLAKE2s (ghc-8.10.4-boot-x86_64-unknown-netbsd.tar.xz) = 03efbb455a52d0dbc246b1c8b30f82121f5354a1ca0eb1b08b6225b90286a18f
SHA512 (ghc-8.10.4-boot-x86_64-unknown-netbsd.tar.xz) = 730347bb5eaac4efac8ec487fafd2da6fe2932db45f59e324c83698eb0b0e8a6a4b4fd513de17fb9c152ccee328660cfe1638cad631ce5e35b2dbfddda0d8850
@@ -35,6 +35,7 @@
SHA1 (patch-libraries_base_System_CPUTime_Posix_Times.hsc) = 2bfb779d534d12073287274ce5e90b99e457a860
SHA1 (patch-libraries_base_System_Environment.hs) = 7d79a91f295915b4408d5f41d5405739d7189215
SHA1 (patch-libraries_base_configure) = 4e02082cdfde8d927d12f3d2f3d98ace6d4ee116
+SHA1 (patch-libraries_process_cbits_posix_fork__exec.c) = 9c942faf829a64a20237c788e8c8265179db55c7
SHA1 (patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc) = 588270767f8a9cbde0648fc99807891fef65d721
SHA1 (patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs) = 68914d012a98cc4a4a245efeabcb9143dba0246a
SHA1 (patch-libraries_unix_System_Posix_Env.hsc) = e94936c139ca15d45cac4a7feb74a601567913ab
diff -r edbdb0c3ec5b -r 98f9166904e1 lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c Fri Feb 25 12:19:15 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-libraries_process_cbits_posix_fork__exec.c,v 1.1 2022/02/25 12:19:16 jperkin Exp $
+
+Ensure _POSIX_PTHREAD_SEMANTICS is defined on SunOS.
+
+--- libraries/process/cbits/posix/fork_exec.c.orig 2021-10-28 20:42:10.000000000 +0000
++++ libraries/process/cbits/posix/fork_exec.c
+@@ -1,3 +1,7 @@
++#ifdef __sun
++#define _POSIX_PTHREAD_SEMANTICS
++#endif
++
+ #include "common.h"
+
+ #include <sys/types.h>
Home |
Main Index |
Thread Index |
Old Index