gpo.zugaina.org

Search Portage & Overlays:

dev-lang/ghc

The Glasgow Haskell Compiler

Screenshots

  • ghc-9.12.2
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.12.1-r2
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.12.1-r1
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: Miezhiko
  • ghc-9.10.2
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.10.1-r6
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.8.4-r1
    ~amd64 ~arm64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.8.4
    ~amd64 ~arm64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.8.3-r1
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.8.2-r4
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.6.7
    ~amd64 ~arm64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.6.6
    ~amd64 ~arm64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.6.5
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.6.4-r1
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.6.3-r1
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.6.2
    big-endian +doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised binary

    View      Download      Browse     License: BSD   
    Overlay: loongson
  • ghc-9.4.8
    ~amd64 ~arm64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.4.7
    ~amd64
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.2.8
    ~amd64 ~x86
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised binary verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.2.8
    ~amd64 ~arm64 ~ppc64 ~riscv ~x86
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised binary

    View      Download      Browse     License: BSD   
    Overlay: gentoo
  • ghc-9.2.7-r1
    ~amd64 ~arm64 ~ppc64 ~riscv ~x86
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised binary verify-sig

    View      Download      Browse     License: BSD   
    Overlay: haskell
  • ghc-9.0.2-r4
    ~amd64 ~arm64 ~ppc64 ~riscv ~x86
    big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised binary

    View      Download      Browse     License: BSD   
    Overlay: gentoo

ChangeLog

commit 8fe2f4549439b8139bf97e4d11769b62b1c520f6
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 30 12:35:37 2025 -0600

dev-lang/ghc: enable py3.14

Signed-off-by: hololeap <hololeap@protonmail.com>

commit a776a27191f44d7ecb9b2334fe10b2a1473b78f2
Author: Florian Schmaus <flow@gentoo.org>
Date: Wed Jul 16 20:38:25 2025 +0200

dev-lang/ghc: update Manifest

Signed-off-by: Florian Schmaus <flow@gentoo.org>

commit f83f13d1a3cfb19fe8430f67926cf9f472e8799f
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Sun Jun 22 03:13:58 2025 +0200

dev-lang/ghc: remove "Internal" from ghcbootstrap desc

Signed-off-by: Sergey Alirzaev <l29ah@riseup.net>

commit 36c408a08ab10ddafe1930dbe4be4a7a294c027c
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jun 18 15:55:37 2025 -0600

dev-lang/ghc: enable llvm:20

Signed-off-by: hololeap <hololeap@protonmail.com>

commit c3f5ae978622f7d606d0f7ce7388ffcc1d97dca8
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jun 18 15:55:36 2025 -0600

dev-lang/ghc: Migrate to llvm-r2.eclass

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 70b215bdb5425578e0aab215c50059ea5b5d08ab
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jun 18 15:55:35 2025 -0600

dev-lang/ghc: enable py3.13

Signed-off-by: hololeap <hololeap@protonmail.com>

commit aa344d40f2af38808d663eba01432565eefca53c
Author: GdeVolpiano <xavier@wheredoibegin.fr>
Date: Mon May 12 15:55:02 2025 +0200

dev-lang/ghc: add 9.10.2

Signed-off-by: GdeVolpiano <xavier@wheredoibegin.fr>
Co-authored-by: hololeap <hololeap@protonmail.com>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 45f109c8291969699da97f8d824bbfcb60d76ee2
Author: hololeap <hololeap@protonmail.com>
Date: Sat Jun 14 00:31:05 2025 -0600

dev-lang/ghc: Patch for hp2ps C23 compat

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1775
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 2797ea63a01ec9a496f233d86723a7e94c3eede0
Author: hololeap <hololeap@protonmail.com>
Date: Thu Jun 12 10:37:59 2025 -0600

dev-lang/ghc: Add clang as a llvm dep

At the very least, 9.10.1 requires clang to build with USE=llvm.
Adding llvm-core/clang as a dependency for USE=llvm for all versions,
just to be safe.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1767
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 373bacaacd09aa0cb46a063c1e1424191e7b59dd
Author: GdeVolpiano <xavier@wheredoibegin.fr>
Date: Sun May 4 16:32:50 2025 -0600

dev-lang/ghc: ghc-9.10.1 revbump

Fix patch typo and backport ghcbootstrap workaround

Signed-off-by: GdeVolpiano <xavier@wheredoibegin.fr>
Co-authored-by: hololeap <hololeap@protonmail.com>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 30b9c3ba6d0602355003a071251b673bb92d1ee1
Author: GuillaumedeVolpiano <xavier@wheredoibegin.fr>
Date: Sun May 4 16:32:50 2025 -0600

dev-lang/ghc: ghc-9.8.4 revbump

Signed-off-by: GuillaumedeVolpiano <xavier@wheredoibegin.fr>
Co-authored-by: hololeap <hololeap@protonmail.com>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 33fb0e1dcfe65465cc8bc67c25590943c986b62a
Author: hololeap <hololeap@protonmail.com>
Date: Sun May 4 16:32:49 2025 -0600

dev-lang/ghc: Revision bump for 9.8.3

Add 'file-io'; bump 'directory', 'filepath' and 'unix'

Enable hadrian-9.8.2-add-packages.patch

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 1103c2fd9890aae6872b78eb9cfd1fb0045e755b
Author: hololeap <hololeap@protonmail.com>
Date: Sun May 4 16:32:49 2025 -0600

dev-lang/ghc: Revision bump for 9.8.2

Add 'file-io'; bump 'array', 'directory', 'filepath' and 'unix'

Add hadrian-9.8.2-add-packages.patch

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 874594ea89e930f107da11cd64968443059d65c5
Author: Xavier Dectot <xavier@wheredoibegin.fr>
Date: Sun May 4 16:32:49 2025 -0600

dev-lang/ghc: add 9.6.7

Signed-off-by: Xavier Dectot <xavier@wheredoibegin.fr>
Co-authored-by: hololeap <hololeap@protonmail.com>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 6fbae916142877c76c2891f59c53336a4964a8f0
Author: hololeap <hololeap@protonmail.com>
Date: Sun May 4 16:32:48 2025 -0600

dev-lang/ghc: Support new libraries in BUMP_LIBRARIES

Previously, only supported bumping existing libraries as opposed to
adding new ones. Note that using this will likely require patching
hadrian as well so that it knows to build the new libraries.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit f4cb4e96c22ad969405e1a130fd1cda8cf1c9be1
Author: hololeap <hololeap@protonmail.com>
Date: Sun May 4 16:32:48 2025 -0600

dev-lang/ghc: update Manifest

Update manifest for hadrian-bootstrap-sources-9.10.1.tar.gz, which was
changed upstream.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit f4c8b312fcfa91d25a0bc5cb690b2f27917acefb
Author: hololeap <hololeap@protonmail.com>
Date: Tue Apr 1 16:58:50 2025 -0600

dev-lang/ghc: Add ghc_unique_counter64 patch

Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/25576
Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1767
Signed-off-by: hololeap <hololeap@protonmail.com>

commit b44c97258bdb03608610929525694dbee36f43a0
Author: hololeap <hololeap@protonmail.com>
Date: Sat Mar 15 16:52:44 2025 -0600

dev-lang/ghc: add 9.12.2

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 9dd983cffcb7443eac3a194b7b6ea6841c92af35
Author: hololeap <hololeap@protonmail.com>
Date: Wed Mar 12 14:39:54 2025 -0600

dev-lang/ghc: Patch and revbump 9.12.1

Apply MR #13821 (Revert "Division by constants optimization")

In order for this patch to apply, test data from gitlab must be
unconditionally downloaded/unpacked. This change can be reverted in
later GHC versions where bug #25653 has been fixed.

See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13821
Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/25653
Signed-off-by: hololeap <hololeap@protonmail.com>

commit d800036f40ba4f7333913cf3b3e5898fbeb76575
Author: Michael Orlitzky <mjo@gentoo.org>
Date: Wed Mar 12 02:26:54 2025 -0400

dev-lang/ghc: apply 9.10.1 llvm-targets patch to 9.12.1, too

