pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ghc92



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Feb 25 12:19:16 UTC 2022

Modified Files:
        pkgsrc/lang/ghc92: distinfo
Added Files:
        pkgsrc/lang/ghc92/patches:
            patch-libraries_process_cbits_posix_fork__exec.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ghc92/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c

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

Modified files:

Index: pkgsrc/lang/ghc92/distinfo
diff -u pkgsrc/lang/ghc92/distinfo:1.5 pkgsrc/lang/ghc92/distinfo:1.6
--- pkgsrc/lang/ghc92/distinfo:1.5      Thu Feb 17 11:59:24 2022
+++ pkgsrc/lang/ghc92/distinfo  Fri Feb 25 12:19:15 2022
@@ -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_GHC_Event_KQu
 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

Added files:

Index: pkgsrc/lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c
diff -u /dev/null pkgsrc/lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c:1.1
--- /dev/null   Fri Feb 25 12:19:16 2022
+++ pkgsrc/lang/ghc92/patches/patch-libraries_process_cbits_posix_fork__exec.c  Fri Feb 25 12:19:16 2022
@@ -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