diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-05 04:02:14 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-05-05 04:02:14 +0000 |
commit | d7918d0226da2805ff09c48963d2c79e1327c630 (patch) | |
tree | 7899e81c92db3791af5dd17e05c3be10e8a9c007 /community/haskell-hslogger | |
parent | bc80cf7c2a23a9d9580f3db36652165fd307b598 (diff) |
Mon May 5 03:56:02 UTC 2014
Diffstat (limited to 'community/haskell-hslogger')
-rw-r--r-- | community/haskell-hslogger/0001-relax-network-upper-bound-to-2.6.patch | 25 | ||||
-rw-r--r-- | community/haskell-hslogger/PKGBUILD | 14 |
2 files changed, 35 insertions, 4 deletions
diff --git a/community/haskell-hslogger/0001-relax-network-upper-bound-to-2.6.patch b/community/haskell-hslogger/0001-relax-network-upper-bound-to-2.6.patch new file mode 100644 index 000000000..f61dc89bd --- /dev/null +++ b/community/haskell-hslogger/0001-relax-network-upper-bound-to-2.6.patch @@ -0,0 +1,25 @@ +From 118f8134e1d2f7578cba5474b00f3b1cbd1219e3 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic <gostrc@gmail.com> +Date: Sun, 27 Apr 2014 19:38:59 -0700 +Subject: [PATCH] relax network upper bound to 2.6 + +--- + hslogger.cabal | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hslogger.cabal b/hslogger.cabal +index 3e0ca27..74c262a 100644 +--- a/hslogger.cabal ++++ b/hslogger.cabal +@@ -42,7 +42,7 @@ Library + System.Log.Handler.Growl, System.Log.Handler.Log4jXML, + System.Log.Logger + Extensions: CPP, ExistentialQuantification +- Build-Depends: network < 2.5, mtl ++ Build-Depends: network < 2.6, mtl + if !os(windows) + Build-Depends: unix + if flag(small_base) +-- +1.9.2 + diff --git a/community/haskell-hslogger/PKGBUILD b/community/haskell-hslogger/PKGBUILD index 6bde5b545..310d1dd54 100644 --- a/community/haskell-hslogger/PKGBUILD +++ b/community/haskell-hslogger/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 102061 2013-12-04 14:20:16Z spupykin $ +# $Id: PKGBUILD 110624 2014-05-04 13:55:03Z td123 $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Arch Haskell Team <arch-haskell@haskell.org> pkgname=haskell-hslogger pkgver=1.2.3 -pkgrel=1 +pkgrel=2 pkgdesc="Versatile logging framework" url="http://hackage.haskell.org/package/hslogger" license=('LGPL') @@ -12,11 +12,17 @@ arch=('i686' 'x86_64') depends=('ghc' 'haskell-mtl' 'haskell-network') options=('staticlibs') install=${pkgname}.install -source=(http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz) -md5sums=('4047e50789860c8ac3e8998f7de68ca5') +source=("http://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz" + '0001-relax-network-upper-bound-to-2.6.patch') +md5sums=('4047e50789860c8ac3e8998f7de68ca5' + '14b3339395dcb5ba666987bc6aac998e') build() { cd ${srcdir}/hslogger-${pkgver} + + # upstream bug: https://github.com/jgoerzen/hslogger/pull/22 + patch -Np1 -i ${srcdir}/0001-relax-network-upper-bound-to-2.6.patch + runhaskell Setup configure -p --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O \ --enable-split-objs --enable-shared --libsubdir=\$compiler/site-local/\$pkgid \ --enable-library-profiling |