Adds "riscv64-unknown-linux-musl" as an LLVM target, in case you are
brave enough to try to build that.

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

commit acdba470b1cf5945173caadd670d8e22311bef52
Author: Michael Orlitzky <mjo@gentoo.org>
Date: Wed Mar 12 02:26:38 2025 -0400

dev-lang/ghc: two bugfixes for 9.10.1

I've spent the past week trying to build ghc-9.10.1 on a riscv/musl
system, and it is by no means this simple, but these two small bug
fixes seem worthy of comitting regardless:

* terminfo fails to ./configure unless /bin/sh is bash

* GHC's llvm-targets is missing a riscv/musl target (this should
matter to approximately no one)

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

commit 756f6897806e86dbbce0532f5b69f7af7a3e77b1
Author: hololeap <hololeap@protonmail.com>
Date: Mon Mar 10 15:23:46 2025 -0600

dev-lang/ghc: Add ~arm64 keyword for 9.6.6, 9.8.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 9456d01efe5f999e609cb4a608a1ae052f0c9181
Author: hololeap <hololeap@protonmail.com>
Date: Mon Mar 10 07:54:33 2025 -0600

dev-lang/ghc: Add arm64 upstream for 9.6.6, 9.8.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 4910ed14f5baeec3ebc7dab0a096815e4c121710
Author: hololeap <hololeap@protonmail.com>
Date: Mon Feb 24 10:32:23 2025 -0700

dev-lang/ghc: Toggle debug symbols based off CFLAGS

Add "+debug_info" to HADRIAN_FLAVOUR when -g* is detected in CFLAGS

Reported-by: Sergey Alirzaev <l29ah@riseup.net>
Thanks-to: Arsen Arsenović <arsen@gentoo.org>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 42293dd071525f1c741f9f5d4122ab52dac97db3
Author: Violet Purcell <vimproved@inventati.org>
Date: Wed Feb 5 23:35:03 2025 -0500

dev-lang/ghc: also apply clang check workaround in src_install

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit edc6bf49013c253e1ed870d5f3a26fa011213b09
Author: Violet Purcell <vimproved@inventati.org>
Date: Wed Feb 5 19:26:09 2025 -0500

dev-lang/ghc: wire up bootstrapping for aarch64

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit 1dfc416f9d9310492961c6c20753dc129175fc73
Author: Violet Purcell <vimproved@inventati.org>
Date: Wed Feb 5 19:24:36 2025 -0500

dev-lang/ghc: use alex built during hadrian bootstrapping

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit ffe61faca7a1e4ddd3073f350463230c1b007d32
Author: Violet Purcell <vimproved@inventati.org>
Date: Wed Feb 5 18:42:09 2025 -0500

dev-lang/ghc: workaround failing configure check with clang

GHC has a configure test for a working preprocessor that compares the
output to an expected output. But, because it runs the preprocessor with
-CC, and maybe-stddefs.h includes a comment, that comment is included
in the output and causes the check to fail. The check is completely
irrelevant to us anyway, since it's specific to emscripten.

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit 84371cd731603827a58432650d00a201cc5d3896
Author: hololeap <hololeap@protonmail.com>
Date: Tue Feb 4 00:21:57 2025 -0700

dev-lang/ghc: drop 9.0.2-r4

This reverts commit 63fffc841230fdd4be8bf29a61740cacb75339f8.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit b964adcafef3c8965929d068a57a14e7fc13667d
Author: hololeap <hololeap@protonmail.com>
Date: Mon Feb 3 13:19:40 2025 -0700

dev-lang/ghc: Bump Cabal for 9.12

Signed-off-by: hololeap <hololeap@protonmail.com>

commit e436564d1c1634bfd8b8d53d9af46267d03738c6
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jan 31 16:19:54 2025 -0700

dev-lang/ghc: Patch for missing C headers (9.8.4)

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1579
Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/25699
Signed-off-by: hololeap <hololeap@protonmail.com>

commit f10d74f2fc68590b715ed87ed7a66c0f8f621a10
Author: Mark Wright <gienah@gentoo.org>
Date: Thu Jan 30 21:39:45 2025 +1100

dev-lang/ghc: No need for ghc-9.12.1 revbump

Signed-off-by: Mark Wright <gienah@gentoo.org>

commit c45763acf25ea17dc5953aaca5dfad42e895a70b
Author: Miezhiko <Miezhiko@gmail.com>
Date: Wed Jan 29 11:10:07 2025 +0400

dev-lang/ghc: port Fix CPP guards around ghc_unique_counter64
fixes #1585

Signed-off-by: Miezhiko <Miezhiko@gmail.com>

commit 0e34e1d17cf6449527d506f2f74d78294202da32
Author: Miezhiko <Miezhiko@gmail.com>
Date: Wed Jan 29 11:10:07 2025 +0400

dev-lang/ghc: port Fix CPP guards around ghc_unique_counter64

Signed-off-by: Mark Wright <gienah@gentoo.org>

commit 19e11f03d6abcdbf5e47863f22706b386ce59956
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 29 23:14:35 2025 -0700

dev-lang/ghc: Revision bump for 9.10.1

The bundled version of Cabal cannot build hadrian, which could end up
being a big inconvenience. Bump bundled Cabal and Cabal-syntax to
3.12.1.0 as a workaround.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 870a84148499532a6a077f47b58ebf5913c77903
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 29 19:27:26 2025 -0700

dev-lang/ghc: Prune BUMP_LIBRARIES for 9.12.1

All were matching the versions that come bundled already with 9.12.1

Signed-off-by: hololeap <hololeap@protonmail.com>

commit d6dfc7a64671cf135737b46cbd34312a37712f4e
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 29 18:58:40 2025 -0700

dev-lang/ghc: Revision bump for 9.10.1

Bump bundled os-string so that everyone can happily use the same
version.

(If we leave bundled os-string-2.0.2, when portage automatically
upgrades to newer os-string, it will result in multiple versions on the
system and potentially cause confusing compile errors later on.)

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 1418c7403e60847fe9e1f7c419851507a35094c6
Author: Mark Wright <gienah@gentoo.org>
Date: Wed Jan 29 22:00:20 2025 +1100

Add KEYWORDS, package.mask and package.unmask for ghc 9.12.1

Signed-off-by: Mark Wright <gienah@gentoo.org>

commit 577ad77f7668ef84e4f318891df796c7b02f6580
Author: Mark Wright <gienah@gentoo.org>
Date: Wed Jan 29 01:10:18 2025 +1100

dev-lang/ghc: Bump to 9.12.1

Signed-off-by: Mark Wright <gienah@gentoo.org>

commit 324cf5d7d0efe0fb503526383b26ac0b208cc9ef
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 8 13:02:56 2025 -0700

dev-lang/ghc: Match BUMP_LIBRARIES to hackport

Signed-off-by: hololeap <hololeap@protonmail.com>

commit e76008a3ad18d9652e09a535d198987c6108064d
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 8 13:02:18 2025 -0700

dev-lang/ghc: Patch 9.10.1 for new deepseq

Signed-off-by: hololeap <hololeap@protonmail.com>

commit ea86a79a6efac62b6c1dbdfdcddc0cdc511c12d5
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 8 12:40:18 2025 -0700

dev-lang/ghc: Add verify-sig for 9.10.1

Fixup for 77e6ff67559861f2e7189d1058458ede3a00612e

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 450f550a574539e67f816f462855abe913d7c902
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 8 04:36:14 2025 -0700

dev-lang/ghc: Support llvm-19

Signed-off-by: hololeap <hololeap@protonmail.com>

commit f8b05a200656ee90a022e4e4709765e3ba5cccf6
Author: hololeap <hololeap@protonmail.com>
Date: Wed Jan 8 03:24:13 2025 -0700

dev-lang/ghc: Increase numbers for check-reqs

Testing shows ~18 GB in the /var/tmp/portage/dev-lang/ghc-9.4.8
directory, with 2.4 GB in the image dir. Increase CHECKREQS_DISK_BUILD
to 20 GB and CHECKREQS_DISK_USR to 4 GB.

