Thursday, July 28, 2022

[PATCH] Upgrade lang/ghc 9.2.{3->4}

Hi Matthias,

This was a quick and easy one. I rebuilt all the Haskell ports with the
new compiler.

Release announcement: https://discourse.haskell.org/t/ghc-9-2-4-released/4851

The changes include some fixes for crashes in compiled programs, so I'm
motivated to land this before 7.2. I did notice the crashes myself, but
they were rare and I couldn't properly diagnose.

Thanks
Greg


From aef0924ef518ff3d4107957fb3a176cdee583154 Mon Sep 17 00:00:00 2001
From: Greg Steuck <greg@nest.cx>
Date: Thu, 28 Jul 2022 21:34:37 -0700
Subject: [PATCH] Upgrade lang/ghc 9.2.{3->4}

---
lang/ghc/Makefile | 7 +++----
lang/ghc/distinfo | 8 ++++----
lang/ghc/pkg/PLIST | 2 ++
3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index bdbb2e08e8f..b7359f61f3d 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -8,12 +8,11 @@ DPB_PROPERTIES = parallel
# ghc hardcodes ${WRKDIR}/bin/gcc when the package is compiled with ccache
NO_CCACHE = Yes

-GHC_VERSION = 9.2.3
+GHC_VERSION = 9.2.4
DISTNAME = ghc-${GHC_VERSION}
CATEGORIES = lang devel
HOMEPAGE = https://www.haskell.org/ghc/

-REVISION = 0

# Version of the precompiled binaries
BIN_VER = 8.10.7.20220419
@@ -62,7 +61,7 @@ SUPDISTFILES += ${BINDISTFILE-$m}
GHC_ITEMS = \
CABAL 3.6.3.0 \
ARRAY 0.5.4.0 \
- BASE 4.16.2.0 \
+ BASE 4.16.3.0 \
BINARY 0.8.9.0 \
BYTESTRING 0.11.3.1 \
CONTAINERS 0.6.5.1 \
@@ -70,7 +69,7 @@ GHC_ITEMS = \
DIRECTORY 1.3.6.2 \
EXCEPTIONS 0.10.4 \
FILEPATH 1.4.2.2 \
- GHC 9.2.3 \
+ GHC 9.2.4 \
GHC_BIGNUM 1.2 \
GHC_COMPACT 0.1.0.0 \
GHC_PRIM 0.8.0 \
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo
index 9f288c55e46..0fbfa192147 100644
--- a/lang/ghc/distinfo
+++ b/lang/ghc/distinfo
@@ -1,8 +1,8 @@
SHA256 (ghc/ghc-8.10.7.20220419-amd64-unknown-openbsd.tar.xz) = JFa1/AJu2bhYiL80OrKWy0li7ynmO99eCnc9nA+DjSc=
SHA256 (ghc/ghc-8.10.7.20220419-shlibs-amd64.tar.gz) = zjDaNaYT1AnlqEqupIxr8aoALbQao/a3dypGrDL9X7g=
-SHA256 (ghc/ghc-9.2.3-src.tar.xz) = UOzcK+8BPlGPmmKhUkXX2w5ECdc3xDsc6nMG/YLhZp4=
-SHA256 (ghc/ghc-9.2.3-testsuite.tar.xz) = RqbLsMMva02WXbZn7JpZ0v6vnjFgngzb5X5hrzN9PiA=
+SHA256 (ghc/ghc-9.2.4-src.tar.xz) = FSE4iAZKDsTncj0HXzG4emeM4IUXc9WLRO96o96ZZFg=
+SHA256 (ghc/ghc-9.2.4-testsuite.tar.xz) = 1YaTrD0bx/Agxd/ZLBD2MRPcXW/YzHiTlKr7Qql+sC0=
SIZE (ghc/ghc-8.10.7.20220419-amd64-unknown-openbsd.tar.xz) = 35749140
SIZE (ghc/ghc-8.10.7.20220419-shlibs-amd64.tar.gz) = 2904669
-SIZE (ghc/ghc-9.2.3-src.tar.xz) = 27525456
-SIZE (ghc/ghc-9.2.3-testsuite.tar.xz) = 3193820
+SIZE (ghc/ghc-9.2.4-src.tar.xz) = 24632968
+SIZE (ghc/ghc-9.2.4-testsuite.tar.xz) = 3193376
diff --git a/lang/ghc/pkg/PLIST b/lang/ghc/pkg/PLIST
index 7bbfcf62e4a..84b6fe222d0 100644
--- a/lang/ghc/pkg/PLIST
+++ b/lang/ghc/pkg/PLIST
@@ -7870,12 +7870,14 @@ share/doc/ghc/html/users_guide/
share/doc/ghc/html/users_guide/.buildinfo
share/doc/ghc/html/users_guide/9.2.1-notes.html
share/doc/ghc/html/users_guide/9.2.2-notes.html
+share/doc/ghc/html/users_guide/9.2.3-notes.html
share/doc/ghc/html/users_guide/${GHC_VER}-notes.html
share/doc/ghc/html/users_guide/_images/
share/doc/ghc/html/users_guide/_images/prof_scc.svg
share/doc/ghc/html/users_guide/_sources/
share/doc/ghc/html/users_guide/_sources/9.2.1-notes.rst.txt
share/doc/ghc/html/users_guide/_sources/9.2.2-notes.rst.txt
+share/doc/ghc/html/users_guide/_sources/9.2.3-notes.rst.txt
share/doc/ghc/html/users_guide/_sources/${GHC_VER}-notes.rst.txt
share/doc/ghc/html/users_guide/_sources/bugs.rst.txt
share/doc/ghc/html/users_guide/_sources/codegens.rst.txt
--
2.37.1

No comments:

Post a Comment