On Jun 22, 2013 21:25, David Coppa wrote:
> On Sat, Jun 22, 2013 at 5:49 PM, Dawe <dawed...@gmx.de> wrote:
> > On Jun 19, 2013 14:57, Dawe wrote:
> >> Hi,
> >>
> >> with the new kerberos and libpq this update to the patch is needed to use
> >> hs-postgresql-libpq in ghci. Bump the dependent hs-postgresql-simple.
> >> Tested on amd64.
> >>
> >>
> >
> > New version after the Kerberos changes in the last few days.
> >
> > Index: hs-postgresql-libpq/Makefile
> > ===================================================================
> > RCS file: /cvs/ports/databases/hs-postgresql-libpq/Makefile,v
> > retrieving revision 1.4
> > diff -u -p -r1.4 Makefile
> > --- hs-postgresql-libpq/Makefile        11 Mar 2013 02:52:05 -0000      1.4
> > +++ hs-postgresql-libpq/Makefile        20 Jun 2013 15:01:48 -0000
> > @@ -3,6 +3,7 @@
> >  COMMENT =              low-level binding to libpq
> >
> >  DISTNAME =             postgresql-libpq-0.8.2.2
> > +REVISION =             0
> >  CATEGORIES =           databases
> >
> >  HOMEPAGE =             https://github.com/lpsmith/postgresql-libpq
> > Index: hs-postgresql-libpq/patches/patch-postgresql-libpq_cabal
> > ===================================================================
> > RCS file: 
> > /cvs/ports/databases/hs-postgresql-libpq/patches/patch-postgresql-libpq_cabal,v
> > retrieving revision 1.1.1.1
> > diff -u -p -r1.1.1.1 patch-postgresql-libpq_cabal
> > --- hs-postgresql-libpq/patches/patch-postgresql-libpq_cabal    11 Jan 2013 
> > 20:19:49 -0000      1.1.1.1
> > +++ hs-postgresql-libpq/patches/patch-postgresql-libpq_cabal    20 Jun 2013 
> > 15:01:48 -0000
> > @@ -2,14 +2,14 @@ $OpenBSD: patch-postgresql-libpq_cabal,v
> >
> >  Unbreak when used within GHCi
> >
> > ---- postgresql-libpq.cabal.orig        Thu Jan  3 20:18:57 2013
> > -+++ postgresql-libpq.cabal     Thu Jan  3 20:21:37 2013
> > +--- postgresql-libpq.cabal.orig        Wed Jan 30 09:12:28 2013
> > ++++ postgresql-libpq.cabal     Thu Jun 20 16:43:26 2013
> >  @@ -27,7 +27,7 @@ Library
> >                        , bytestring
> >
> >     GHC-Options:       -Wall
> >  -  Extra-Libraries:   pq
> > -+  Extra-Libraries:   pq crypto ssl com_err
> > ++  Extra-Libraries:   pq crypto ssl com_err asn1 krb5 wind roken heimbase
> >     -- Other-modules:
> >     Build-tools:       hsc2hs
> >
> > Index: hs-postgresql-simple/Makefile
> > ===================================================================
> > RCS file: /cvs/ports/databases/hs-postgresql-simple/Makefile,v
> > retrieving revision 1.8
> > diff -u -p -r1.8 Makefile
> > --- hs-postgresql-simple/Makefile       11 Jun 2013 17:54:40 -0000      1.8
> > +++ hs-postgresql-simple/Makefile       20 Jun 2013 15:01:48 -0000
> > @@ -3,6 +3,7 @@
> >  COMMENT =              mid-level PostgreSQL client library
> >
> >  DISTNAME =             postgresql-simple-0.3.3.1
> > +REVISION =             0
> >  CATEGORIES =           databases
> >
> >  HOMEPAGE =             https://github.com/lpsmith/postgresql-simple
> >
> 
> Ok with me.
> 
> Matthias?
> 

aja@ asked if it's possible to make use of krb5-config to avoid the hardcoding
of the libs.
I think that might be doable with a patch to Setup.hs. I'll look into that, but
it will take a few days or more.

Reply via email to