Reported-by: xacktm in libera.chat
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 331edeb5ad64ab3748e95f6e7ffadee71d91d6ab
Author: hololeap <hololeap@protonmail.com>
Date: Tue Dec 31 19:24:16 2024 -0700

dev-lang/ghc: update Manifest

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 1efbb454e44b440b7b258b20db180ac826957765
Author: hololeap <hololeap@protonmail.com>
Date: Tue Dec 31 18:02:58 2024 -0700

dev-lang/ghc: Bump internal libs for 9.10.1

Make sure no internal libs are lower than 9.8.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 020ea5d4d57c1c610ea7e34885186558343795fa
Author: hololeap <hololeap@protonmail.com>
Date: Tue Dec 31 17:56:34 2024 -0700

dev-lang/ghc: Bump internal libs for 9.8.2

Having these match 9.8.3 and 9.8.4 will help simplify package.unmask/ghc-9.8

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 38deba527e9792649e1ea4eefed112ad06618da3
Author: hololeap <hololeap@protonmail.com>
Date: Tue Dec 31 17:27:13 2024 -0700

dev-lang/ghc: add 9.8.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit c60fd943d1f6f06a3875a145ecd471f5b2c4bae3
Author: hololeap <hololeap@protonmail.com>
Date: Tue Dec 31 12:18:18 2024 -0700

dev-lang/ghc: add 9.8.3

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 77e6ff67559861f2e7189d1058458ede3a00612e
Author: hololeap <hololeap@protonmail.com>
Date: Mon Dec 30 11:42:33 2024 -0700

dev-lang/ghc: Implement verify-sig for all versions

verify-sig is masked for ghc-9.6.3, since this version is signed by
Bryan Richter, but the key fails to be imported after being downloaded
from keys.openpgp.org, saying "no user ID".

See: <https://www.haskell.org/ghc/download_ghc_9_6_3.html#binaries>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 480693ba062942eecad6b73280fb426ebfe59890
Author: hololeap <hololeap@protonmail.com>
Date: Sun Dec 29 19:52:34 2024 -0700

dev-lang/ghc: Use system libffi for >=ghc-9.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 92a5880b6aa3592134af4ba62db1a8872e7e63f2
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Mon Dec 23 19:32:38 2024 +0100

dev-lang/ghc: implement source sig verification for 9.8.2

only verifies ghc source tarball for now
not sure if it is correct to use the whole ghcup keychain

addresses https://github.com/gentoo-haskell/gentoo-haskell/issues/1568

commit 5ff0725a8fd858b9860f76bc9af91bd4be284578
Author: hololeap <hololeap@protonmail.com>
Date: Sun Dec 22 11:00:30 2024 -0700

dev-lang/ghc: Use alternate patch for 9.8.2

Use ghc-9.10.1-fix-configure-implicit-function.patch (instead of the
9.4.8 version)

Fixes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1566
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 5c06fb184f761ee5f54a2bf5639d11d2640aa274
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Thu Dec 12 12:46:10 2024 +0100

dev-lang/ghc: s#sys-devel/llvm#llvm-core/llvm#g

as in ::gentoo

commit f80a463b1825ed7536bc5974e0e9c487e2cfaf6d
Author: hololeap <hololeap@protonmail.com>
Date: Sun Nov 10 14:39:36 2024 -0700

dev-lang/ghc: Disable doc archvies in hadrian

Remove the code that creates e.g.
/usr/share/doc/ghc-9.4.8/archives/libraries.html.tar.xz

This fixes the QA warning: "Notice: One or more compressed files were
found in docompress-ed directories."

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1522
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 53c18f9a07e58e23e98bb9e06621d90d469d2890
Author: hololeap <hololeap@protonmail.com>
Date: Sun Nov 10 14:39:35 2024 -0700

dev-lang/ghc: Disable more configure options

Disable --with-system-libffi and --with-ffi-includes, which are
unrecognized configure options.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1522
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 92ee1beda8b15892ce1015413b34017448325e76
Author: hololeap <hololeap@protonmail.com>
Date: Sun Nov 10 14:39:34 2024 -0700

dev-lang/ghc: Fix implicit function in configure

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1522
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 3307d595f894883148fb6a68b5cb2661fe79b670
Author: hololeap <hololeap@protonmail.com>
Date: Sun Nov 10 14:39:34 2024 -0700

dev-lang/ghc: Fix --with-cc w/ hadrian bootstrap

Fix "Unrecognized configure options" QA notice when using
USE=-ghcbootstrap by using hadrian patch.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1522
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 881bf818996ca80f17c3efce20c4832534350962
Author: hololeap <hololeap@protonmail.com>
Date: Sat Oct 5 11:28:47 2024 -0600

dev-lang/ghc: Revert "Disable need for alex during build"

This fix is not working properly and the proper solution is still not
in an official cabal-install release. Building without USE=ghcbootstrap
will not be feasible until the --ignore-build-tools flag for cabal makes
its way into the hadrian-bootstrap-sources tarball.

In the meantime, install ghc-9.8 and then bootstrap ghc-9.10 using the
instructions found here:

https://github.com/gentoo-haskell/gentoo-haskell/wiki/Building-experimental-ghc#bootstrap-install

This reverts commit 27185cb8c4e4cfe6b3c59114d6970268d553cdbf.

See: https://github.com/haskell/cabal/pull/10128
Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1552
Signed-off-by: hololeap <hololeap@protonmail.com>

commit b4015726bb8cb57b6a2fe789803b03f55ee5e327
Author: hololeap <hololeap@protonmail.com>
Date: Sun Sep 22 14:48:00 2024 -0600

dev-lang/ghc: Delete buggy tests during src_prepare

Unfortunately, the --broken-test option for hadrian does not work as one
might expect: It still runs the test but then fails if the test
succeeds, which means buggy tests can still cause test suite failures.
Instead, we give the full path to the test and delete it during
src_prepare, which is a the most straightforward and reliable way to
disable the test completely.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit cb22d719f60ce55e8d8dba655ef911e41eba6dfe
Author: hololeap <hololeap@protonmail.com>
Date: Sun Sep 22 12:11:59 2024 -0600

dev-lang/ghc: Bump 'directory' for 9.8, 9.10

ghc-9.6.6 comes with a newer version of the 'directory' library than
these later versions of ghc. This could cause issues with hackport's
minimum GHC detection algorithm. In order to avoid this, bump the
'directory' library bundled with ghc 9.8 and 9.10 to match ghc-9.6.6.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit b988cf4a3df935e46aa6764f6ba1401339627243
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 22:12:56 2024 -0600

dev-lang/ghc: Don't strip stage1 libs

Signed-off-by: hololeap <hololeap@protonmail.com>

commit abf899b2f1d89699707c54a71175a7d7f9fcf6cd
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:25 2024 -0600

dev-lang/ghc: Add GHC_BUGGY_TESTS

Array which holds tests that will be passed to hadrian via
--broken-test

Signed-off-by: hololeap <hololeap@protonmail.com>

commit d2df23c1bc2e496e0ca03065e5f01ecf2e8a0cea
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:25 2024 -0600

dev-lang/ghc: Fix buggy tests

Depend on LLVM if USE=test is enabled since some tests assume it is
installed.

Fix some tests with a patch.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit ea25a7096c8b8137c28146087fd51bfc332235b9
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:25 2024 -0600

dev-lang/ghc: Bump LLVM support to 18

Signed-off-by: hololeap <hololeap@protonmail.com>

commit b1e155d123d2a4db7bf14a53eeacc02f10631dd3
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:24 2024 -0600

dev-lang/ghc: Remove obsolete commented-out code

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 84142e28ff8105ab05359f223ab9c4f8dd60f394
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:24 2024 -0600

dev-lang/ghc: Add run_hadrian function

New function uses correct location for the hadrian binary depending on
whether USE=bootstrap is enabled. Uses an array named _hadrian_args,
which is created in the src_configure phase.

run_hadrian is used in the src_compile and src_test phases.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 8b5be63ebed40b42855b4cff9008dea5a31bf2fa
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:24 2024 -0600

dev-lang/ghc: Fix Alex verison invocation

