[arch-commits] Commit in haskell-language-c/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 14 22:46:13 UTC 2021
Date: Friday, May 14, 2021 @ 22:46:13
Author: felixonmars
Revision: 934430
upgpkg: haskell-language-c 0.8.3-40: add a patch for gcc 11 compatibility
Modified:
haskell-language-c/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-14 22:45:36 UTC (rev 934429)
+++ PKGBUILD 2021-05-14 22:46:13 UTC (rev 934430)
@@ -4,7 +4,7 @@
_hkgname=language-c
pkgname=haskell-language-c
pkgver=0.8.3
-pkgrel=39
+pkgrel=40
pkgdesc="Analysis and generation of C code"
url="https://visq.github.io/language-c/"
license=("BSD")
@@ -11,9 +11,15 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-syb')
makedepends=('happy' 'alex' 'ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
+ $pkgname-gcc-11.patch::https://github.com/visq/language-c/commit/8133e1526750ab74ca4d5180fb140a7e172d473f.patch)
+sha512sums=('a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de'
+ '7fcb78eaf53912fd5b0644ed8b2ecd260493a7fa6506e06768e304ac9c0ff8fdf27c869b4a0b0c06bd4bb544074ac7767a8aedfc1b87a02b70e53a4177d3f1cb')
+prepare() {
+ patch -d $_hkgname-$pkgver -p1 < $pkgname-gcc-11.patch
+}
+
build() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list