pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ghc98



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed May  8 02:43:59 UTC 2024

Modified Files:
        pkgsrc/lang/ghc98: distinfo
Added Files:
        pkgsrc/lang/ghc98/patches: patch-rts_rts.cabal.in

Log Message:
lang/ghc98: Fix build on Illumos


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/ghc98/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/ghc98/patches/patch-rts_rts.cabal.in

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

Modified files:

Index: pkgsrc/lang/ghc98/distinfo
diff -u pkgsrc/lang/ghc98/distinfo:1.4 pkgsrc/lang/ghc98/distinfo:1.5
--- pkgsrc/lang/ghc98/distinfo:1.4      Mon May  6 02:26:39 2024
+++ pkgsrc/lang/ghc98/distinfo  Wed May  8 02:43:58 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2024/05/06 02:26:39 pho Exp $
+$NetBSD: distinfo,v 1.5 2024/05/08 02:43:58 pho Exp $
 
 BLAKE2s (ghc-9.4.7-boot-aarch64-apple-darwin.tar.xz) = c771cfa45f5635bdf8175775cf7a67c9541bd5b4d4927ed9b5189e3dcefcd2ba
 SHA512 (ghc-9.4.7-boot-aarch64-apple-darwin.tar.xz) = 3d50e4c6605ebfa7eef018d3e9e11e8115cf2f97e24a5adfc05fd1bab152c726e240f9a213d73e220dc7fc5b9358df74eee0d4cb1b77bd5491f28899c831b1a4
@@ -55,5 +55,6 @@ SHA1 (patch-libraries_unix_System_Posix_
 SHA1 (patch-libraries_unix_System_Posix_User_ByteString.hsc) = 2a331de2292835ae6904980facd8201705fa63e8
 SHA1 (patch-m4_fp__find__cxx__std__lib.m4) = 35196c70e462df054f6b06c299474937a1b71b58
 SHA1 (patch-m4_fptools__set__haskell__platform__vars.m4) = 8c7a7ab965f4df8a68bedb35c32ee32c59ac2c94
+SHA1 (patch-rts_rts.cabal.in) = f913753935b64a26f57d9b7304180d944dcb78f6
 SHA1 (patch-utils_haddock_driver_Main.hs) = 26b015d3aef9fdff66e66c8e3d9a370a2dbd7067
 SHA1 (patch-utils_haddock_haddock.cabal) = c8a244f2f341b736b65b218590d1a3a8309f55ba

Added files:

Index: pkgsrc/lang/ghc98/patches/patch-rts_rts.cabal.in
diff -u /dev/null pkgsrc/lang/ghc98/patches/patch-rts_rts.cabal.in:1.1
--- /dev/null   Wed May  8 02:43:59 2024
+++ pkgsrc/lang/ghc98/patches/patch-rts_rts.cabal.in    Wed May  8 02:43:59 2024
@@ -0,0 +1,19 @@
+$NetBSD: patch-rts_rts.cabal.in,v 1.1 2024/05/08 02:43:59 pho Exp $
+
+Fix build on Illumos where ld(1) dislikes undefined symbols in executables just like MacOS X.
+
+TODO: Upstream this
+
+--- rts/rts.cabal.in.orig      2024-05-07 09:28:23.509544641 +0000
++++ rts/rts.cabal.in
+@@ -501,6 +501,10 @@ library
+         if !arch(x86_64) && !arch(aarch64)
+            ld-options: -read_only_relocs warning
+ 
++      if os(solaris2)
++        ld-options: "-Wl,-z,nodefs"
++        -- See Note [Undefined symbols in the RTS]
++
+       cmm-sources: Apply.cmm
+                    Compact.cmm
+                    ContinuationOps.cmm



Home | Main Index | Thread Index | Old Index