Modern Alex uses --version instead of -v. Fix this for ./configure
tests.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 7b77e2bbd9e715ce17fa18382d1c0d9e4e427e38
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:24 2024 -0600

dev-lang/ghc: Add fix-ipe-test.patch

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 77af452a472fdc4885622dae8540111f2b73423f
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:24 2024 -0600

dev-lang/ghc: Use git snapshot for tests

Add upstream commit hash

Download the tar.gz snapshot for the branch from the GHC gitlab. Copy
the test suite, since the tests aren't included in the official release
tarball.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 782402e523e2a94d7b1aff2d0113744aef9a3cb0
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:23 2024 -0600

dev-lang/ghc: Use CHECKREQS_MEMORY for USE=doc

The version of haddock bundled with ghc-9.4.* uses 6-7GB of memory when
building the docs for GHC. This has caused sporadic failures even on a
system with 12GB of memory, so check for at least 16GB to be safe.

The versions of haddock bundled with >=ghc-9.6 are supposed to be much
less memory consumptive, but, unfortunately, it is quite difficult to
backport these newer haddock versions to ghc-9.4.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit aba13596c22d5fa8ba9bd7ff89059e29f0c4b64f
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:23 2024 -0600

dev-lang/ghc: add 9.6.6

Signed-off-by: hololeap <hololeap@protonmail.com>

commit e2c35b077882ff89e59a22fd247e0a4e9392cc14
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:23 2024 -0600

dev-lang/ghc: Use hadrian-9.6.6 for ghc-9.6.5

Hadrian seems to have a bug that causes build errors when using
USE=ghcbootstrap:

# cabal-configure (for _build/stage0/libraries/mtl/setup-config)
dieVerbatim: user error (Error: hadrian: '/usr/bin/ghc' exited with an error:
ghc-9.6.5: can't find a package database at
_build/stage0/libraries/ghc-boot-th/build/package.conf.inplace
)
Build failed.

This seems to have been fixed in hadrian bundled with ghc-9.6.6

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 0b98ceab6e148c49bcf1c7600a8d15af43278b1d
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:22 2024 -0600

dev-lang/ghc: Remove unused llvmize function

Fixup for ff53bc42f89e62e2e41e578ae2c202082ccd14a9

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 0c503dd554005b7a99631ec3af29df1f6d2609a4
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:22 2024 -0600

dev-lang/ghc: Fix python for hadrian + USE=doc

Also add better error messages when it fails to find the
sphinx-rtd-theme directory.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 7c7ccd49663854dd00f2f38f8567faa7c0658af6
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:22 2024 -0600

dev-lang/ghc: Update bump_lib to take full path

Make it so that bump_lib takes a full path (in relation to $S) so that
utils as well as libraries can be bumped.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit a7240a5b3f9b60ec94202a7058ad9d341adefd0f
Author: hololeap <hololeap@protonmail.com>
Date: Sat Aug 31 16:02:22 2024 -0600

dev-lang/ghc: Add HADRIAN_SETTINGS_EXTRA

New variable that allows users to add extra flags to hadrian.settings.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 117e0008afaf87f36b4cba8b7b8198ddf4752eed
Author: hololeap <hololeap@protonmail.com>
Date: Sun Jun 30 11:42:30 2024 -0600

dev-lang/ghc: Revision bump for 9.10.1

Bump internal libs that are lower than those bundled with ghc-9.6.5

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 96365e1b5e2e557e245f2e84d00fe01ae685325e
Author: hololeap <hololeap@protonmail.com>
Date: Sun Jun 16 13:18:03 2024 -0600

dev-lang/ghc: keyword 9.4.8 for ~arm64

Signed-off-by: hololeap <hololeap@protonmail.com>

commit ff53bc42f89e62e2e41e578ae2c202082ccd14a9
Author: hololeap <hololeap@protonmail.com>
Date: Sat Jun 15 10:34:15 2024 -0600

dev-lang/ghc: re-work toolchain logic

Set CC, CXX, LD, AR, and RANLIB with tc-export from
toolchain-funcs.eclass. Remove llvmize and logic that expicitly sets
these variables.

Fixes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1527
Fixes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1535
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 0a0053f449de2c7ede8580c1f3aa3fffa213b8fe
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 14 12:42:20 2024 -0600

dev-lang/ghc: Re-work HADRIAN_FLAVOUR selection

Allow both USE=-profile and USE=llvm variants

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 27185cb8c4e4cfe6b3c59114d6970268d553cdbf
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 14 12:00:33 2024 -0600

dev-lang/ghc: Disable need for alex during build

Use patch from upstream PR to disable the need for alex when compiling
ghc-9.10.1

Remove ghcbootstrap from package.use.force

Bug: https://github.com/haskell/cabal/pull/10104
Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1541
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 50ffa13f8ff609431638a0c338c089244ca2e5dc
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 14 08:54:56 2024 -0600

dev-lang/ghc: Fix typo when setting verbosity

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 6d0090472e1592f74fb2972d5fa27cad0da564bc
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 14 07:16:50 2024 -0600

dev-lang/ghc: add 9.10.1

Force USE=ghcbootstrap for >=ghc-9.10 until alex is bootstraped as part
of the normal build.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1541
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 117c9bf8c7cd4ae458b3fa495118d0351a1e4740
Author: hololeap <hololeap@protonmail.com>
Date: Sun Jun 9 15:45:47 2024 -0600

dev-lang/ghc: Switch to econf for bootstrap GHC

Switch to using econf when configuring the bootstrap GHC. Move this code
so that it can use "${econf_args[@]}" as well.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit be6d73b11531c1e37cbfde6864a043b397645698
Author: hololeap <hololeap@protonmail.com>
Date: Sun Jun 9 15:29:41 2024 -0600

dev-lang/ghc: Fix bump_lib(s) in 9.6.5

Fixup for aa1033480825c3b5e770021b9682e14f1ce46b8e

See: 0707e2448fc2c1098c040a7144e29d83b1bb4747
See: 4a41b6fde6db187a9db5d8aa4c3753173cd146af
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 3567422961ee98731ee284fa4b5ceff17056ca13
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 14:08:28 2024 -0600

dev-lang/ghc: Remove sphinx hack in ghc-9.8.2

This version of ghc includes the upstream fix.

See: e8b593e6f2b8fd3ccd304f1f9dca85744f411f06
Signed-off-by: hololeap <hololeap@protonmail.com>

commit c0ef31a2e98c8f9bb5248018aa5197eee5ce11b7
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:19 2024 -0600

dev-lang/ghc: Bump supported LLVM version to 17

For >=ghc-9.4 only

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 82967505e7f59fff85f886c6202137bd4cfd9320
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:19 2024 -0600

dev-lang/ghc: Revision bump for 9.8.2

Bump internal libs that are lower than those bundled with ghc-9.6.5

Signed-off-by: hololeap <hololeap@protonmail.com>

commit aa1033480825c3b5e770021b9682e14f1ce46b8e
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:17 2024 -0600

dev-lang/ghc: add 9.6.5

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 4a41b6fde6db187a9db5d8aa4c3753173cd146af
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:13 2024 -0600

dev-lang/ghc: Modernize bump_libs()

Add special case for Cabal-syntax and Cabal, which are under the Cabal subdir

Only for >=ghc-9.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 0707e2448fc2c1098c040a7144e29d83b1bb4747
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:13 2024 -0600

dev-lang/ghc: Modernize bump_lib()

Bundled libraries no longer have ghc.mk or GNUmakefile files

Only for hadrian builds

Already implemented in 9.6.3 and 9.6.4

Signed-off-by: hololeap <hololeap@protonmail.com>

commit b8ace027484616afad90110397ddb6853e1194d8
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:13 2024 -0600

dev-lang/ghc: Backport recent patch to older ghcs

Backport to 9.4.* and 9.6.*

Add revised patch for 9.4.* which includes an additional commit

See: 104c8ef0d0874f0cf0cf1302d668be70d0ede77f
Signed-off-by: hololeap <hololeap@protonmail.com>

