Date: Saturday, January 8, 2022 @ 14:18:43 Author: felixonmars Revision: 1097006
upgpkg: haskell-base64 0.4.2.3-3: rebuild with hspec 2.8.4, hspec-core 2.8.4, hspec-discover 2.8.4 Modified: haskell-base64/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-08 13:11:13 UTC (rev 1097005) +++ PKGBUILD 2022-01-08 14:18:43 UTC (rev 1097006) @@ -3,7 +3,7 @@ _hkgname=base64 pkgname=haskell-base64 pkgver=0.4.2.3 -pkgrel=2 +pkgrel=3 pkgdesc="A modern RFC 4648-compliant Base64 library" url="https://github.com/emilypi/base64" license=("BSD") @@ -23,13 +23,20 @@ build() { cd $_hkgname-$pkgver + # -fllvm is disabled because it fails to build: + # opt: /tmp/ghc1427_0/ghc_8.ll:476896:42: error: use of undefined value '@memcmp$def' + # %ln7gMK = bitcast i32 (i8*, i8*, i64)* @memcmp$def to i64 (i8*, i8*, i64)* + # ^ + # <no location info>: error: + # `opt' failed in phase `LLVM Optimiser'. (Exit code: 1) + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fasm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie' - runhaskell Setup build + runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
