Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 18:14:01 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353116 - in head/mail/archiveopteryx: . files
Message-ID:  <201405061814.s46IE1ee052710@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue May  6 18:14:01 2014
New Revision: 353116
URL: http://svnweb.freebsd.org/changeset/ports/353116
QAT: https://qat.redports.org/buildarchive/r353116/

Log:
  Fix support for Postgres 9.2

Added:
  head/mail/archiveopteryx/files/patch-db__postgres.cpp   (contents, props changed)
Modified:
  head/mail/archiveopteryx/Makefile

Modified: head/mail/archiveopteryx/Makefile
==============================================================================
--- head/mail/archiveopteryx/Makefile	Tue May  6 17:43:11 2014	(r353115)
+++ head/mail/archiveopteryx/Makefile	Tue May  6 18:14:01 2014	(r353116)
@@ -3,7 +3,7 @@
 
 PORTNAME=	archiveopteryx
 PORTVERSION=	3.2.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail
 MASTER_SITES=	http://archiveopteryx.org/download/
 

Added: head/mail/archiveopteryx/files/patch-db__postgres.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/archiveopteryx/files/patch-db__postgres.cpp	Tue May  6 18:14:01 2014	(r353116)
@@ -0,0 +1,11 @@
+--- ./db/postgres.cpp.orig	2014-05-06 13:03:48.795894217 -0500
++++ ./db/postgres.cpp	2014-05-06 13:04:03.207891218 -0500
+@@ -85,7 +85,7 @@
+                 "from pg_locks h join pg_locks w using (locktype) "
+                 "join pg_stat_activity a on (h.pid="
+             );
+-            if (Postgres::version() < 90300)
++            if (Postgres::version() < 90200)
+                 s.append( "a.procpid" );
+             else
+                 s.append( "a.pid" );



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405061814.s46IE1ee052710>