commit f03e9abfece17fe3c86bac46c8da726640a06703
Author: hololeap <hololeap@protonmail.com>
Date: Fri Jun 7 10:53:12 2024 -0600

dev-lang/ghc: Fix indentation in src_prepare

Fixup of 104c8ef0d0874f0cf0cf1302d668be70d0ede77f

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 104c8ef0d0874f0cf0cf1302d668be70d0ede77f
Author: Mark Wright <gienah@gentoo.org>
Date: Sun Jun 2 21:13:31 2024 +1000

dev-lang/ghc: patch (by upstream) fix linker errors

Fixes linker errors building app-portage/hackport and dev-haskell/cabal-install

Signed-off-by: Mark Wright <gienah@gentoo.org>

commit 5b552b87259f189c1a7debfb97de4cc8960152c6
Author: hololeap <hololeap@protonmail.com>
Date: Sun Mar 31 17:02:13 2024 -0600

dev-lang/ghc: Point src_prepare llvmize to new dir

Point llvmize in src_prepare to the new location for Alpine Linux
tarballs. Move ghc_bin_triple logic to new ghc_bin_path function.
Rename BOOTSTRAP_PV to GHC_BINARY_PV to avoid confusion.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1527
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 3b958846c7090d5f5dbff1fc73517dfbdd99c213
Author: hololeap <hololeap@protonmail.com>
Date: Wed Mar 27 12:45:02 2024 -0600

*/*: Switch from KEYWORDS to masks for ghc-9.8

Instead of using no KEYWORDS to block people from using newer versions
of GHC (and packages that depend on them), do the following:

* Keyword versions of GHC that have a binary
* Keyword any package versions that depend on them
* Add the GHC and package versions to profiles/package.mask
* For convenience, create a working package.unmask that can be copied to
the user's config which will allow them to use the GHC branch if
needed

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1047
See: 9c6c2f651884fe3293be3010f8849302b18a4fc3
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 4a89dd1578603f1c5c53e18f2f2d5d9bf1294797
Author: hololeap <hololeap@protonmail.com>
Date: Sat Mar 23 17:44:59 2024 -0600

dev-lang/ghc: Fix bump_lib()

for ghc-9.6.*

The files ghc.mk and GNUmakefile don't seem to be present in ghc-9.6

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 9c6c2f651884fe3293be3010f8849302b18a4fc3
Author: hololeap <hololeap@protonmail.com>
Date: Sat Mar 23 16:09:48 2024 -0600

*/*: Switch from KEYWORDS to masks for ghc-9.6

Instead of using no KEYWORDS to block people from using newer versions
of GHC (and packages that depend on them), do the following:

* Keyword versions of GHC that have a binary
* Keyword any package versions that depend on them
* Add the GHC and package versions to profiles/package.mask
* For convenience, create a working package.unmask that can be copied to
the user's config which will allow them to use the GHC branch if
needed

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1047
See: ba4dd5e3afcc1eff0d6c72fbeec8f6671e1a662b
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 6d850e77cd2cf2e95d586db82e28f33e5fbd9441
Author: hololeap <hololeap@protonmail.com>
Date: Sat Mar 23 15:56:44 2024 -0600

dev-lang/ghc: Pull process-1.6.18.0 for ghc-9.6.*

ghc-9.6.3 and ghc-9.6.4 both come bundled with process-1.6.17.0, while
ghc-9.4.8 comes bundled with process-1.6.18.0. This causes some
headaches when trying to set up package.unmask files that span both
ghc-9.4 and ghc-9.6, so we'll make sure all of them are bundling with
process-1.6.18.0 for consistency's sake.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit ba4dd5e3afcc1eff0d6c72fbeec8f6671e1a662b
Author: hololeap <hololeap@protonmail.com>
Date: Sat Mar 16 20:19:13 2024 -0600

*/*: Switch from KEYWORDS to masks for ghc-9.4

Instead of using no KEYWORDS to block people from using newer versions
of GHC (and packages that depend on them), do the following:

* Keyword versions of GHC that have a binary
* Keyword any package versions that depend on them
* Add the GHC and package versions to profiles/package.mask
* For convenience, create a working package.unmask that can be copied to
the user's config which will allow them to use the GHC branch if
needed

This is only for the GHC-9.4 branch for now, but it can be done for
later GHC branches as well.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1047
Closes: https://github.com/gentoo-haskell/gentoo-haskell/pull/1521
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1485
Signed-off-by: hololeap <hololeap@protonmail.com>

commit db46c22ee2be0087ec9ce1428874b4f7e409d4fe
Author: hololeap <hololeap@protonmail.com>
Date: Wed Mar 13 03:45:45 2024 -0600

dev-lang/ghc: update Manifest

Fixup for 7e21d9dff2b136094617342924040e4053e17635

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 7e21d9dff2b136094617342924040e4053e17635
Author: hololeap <hololeap@protonmail.com>
Date: Sun Mar 10 14:39:31 2024 -0600

dev-lang/ghc: Adjust bootsrap URIs

Upstream seems to be moving things around. This uses the 9.8.2 directory
for the hadrian bootstrap sources. Also, use 9.6.2 for bootstrapping 9.6
and up.

Signed-off-by: hololeap <hololeap@protonmail.com>

commit c1d1ab135e7d4c3de68869388ff96abf77f868e5
Author: hololeap <hololeap@protonmail.com>
Date: Tue Mar 5 19:25:37 2024 -0700

*/*: Switch to EAPI 8

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 2d10427983a2a9ebc7f7de1971abc96520c46e96
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Sun Mar 3 21:11:45 2024 +0100

dev-lang/ghc: add 9.8.2

commit 38e63911ddfee419f16fcc1cf4f68756f91d1435
Author: hololeap <hololeap@protonmail.com>
Date: Sat Mar 2 16:05:38 2024 -0700

dev-lang/ghc: Fix some pkgcheck nits

Signed-off-by: hololeap <hololeap@protonmail.com>

commit a4f781e10db89457b3567e4649bc5de2410bf141
Author: Violet Purcell <vimproved@inventati.org>
Date: Sun Feb 18 14:30:28 2024 -0500

dev-lang/ghc: use upstream binaries for bootstrapping

Signed-off-by: Violet Purcell <vimproved@inventati.org>
Co-authored-by: hololeap <hololeap@protonmail.com>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 95482a65fa16c6955508cd255a289697692df795
Author: Violet Purcell <vimproved@inventati.org>
Date: Sun Feb 18 14:30:28 2024 -0500

dev-lang/ghc: Remove binary IUSE

Signed-off-by: hololeap <hololeap@protonmail.com>

commit c86e25280fbf25981a14ac9f5578b985260f9a36
Author: hololeap <hololeap@protonmail.com>
Date: Fri Mar 1 17:26:01 2024 -0700

dev-lang/ghc: drop 9.4.4, 9.4.5, 9.6.2

Spring cleaning

Signed-off-by: hololeap <hololeap@protonmail.com>

commit cf02273715f426ede3e30d81580a1eb5b79999f2
Author: hololeap <hololeap@protonmail.com>
Date: Fri Mar 1 15:30:47 2024 -0700

dev-lang/ghc: Add ghc-9.6.4-llvm-16.patch

Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1519
Signed-off-by: hololeap <hololeap@protonmail.com>

commit 0250ee2ee0a8bd13070b62037530d5b2a92ac320
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Tue Jan 9 13:29:55 2024 +0100

dev-lang/ghc-9.6.4: modunusable patch is broken

commit fa93eb36e07e6a77fcf14b051c2b3bc6db9685e2
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Tue Jan 9 12:49:00 2024 +0100

dev-lang/ghc-9.6.4: remove obsolete patches

commit c4fdef0c9921f46ba1b4d8d22e56e7f714b65b9f
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Tue Jan 9 11:21:30 2024 +0100

dev-lang/ghc: add 9.6.4

commit 1c4bdf6244e68a594bd4d1fcd714d7c3c9bd744a
Author: hololeap <hololeap@protonmail.com>
Date: Sat Nov 18 13:25:31 2023 -0700

dev-lang/ghc: Fix python_check_deps

Needs to be conditional based on USE=doc

