diff options
author | Albert Graef | 2022-08-05 07:55:54 +0200 |
---|---|---|
committer | Albert Graef | 2022-08-05 07:55:54 +0200 |
commit | 5d5fbf38ef29f99c8aa3e06fac459526b2929038 (patch) | |
tree | 0846ca1369384006c7454379e05e2ddc6751a03b /PKGBUILD | |
parent | 4e5447e2f0b05834e2a9e228e6e414cfbd81fef8 (diff) | |
download | aur-5d5fbf38ef29f99c8aa3e06fac459526b2929038.tar.gz |
Lexer fix for gcc11.
Backport from: https://github.com/visq/language-c/commit/8133e152
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -7,7 +7,7 @@ _hkgname=language-c pkgname=haskell-language-c5 pkgver=0.5.0 -pkgrel=4 +pkgrel=5 pkgdesc="Analysis and generation of C code" url="http://visq.github.io/language-c/" license=("custom:BSD3") @@ -17,13 +17,16 @@ depends=("ghc" "haskell-syb") provides=('haskell-language-c') conflicts=('haskell-language-c') source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" - "ghc-8+.patch") + "ghc-8+.patch" + "gcc-11.patch") sha256sums=('86d58bc017a7bba157fc4d5d0ab9e3a3d3f3a2f98bfe46b5b0d5d72a0f5d2222' - 'c718fd258a7a227aaad14f6abe8e6742e81c57f83b63b95bde1a3bfba71542b0') + 'c718fd258a7a227aaad14f6abe8e6742e81c57f83b63b95bde1a3bfba71542b0' + 'fcfce6b3f6b701398bbd18ddc1b593b8136d147b2ace8c61284751939dcac858') prepare() { cd "${srcdir}/${_hkgname}-${pkgver}" patch -p2 -i ../ghc-8+.patch + patch -p2 -i ../gcc-11.patch } build() { |