Enable UnconceivableExtensions^WFlexibleContexts to let it build with ghc-7.10.

Tested (thanks!) and ok, dcoppa@ (maintainer).

This also needs a fix of devel/hs-ConfigFile which David is going to commit.
This commit is contained in:
kili 2015-09-25 20:04:03 +00:00
parent 3b120de6f3
commit 591135e210
2 changed files with 20 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.34 2015/02/18 11:08:35 dcoppa Exp $
# $OpenBSD: Makefile,v 1.35 2015/09/25 20:04:03 kili Exp $
COMMENT = command line podcast aggregator
DISTNAME = hpodder-1.1.6
REVISION = 12
REVISION = 13
CATEGORIES = net
HOMEPAGE = https://github.com/jgoerzen/hpodder/wiki
@ -20,6 +20,7 @@ MODGHC_BUILD = cabal hackage nort
BUILD_DEPENDS = devel/hs-ConfigFile \
devel/hs-mtl \
devel/hs-network-uri \
textproc/hs-HaXml>=1.22 \
databases/hs-HDBC-sqlite3>=1.1.0
RUN_DEPENDS = net/curl>=7.15.5 \

View File

@ -1,15 +1,27 @@
$OpenBSD: patch-hpodder_cabal,v 1.6 2013/06/25 07:28:54 dcoppa Exp $
$OpenBSD: patch-hpodder_cabal,v 1.7 2015/09/25 20:04:03 kili Exp $
Unbreak build with HaXml>=1.22
--- hpodder.cabal.orig Tue Sep 18 17:18:22 2012
+++ hpodder.cabal Tue Sep 18 17:18:49 2012
@@ -69,7 +69,7 @@ Description: Podcasting is a method of publishing rad
Pull in network-uri (which had bben split off the network package)
Turn on FlexibleContexts to let it build with ghc-7.10
--- hpodder.cabal.orig Tue Nov 8 16:49:38 2011
+++ hpodder.cabal Thu Sep 24 22:35:48 2015
@@ -68,8 +68,8 @@ Description: Podcasting is a method of publishing rad
hpodder is SAFE and is designed with data integrity in mind from the
beginning. It should be exceedingly difficult to lose a podcast
episode, even in the event of a power failure.
Build-Depends: network, unix, parsec, MissingH>=1.0.0,
-Build-Depends: network, unix, parsec, MissingH>=1.0.0,
- HDBC>=1.1.0, HDBC-sqlite3>=1.1.0, mtl, base>=3 && < 5, HaXml >= 1.20 && < 1.21, hslogger,
+Build-Depends: network, network-uri, unix, parsec, MissingH>=1.0.0,
+ HDBC>=1.1.0, HDBC-sqlite3>=1.1.0, mtl, base>=3 && < 5, HaXml >= 1.22, hslogger,
ConfigFile, filepath, old-time, directory, process
Executable: hpodder
@@ -81,4 +81,4 @@ Other-Modules: Commands, Config, DB, Download, Downloa
Commands.Setup, Commands.Update
GHC-Options: -O2
Extensions: ExistentialQuantification, OverlappingInstances,
- UndecidableInstances
+ UndecidableInstances, FlexibleContexts