Thanks-to: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@protonmail.com>

commit eda6264403542f80bc0f2a0f701e705600c4b020
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Mon Nov 13 23:51:33 2023 +0100

dev-lang/ghc: add 9.6.3

commit 5975c50f688420895e7a512b892731779513eb14
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Mon Nov 13 23:05:45 2023 +0100

dev-lang/ghc: comment-out missing binaries' availability

commit ffaa7016d2fa9a73d8d908f01b7f8afbfe326525
Author: Violet Purcell <vimproved@inventati.org>
Date: Mon Nov 13 12:48:30 2023 -0500

dev-lang/ghc: add 9.4.8

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit 69cf78ab7e26bbda76eb03500822cb7a3a3ca498
Author: hololeap <hololeap@protonmail.com>
Date: Sat Nov 11 10:30:17 2023 -0700

dev-lang/ghc: drop 8.10.6-r3, 8.10.7-r2

Signed-off-by: hololeap <hololeap@protonmail.com>

commit 2827241a04f26f2097eb91d505bf54194b3bbf14
Author: hololeap <hololeap@protonmail.com>
Date: Sat Nov 11 07:11:31 2023 -0700

dev-lang/ghc: Fix python deps for docs

Add python_gen_any_dep and python_check_deps to correctly resolve python
dependencies (needed for building documentation)

See: https://projects.gentoo.org/python/guide/any.html
Signed-off-by: hololeap <hololeap@protonmail.com>

commit c58ec8f79aaa0904fa945c0ab892d34e3f85001f
Author: Violet Purcell <vimproved@inventati.org>
Date: Fri Oct 27 20:06:54 2023 -0400

dev-lang/ghc: add 9.4.7

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit b6e411fa7fd92fd0956660777eace6c577dfd64e
Author: Violet Purcell <vimproved@inventati.org>
Date: Fri Oct 27 20:23:34 2023 -0400

dev-lang/ghc: make bootstrap binary comply with user's set compiler

This adds a couple seds in src_prepare to modify the settings file of
the ghc bootstrap binary to make sure that the binary ghc uses the
correct compiler and binutils.

Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1463
Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit fd27c9d7b0c24450030acc33d6615c40c7493133
Author: hololeap <hololeap@protonmail.com>
Date: Wed Oct 11 20:09:33 2023 -0600

dev-lang/ghc: Sync changes from ::gentoo

591a09ad dev-lang/ghc: drop dead prefix targets

enable py3.12

Signed-off-by: hololeap <hololeap@protonmail.com>

commit a091f3aa4ec348d02f0bfd9adcd182968fbd85a8
Author: hololeap <hololeap@protonmail.com>
Date: Thu Oct 5 22:51:52 2023 -0600

dev-lang/ghc: Turn USE=doc off by default

This flag has been turned on by default historically, but has been
causing problems due to compatibility issues with newer sphinx.

Other packages in dev-lang do not have USE=doc turned on by default.

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 695eafe0e440c42f05864ec8c40534da5e7b48b0
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Wed Aug 9 02:51:05 2023 +0200

dev-lang/ghc-9.6.2: purge irrelevant patches

commit c44fc047f4ad2483f8e816f2af91c4ee5f02cac5
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Wed Aug 9 02:30:59 2023 +0200

ghc-9.6.2 and core packages

just a simple bump without any testing

Signed-off-by: Sergey Alirzaev <l29ah@riseup.net>

commit e8b593e6f2b8fd3ccd304f1f9dca85744f411f06
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Jul 21 15:08:55 2023 -0600

dev-lang/ghc: Use system sphinx-rtd-theme

This allows sphinx-7 to build the GHC user's guide

The upstream rtd-theme that is bundled with GHC has been updated but
none of our GHC versions contain this fix.

See: https://gitlab.haskell.org/ghc/ghc/-/commit/70526f5bd8886126f49833ef20604a2c6477780a
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1449
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit bb5e16d1bb831efc703d3b419301c76a207403b8
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Mon Jul 10 19:53:33 2023 +0200

dev-lang/ghc: fixed typo

fixes https://github.com/gentoo-haskell/gentoo-haskell/issues/1460

commit 6cefab8b1176f5860c3588beef792be315de8dcd
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Jun 24 10:59:56 2023 -0600

dev-lang/ghc: Add amd64-musl binaries for 9.4.5

ghc and hadrian binaries for x86_64-gentoo-linux-musl

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 1af5a4ab6115f36847ca71a1d46e7ca6241584e6
Author: Violet Purcell <vimproved@inventati.org>
Date: Sun Jun 18 22:38:47 2023 +0000

dev-lang/ghc: Fix build failure on musl

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit 6940e6ba8fddd80bb8bbb36a6bc0bfff290659f4
Author: Violet Purcell <vimproved@inventati.org>
Date: Sun Jun 18 22:37:36 2023 +0000

dev-lang/ghc: Enable LLVM 16 for 9.4.5

Signed-off-by: Violet Purcell <vimproved@inventati.org>

commit e6648f1b66b66a995668caf73ce9ef85fefbc738
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Sun Jun 18 13:05:36 2023 +0200

dev-lang/ghc: depend on <sphinx-7

fixes https://github.com/gentoo-haskell/gentoo-haskell/issues/1423

commit 4913714e40b112908249a9aa895e94008909b610
Author: hololeap <hololeap@users.noreply.github.com>
Date: Mon Jun 12 21:39:54 2023 -0600

dev-lang/ghc: add 9.4.5 (unkeyworded w/hadrian)

Update CABAL_CORE_LIB_GHC_PV entries

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 3b51505fd96d649d556c5dcb2fb18869fc563526
Author: hololeap <hololeap@users.noreply.github.com>
Date: Thu Feb 23 21:39:14 2023 -0700

dev-lang/ghc: add 9.4.4 (unkeyworded w/hadrian)

Update CABAL_CORE_LIB_GHC_PV entries

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 370997d6f54761d71f36f0538df04220f96001b9
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Jun 9 14:30:29 2023 -0600

dev-lang/ghc: add 9.2.8

Update CABAL_CORE_LIB_GHC_PV entries for relevant packages

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit fb638110f47467dd0ce829511dba4741eee5c3b9
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Jun 9 14:24:03 2023 -0600

dev-lang/ghc: Fix yet_binary entries

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 76dea7eec9d76b3c7220831e9a005f942821d53d
Author: matoro <matoro@users.noreply.github.com>
Date: Thu Apr 20 13:41:26 2023 -0400

dev-lang/ghc: add arm64/ppc64/riscv binaries to 9.2.7-r1

commit 891cbec7f741ae22dfa8c9adbfffda38e8ced9d9
Author: Harri Nieminen <moiman@posteo.net>
Date: Thu Mar 30 00:08:34 2023 +0300

dev-lang/ghc: fix typos

Signed-off-by: Harri Nieminen <moiman@posteo.net>

commit 7286198572f66f3649448a47df175515149fb9ec
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sun Mar 26 18:10:19 2023 -0600

dev-lang/ghc: keyword 9.2.7-r1 for ~x86

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit e13b81c622cd636ed7c9596955c508529b323f87
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sun Mar 26 13:29:32 2023 -0600

dev-lang/ghc: drop 9.2.4-r1, 9.2.5, 9.2.6

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit f6ec4ee07326f0796883147903b02106035ce831
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Mar 25 17:32:19 2023 -0600

dev-lang/ghc: Reapply ModOrigin patch (revbump)

Upstream never applied this patch, so we need to keep doing so.

Tested locally on skylighting-core, which seems to be the easiest
package to reproduce this bug on.

See: https://github.com/gentoo-haskell/gentoo-haskell/issues/1250#issuecomment-1044257595
Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/21097
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1225
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1250
Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1404
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 20492f3b42d4a6494c05a5f8988b7e037241dbae
Author: Jack Todaro <solpeth@posteo.org>
Date: Tue Mar 21 12:47:42 2023 +1100

dev-lang/ghc: keyword 9.2.7 for ~amd64

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 8ee86177e70bf9f9a2da11637199693fd70a4281
Author: Jack Todaro <solpeth@posteo.org>
Date: Sun Mar 19 10:23:38 2023 +1100

