Date: Friday, June 3, 2022 @ 11:30:03 Author: felixonmars Revision: 1220194
upgpkg: haskell-cborg 0.2.6.0-38: rebuild with primitive 0.7.4.0 Modified: haskell-cborg/trunk/PKGBUILD ----------+ PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-06-03 10:58:43 UTC (rev 1220193) +++ PKGBUILD 2022-06-03 11:30:03 UTC (rev 1220194) @@ -3,7 +3,7 @@ _hkgname=cborg pkgname=haskell-cborg pkgver=0.2.6.0 -pkgrel=37 +pkgrel=38 pkgdesc="Concise Binary Object Representation (CBOR)" url="https://github.com/well-typed/cborg" license=('BSD') @@ -15,6 +15,12 @@ source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) sha512sums=('a25e7f2857168ffa8a46969cef92e085d7ee1fe03be6e2a9d2baaee671bc753abc693fc535a81600f24e491407dab0d8ec56a05e2509ec0496708bc9309ae007') +prepare() { + cd $_hkgname-$pkgver + # https://github.com/well-typed/cborg/issues/290 + sed -i 's/hiding (copyByteArrayToPtr)/hiding (copyByteArrayToPtr, copyPtrToMutableByteArray)/' src/Codec/CBOR/Magic.hs +} + build() { cd $_hkgname-$pkgver
