Date: Wednesday, June 16, 2021 @ 23:26:52 Author: felixonmars Revision: 964381
upgpkg: ghc 9.0.1-1 Modified: ghc/trunk/PKGBUILD ----------+ PKGBUILD | 49 ++++++++++++++++++++----------------------------- 1 file changed, 20 insertions(+), 29 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-06-16 22:55:24 UTC (rev 964380) +++ PKGBUILD 2021-06-16 23:26:52 UTC (rev 964381) @@ -11,7 +11,7 @@ pkgbase=ghc pkgname=(ghc-libs ghc ghc-static) -pkgver=8.10.5 +pkgver=9.0.1 pkgrel=1 pkgdesc='The Glasgow Haskell Compiler' arch=('x86_64') @@ -20,13 +20,9 @@ makedepends=('ghc-static' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 'haskell-hscolour' 'texlive-bin' 'texlive-latexextra' 'ttf-dejavu' 'alex' 'happy' 'time') source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz" - ghc-evacuate_large-inline.patch::https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2943.patch - ghc-unicode-escape-fix.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-lang/ghc/files/ghc-8.10.4-sphinx-quote.patch?id=014738239a0908d3bdb47240c54bf04411cdaf31 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook) noextract=("$pkgbase-${pkgver}-src.tar.xz") -sha512sums=('b5f39be0accd5c1cecf1cc326ba3142f561d2ac93e9abf366fe46307d7c0712aac244836e659e1a4d9d0fb98299ea96edc8e8a06f3a81b528b14914b94057ffe' - 'f2e176851dd84dcb415c765d15f7c5b14022d1a459ea7cdc910ae5db667fd0602f1662ae7c9f4cdb929997d28b497ff75550293aee07e91a18626164b066d2e0' - '05637a55c6e27fe4a128c1978b86c72b6d848cee609c8fb035f32b2d48a8d6536add73717d1dbb232a2a84d7834c80455e6e67000f58813447f7e555b6868d39' +sha512sums=('bee7950a5118be8d8cefe0db5070139a5a93ca21c5bc6f8bf453429831f0c44f5e0fb5ee569865d6b8b92749044ee4123be06920928ac7a1ec9cffa9404a3e53' 'd69e5222d1169c4224a2b69a13e57fdd574cb1b5932b15f4bc6c7d269a9658dd87acb1be81f52fbcf3cb64f96978b9943d10cee2c21bff0565aaa93a5d35fcae' '5f659651d8e562a4dcaae0f821d272d6e9c648b645b1d6ab1af61e4dd690dc5a4b9c6846753b7f935963f001bb1ae1f40cd77731b71ef5a8dbc079a360aa3f8f' '3bdbd05c4a2c4fce4adf6802ff99b1088bdfad63da9ebfc470af9e271c3dd796f86fba1cf319d8f4078054d85c6d9e6a01f79994559f24cc77ee1a25724af2e6') @@ -38,14 +34,7 @@ LANG=en_US.UTF-8 bsdtar xf $pkgbase-${pkgver}-src.tar.xz cd ghc-$pkgver - # https://gitlab.haskell.org/ghc/ghc/-/issues/17944 - patch -p1 -i ../ghc-evacuate_large-inline.patch - # https://gitlab.haskell.org/ghc/ghc/-/issues/12416 - sed -i 's/STATIC_INLINE void evacuate_large/static void evacuate_large/' rts/sm/Evac.c - # https://bugs.gentoo.org/792558 - patch -p1 -i ../ghc-unicode-escape-fix.patch - cp mk/build.mk{.sample,} sed -i '1iBuildFlavour = perf' mk/build.mk } @@ -81,7 +70,7 @@ package_ghc() { pkgdesc='The Glasgow Haskell Compiler' depends=('gcc' 'ghc-libs') - provides=('haskell-haddock=2.24.2' + provides=('haskell-haddock=2.24.0' 'haskell-hp2ps=0.1' 'haskell-hpc-bin=0.68' 'haskell-hsc2hs=0.68.7') @@ -116,30 +105,31 @@ install='ghc.install' depends=('gmp' 'libffi' 'perl') provides=('haskell-array=0.5.4.0' - 'haskell-base=4.14.2.0' + 'haskell-base=4.15.0.0' 'haskell-binary=0.8.8.0' - 'haskell-bytestring=0.10.12.0' - 'haskell-cabal=3.2.1.0' + 'haskell-bytestring=0.10.12.1' + 'haskell-cabal=3.4.0.0' 'haskell-containers=0.6.4.1' - 'haskell-deepseq=1.4.4.0' - 'haskell-directory=1.3.6.0' + 'haskell-deepseq=1.4.5.0' + 'haskell-directory=1.3.6.1' 'haskell-exceptions=0.10.4' 'haskell-filepath=1.4.2.1' - 'haskell-ghc-boot=8.10.5' - 'haskell-ghc-boot-th=8.10.5' + 'haskell-ghc-bignum=1.0' + 'haskell-ghc-boot=9.0.1' + 'haskell-ghc-boot-th=9.0.1' 'haskell-ghc-compact=0.1.0.0' - 'haskell-ghc-heap=8.10.5' - 'haskell-ghc-prim=0.6.1' - 'haskell-haskeline=0.8.0.1' + 'haskell-ghc-heap=9.0.1' + 'haskell-ghc-prim=0.7.0' + 'haskell-haskeline=0.8.1.0' 'haskell-hpc=0.6.1.0' - 'haskell-integer-gmp=1.0.3.0' - 'haskell-libiserv=8.10.5' + 'haskell-integer-gmp=1.1' + 'haskell-libiserv=9.0.1' 'haskell-mtl=2.2.2' 'haskell-parsec=3.1.14.0' 'haskell-pretty=1.1.3.6' - 'haskell-process=1.6.9.0' - 'haskell-stm=2.5.0.1' - 'haskell-template-haskell=2.16.0.0' + 'haskell-process=1.6.11.0' + 'haskell-stm=2.5.0.0' + 'haskell-template-haskell=2.17.0.0' 'haskell-terminfo=0.4.1.4' 'haskell-text=1.2.4.1' 'haskell-time=1.9.3' @@ -157,6 +147,7 @@ 'haskell-directory' 'haskell-exceptions' 'haskell-filepath' + 'haskell-ghc-bignum' 'haskell-ghc-boot' 'haskell-ghc-boot-th' 'haskell-ghc-compact'