dev-lang/ghc: remove redundant patch

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 709b065071c5a3ff3d82e53ca33ba884d244ab63
Author: Jack Todaro <solpeth@posteo.org>
Date: Fri Mar 17 20:57:36 2023 +1100

dev-lang/ghc: add 9.2.7 (no keywords or binaries)

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit cb8b69ae5278c4873dc45d8dc8eba533e8abbf9b
Author: hololeap <hololeap@users.noreply.github.com>
Date: Tue Mar 14 18:06:45 2023 -0600

dev-lang/ghc: Migrate to gpkg binaries (all versions)

Use newer gpkg format for binaries, compressed with XZ.

(No binaries were created for 8.10.7 or 9.2.5, as they never had any)

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 645d2dacd289ca48b72cf8d16a4824f6c903ff6b
Author: hololeap <hololeap@users.noreply.github.com>
Date: Mon Mar 13 12:20:15 2023 -0600

dev-lang/ghc: Make bootstrap version check conditional

Don't run ghc-check-bootstrap-version when installing from a prebuilt
binary.

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 4c264278cd4df7d5235272ca423fb26f24c8579f
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Mar 11 16:24:43 2023 -0700

dev-lang/ghc: Apply sphinx patch to 8.10.*

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit ef9ffec9e9abd71d27dd901a3cde9f157708145a
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sun Feb 26 18:04:59 2023 -0700

dev-lang/ghc: keyword 9.2.6 for ~amd64, ~x86

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit ce4aca799181e122bc353c22837c16ddc79fd6bf
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sun Mar 5 12:07:36 2023 -0700

dev-lang/ghc: Add x86 binary for 9.2.6

For use with USE=binary

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit c371e8fd7514f3db515ed661ab5e9d0872518e34
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sun Feb 26 17:46:37 2023 -0700

dev-lang/ghc: Add ghc version check for ghcbootstrap

Add a check in pkg_pretend that looks for an installed ghc and makes
sure it is an appropriate version for building ghc-9.2.*

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 4d511ece14a5add4dce2a385d7d05ad3b150ba10
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 25 09:40:50 2023 -0700

dev-lang/ghc: Fix 9.2.4-r1

ebuild was missed in previous few commits

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 807a6e5f30a7b59b87000b0699f9d5b9e76f49ac
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 25 09:37:10 2023 -0700

dev-lang/ghc: enable py3.11

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit e14eb0cf361363fd08267c7794138c155a63c6f9
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 25 09:35:24 2023 -0700

dev-lang/ghc: drop 9999

Live version is out-of-date, untested, and very unlikely to build. This
can be restored in the future, if needed.

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 41a46614f0f938de01d8885fe951b490f18c8918
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 25 07:12:54 2023 -0700

dev-lang/ghc: Add sphinx patch to 9.2

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 03ec23fc29b64515445d43f84ae450af87da389a
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 25 06:50:57 2023 -0700

dev-lang/ghc: Use 9.0.2 binary for normal build on v9.2.6

>=ghc-9.2 cannot be built with >=ghc-9.2 until hadrian is supported.

Download 9.0.2 binaries for USE="-ghcbootstrap -binary" so
9.2.6 can be built. USE=binary will still use the 9.2.6 binaries.

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 70b3100f45430aebe53a927f24ec7961d8ccd3f6
Author: hololeap <hololeap@users.noreply.github.com>
Date: Tue Feb 21 04:59:21 2023 -0700

dev-lang/ghc: Add binary for 9.2.6 on amd64

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 04eddb79c872fec896a2b5cfad80fe004ab7b209
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Feb 17 17:43:29 2023 -0700

dev-lang/ghc: Weak block dev-haskell/process

There is a chance that someone could upgrade dev-lang/ghc before
upgrading dev-haskell/process (recently changed into a dummy package).
This would cause file collisions.

Declare dev-haskell/process a weak blocker to dev-lang/ghc so that
portage can handle these file collisions.

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit fb9738bbe1df2cf0900c1c5693c5ac6f7aa0db08
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Feb 3 16:53:57 2023 -0700

dev-lang/ghc: Revision bumps for new process package

Use process-1.6.16.0 on versions of ghc that don't already include it.

There have been recent bug fixes in the process package which are
now required by the 3.8 branch of cabal-install.

Rebuilding GHC with the new version has proven to be a better solution
than making dev-haskell/process upgradable through portage.

Updates to the amd64 and x86 binaries were built using

quickpkg =dev-lang/ghc-9.0.2-r4

Keywords and binary packages for arm64, ppc64 and riscv have been
dropped pending new versions. This should prevent anyone on these
platforms who are using USE=binary from accidentally using old binaries
which use the old version of 'process'.

See: https://github.com/haskell/cabal/commit/ad9e4dc3c63a293bbd89444fc356294e64766556
See: https://github.com/haskell/process/issues/226
See: 6212e01ac29233ea686d0655cd416adfdae49cb2
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 88a71a778ab1c0372486641ee46544301ad9551d
Author: Sam James <sam@gentoo.org>
Date: Sat Feb 4 23:10:36 2023 +0000

dev-lang/ghc: fix build w/ sphinx 6

Closes: https://bugs.gentoo.org/890563
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit dd4b2d46b11b4cae6ce99c5194e8e73a9d8b32a5
Author: Matoro Mahri <matoro@users.noreply.github.com>
Date: Tue Jan 31 21:27:16 2023 -0500

dev-lang/ghc: bump maximum LLVM to 14

Validated on arm64.

Closes: https://bugs.gentoo.org/876187
Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/29366
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit d29ade58de041cef5973008451e0cef5ce922504
Author: David Seifert <soap@gentoo.org>
Date: Sat Jan 14 13:51:19 2023 +0100

