Date: Sunday, July 4, 2021 @ 06:35:47 Author: felixonmars Revision: 971990
upgpkg: haskell-hopenpgp 2.9.5-138: rebuild with ghc 9.0.1 Added: haskell-hopenpgp/trunk/ghc9.patch Modified: haskell-hopenpgp/trunk/PKGBUILD ------------+ PKGBUILD | 12 +++++++++--- ghc9.patch | 13 +++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-07-04 03:50:02 UTC (rev 971989) +++ PKGBUILD 2021-07-04 06:35:47 UTC (rev 971990) @@ -3,7 +3,7 @@ _hkgname=hOpenPGP pkgname=haskell-hopenpgp pkgver=2.9.5 -pkgrel=137 +pkgrel=138 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)" url="http://floss.scru.org/hOpenPGP/" license=('MIT') @@ -18,9 +18,15 @@ 'haskell-time-locale-compat' 'haskell-unliftio-core' 'haskell-unordered-containers' 'haskell-zlib') makedepends=('ghc') -source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('7e0ecc73054c5315093e7f64f92bc7c62a7f9ff1b2c985595db427a063460b3fc692343079676631987c9a651212d1d739289f9b1e2ecb1c086b2c9bd5a4ba0e') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz + ghc9.patch) +sha512sums=('7e0ecc73054c5315093e7f64f92bc7c62a7f9ff1b2c985595db427a063460b3fc692343079676631987c9a651212d1d739289f9b1e2ecb1c086b2c9bd5a4ba0e' + '9a1cf92845c1120b006b39f31496af5badfc42eb460794d3bcf8ba393eb63e7989c1c3934179fd96b9b0a23d87b078412662ebbba0d7278240eba7fe0d48ce8e') +prepare() { + patch -d $_hkgname-$pkgver -p1 < ghc9.patch +} + build() { cd $_hkgname-$pkgver Added: ghc9.patch =================================================================== --- ghc9.patch (rev 0) +++ ghc9.patch 2021-07-04 06:35:47 UTC (rev 971990) @@ -0,0 +1,13 @@ +diff --git a/Codec/Encryption/OpenPGP/Types/Internal/Base.hs b/Codec/Encryption/OpenPGP/Types/Internal/Base.hs +index 861b7a5..f3dcc4a 100644 +--- a/Codec/Encryption/OpenPGP/Types/Internal/Base.hs ++++ b/Codec/Encryption/OpenPGP/Types/Internal/Base.hs +@@ -1003,7 +1003,8 @@ instance Pretty SigSubPacket where + + instance Hashable SigSubPacket + +-$(ATH.deriveJSON ATH.defaultOptions ''SigSubPacket) ++instance A.ToJSON SigSubPacket ++instance A.FromJSON SigSubPacket + + $(makeLenses ''SigSubPacket)