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.


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        19 Jun 2013 12:30:32 -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    19 Jun 2013 
12:30:32 -0000
@@ -2,14 +2,15 @@ $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
-@@ -27,7 +27,7 @@ Library
+--- postgresql-libpq.cabal.orig        Wed Jan 30 09:12:28 2013
++++ postgresql-libpq.cabal     Wed Jun 19 14:14:23 2013
+@@ -27,7 +27,8 @@ Library
                       , bytestring
  
    GHC-Options:       -Wall
 -  Extra-Libraries:   pq
-+  Extra-Libraries:   pq crypto ssl com_err
++  Extra-Libraries:   pq crypto ssl com_err asn1 hx509 krb5 wind roken pthread
++                     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       19 Jun 2013 12:30:32 -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

Reply via email to