*/*: remove py3.8 from PYTHON_COMPAT

Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit d1c62e34c3f0feb2c9a24bb2d01c366050ca1c2f
Author: Sam James <sam@gentoo.org>
Date: Sat Oct 8 16:39:22 2022 +0100

dev-lang/ghc: move large patch out of FILESDIR

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 24d5ab74c8b80049f3937a6bd9d110e7eddd313c
Author: matoro <matoro@users.noreply.github.com>
Date: Mon Sep 12 10:35:38 2022 -0400

dev-lang/ghc: keyword 9.0.2 for ~riscv

Closes: https://bugs.gentoo.org/866143
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 9f5e76abcdda97521a0df3bca28429ab06fef065
Author: Sam James <sam@gentoo.org>
Date: Tue Oct 4 16:16:38 2022 +0100

dev-lang/ghc: drop eutils

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 2a82a5e30ff238607610dbb5809523182d0cb9cc
Author: Sam James <sam@gentoo.org>
Date: Wed Aug 31 22:48:09 2022 +0100

dev-lang/ghc: cleanup obsolete LLVM slots; conditionalise llvm_pkg_setup call

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit c82ac5e2b10ad5485f8737c47fe23d1cc9e36fe3
Author: matoro <matoro@users.noreply.github.com>
Date: Wed Aug 24 13:11:45 2022 -0400

dev-lang/ghc: keyword 9.0.2 for ~arm64

Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit f56544ab5d97e5146ed4dd182291b42e9dd0d7ae
Author: matoro <matoro@users.noreply.github.com>
Date: Thu Aug 18 20:00:22 2022 -0400

dev-lang/ghc: add big-endian ppc64 binary

This requires a patch to work correctly on BE systems. Apply the patch
unconditionally since it is already includes the appropriate checks in
the code. Delete a few lines of commented-out obsolete patches.

Closes: https://bugs.gentoo.org/865311
Thanks-to: Marcus Comstedt <marcus@mc.pp.se>
Closes: https://github.com/gentoo/gentoo/pull/26921
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 07af849e76990ff837802f6a99a3adacb96e5d67
Author: matoro <matoro@users.noreply.github.com>
Date: Mon Aug 15 22:19:34 2022 -0400

dev-lang/ghc: remove prebuilt libHScontainers from sources

At release, a prebuilt x86 binary for the libHScontainers library was
accidentally included in the source tarball. This was noticed by the
Fedora packagers here:
https://www.mail-archive.com/search?l=ghc-devs@haskell.org&q=subject:%22Re%5C%3A+%5C%5BHaskell%5C%5D+%5C%5BANNOUNCE%5C%5D+GHC+9.0.2+released%22&o=newest&f=1
but no action was taken by upstream, so they are patching it out in
their build recipe:
https://src.fedoraproject.org/rpms/ghc9.0/blob/rawhide/f/ghc9.0.spec#_327
We should do the same. From looking at upstream source releases, more
recent versions like the 9.2 branch do not have the same mistake, so
this is specific to 9.0.

Also fixes an incorrect hash that was somehow committed for the ppc64le
binary.

Closes: https://bugs.gentoo.org/863686
Closes: https://github.com/gentoo/gentoo/pull/26876
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit f794bc1f4209fa25c7896d7e747b6559610a489f
Author: Sam James <sam@gentoo.org>
Date: Fri Jul 29 03:28:03 2022 +0100

dev-lang/ghc: add github upstream metadata

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 565b208f1c32105400edc6e66095cfb9962c1902
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Tue Feb 14 14:52:42 2023 +0100

dev-lang/ghc-9.2.6: fixed segfaulting at start with -j>2

commit 36989750a45b71ea9583cbfa6c8c0822a1373332
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Sun Feb 12 03:10:08 2023 +0100

dev-lang/ghc: add 9.2.6

builds and runs, but produces funky warnings during the build
and segfaults when used by portage to compile Setup.lhs:

(gdb) bt

commit 4dce4bc94390c170449f1812243385efb140a862
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 11 17:59:46 2023 -0700

dev-lang/ghc: Drop 9.2.6

Removing this ebuild as it is currently unusable

This reverts commit a2b8511876f7e20fe27efb0c7108b8701427d165.

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit a2b8511876f7e20fe27efb0c7108b8701427d165
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Feb 11 15:08:48 2023 -0700

dev-lang/ghc: add 9.2.6 (unkeyworded)

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 48199ef763d46f50cf83eca3dd7c995242bc0f04
Author: Sergey Alirzaev <l29ah@riseup.net>
Date: Wed Feb 1 18:00:57 2023 +0100

dev-lang/ghc: workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/22690

commit f9b7a86c8600535e122eebff713fa52479d6ef75
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Jan 20 18:15:41 2023 -0700

dev-lang/ghc: Revision bumps

The 8.10 line of ghc needs USE=exec-static-trampoline turned off on
libffi. The fix exists in 9.0.2 and later versions of ghc.

See: <https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155>
Bug: https://bugs.gentoo.org/801109
Reported-by: Sam James <sam@gentoo.org>
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit d1cba40538c8576eed1d45fd4d5d62d332d46200
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Dec 31 21:35:18 2022 -0700

dev-lang/ghc: add 9.2.5

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1377
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 04c298bdb1d758a6dda98ba9d467f9dc18304097
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Dec 31 19:17:31 2022 -0700

dev-lang/ghc: drop 9.0.1-r1

Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 68e3c45ecce117783d360ac207bc5b77c7136e3d
Author: hololeap <hololeap@users.noreply.github.com>
Date: Fri Dec 9 02:22:04 2022 -0700

dev-lang/ghc: Differentiate glibc vs musl binaries

GHC binaries built for glibc do not seem to play nice on musl systems.
This separates the two so musl binaries can later be built/uploaded.

Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1368
Signed-off-by: hololeap <hololeap@users.noreply.github.com>

commit 0c62ca41651727de5b4691fd5aab44378d0d0d67
Author: Jack Todaro <solpeth@posteo.org>
Date: Wed Nov 23 18:26:06 2022 +1100

dev-lang/ghc: drop 8.10.6

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 09a6bf289d6a37cf58b63860bf3fa5e84d4f2033
Author: Jack Todaro <solpeth@posteo.org>
Date: Wed Nov 23 18:25:55 2022 +1100

dev-lang/ghc: patch for clang-16

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 481dcde8750a925e241a0860b79aef445347743f
Author: Jack Todaro <solpeth@posteo.org>
Date: Wed Nov 23 18:18:38 2022 +1100

dev-lang/ghc: drop 9.0.2-r1

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 3de2b16e508b4f1832c83dfd46fb7d547635e96b
Author: Jack Todaro <solpeth@posteo.org>
Date: Wed Nov 23 18:09:29 2022 +1100

dev-lang/ghc: backport upstream m4 patch

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 7f8437550b5a47488b871a06fddb94880e752064
Author: hololeap <hololeap@users.noreply.github.com>
Date: Sat Oct 8 16:40:23 2022 -0600

Remove last-rited packages (2022-10-08)

Most unused patches for ghc have been deleted. They can be recovered from the
git history if they are needed.

Reverted commits:
8856ab93615b1ddb7026d8716d192c74eaccab79
33782a644bae720f70c4820932a0d89e2547669d
4c6a0b5edccc212f674e60da6351b4e862c87807
1bf1f09e4484a3a1729d45d80eed8353dc762327
eaf2bab9c912cde5510ffe06e2a67ffb909524b8
edd53ac2bc4b87be0d21dff794e85a3ced62a4f7
85328b5e840368d75433be745513a18dfa52ae91
cab0c77589144a33f3e4d69d9f37ebfb2a5e2ee9
4f2e4739d07640f297fa9cf9f70348d04996c6c4
028be0c914ff66f19bcacaf21bbe32499f74c390
b09c3198826aacbba50e41277547eae5bb685f13
d138f8af949393cd91a677efd71ebd62e25219aa
b7c5a8ea84b2c6999d85bbbfe2a4c84978dd9d3d
8e37f9b8ddb4b46f654d4fa8a6f3012567241a83
262fe9aa3aa8c4a463459634ffee0eabc497f892
20f84049f9605c29fbe41f1f7b330cbb426f2700
478f1d242ae54aad16fa0f3f9ff7d53ee740cd65
f3bec73099d74a124af966b04ac213de9d899ef5
6320e499ea365bf4fd31ca31ea8c49ab2e187c0f
57a7e453aba2a37bc4a3c9d83d2efc1230d24de9
1b5fa9a5bd29aa252d513d105dc0ff01a4d6370b
123d2005ff7fe97199d71d4ec73aba5c27ad28e8
41e160e21756b78bdd186254d0f38bb91ca3f6be
3df3b54b34dc2c287ed902910d54952f636f82c1
2c4a6da367fef45f3cbbb857bc332415baf03f66

Partially reverted commits:
e1997d38ce1d87ffa35d3ef8423ed3a95fa62328
b2335d6e1eff5627ae96b52ce99a6319dc6ce27d

commit 8f391dc0f2d851b9a228d0bb87ad20334ac85a12
Author: Jack Todaro <solpeth@posteo.org>
Date: Sun Oct 2 10:02:14 2022 +1100

dev-lang/ghc: point to updated binary

New x86_64 binary includes the modOrigin patch from upstream,
allowing users using USE=binary to have a functioning ghc.

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit c9e71a0ef178f654aa94d6d198b07c6b53e2b03c
Author: Jack Todaro <solpeth@posteo.org>
Date: Sun Sep 25 08:38:02 2022 +1000

dev-lang/ghc: refresh Manifest

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 91444016fb77cc46f4ad4f6e66cd16d30f092fdd
Author: Jack Todaro <solpeth@posteo.org>
Date: Mon Aug 15 09:09:00 2022 +1000

dev-lang/ghc: replace binary for 9.2.4

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit bb1660d67f02f9b408553f73df04b304bd5de4a8
Author: Jack Todaro <solpeth@posteo.org>
Date: Sat Aug 6 19:44:41 2022 +1000

dev-lang/ghc: add amd64 binary for 9.2.4 (built by me)

Signed-off-by: Jack Todaro <solpeth@posteo.org>

commit 3b36995fa79328e777c1a02dbd6c3b0efad8eebe
Author: Jack Todaro <solpeth@posteo.org>
Date: Tue Aug 2 08:31:47 2022 +1000

dev-