[arch-commits] Commit in haskell-bzlib/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 8 19:30:06 UTC 2020


    Date: Wednesday, January 8, 2020 @ 19:30:06
  Author: felixonmars
Revision: 550491

add fix for ghc 8.8

Modified:
  haskell-bzlib/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-08 19:28:19 UTC (rev 550490)
+++ PKGBUILD	2020-01-08 19:30:06 UTC (rev 550491)
@@ -11,9 +11,16 @@
 arch=('x86_64')
 depends=('ghc-libs' 'bzip2')
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('fe4b6e1a4d67573a9ff72808cfd0bf47a127885593e98debcaa505c488c76af364bed31cdb8ee9308295514f154536e958ff5e2a1c3157eeb5b16f8011424819')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
+        ghc-8.8.patch)
+sha512sums=('fe4b6e1a4d67573a9ff72808cfd0bf47a127885593e98debcaa505c488c76af364bed31cdb8ee9308295514f154536e958ff5e2a1c3157eeb5b16f8011424819'
+            'ab5344deb9667b73ed3387d58abab5ee2fd6887fd78327d15b40ac8dc81165b6060517c29e8c7860e6e4e21119622182659d8f0e4491be2fbc1f5cf12aeab885')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    patch -p0 -i ../ghc-8.8.patch
+}
+
 build() {
     cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list