Hi,
Diff to update pgpool to it's latest version (and allow it to build
with postgresql 9.2).
Tested on @amd64 and @i386.
Regards,
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/pgpool/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 18 Jun 2012 11:39:47 -0000 1.2
+++ Makefile 16 Sep 2012 10:34:13 -0000
@@ -2,7 +2,7 @@
COMMENT= connection pool server for PostgreSQL
-DISTNAME= pgpool-II-3.1.3
+DISTNAME= pgpool-II-3.2.0
CATEGORIES= databases
@@ -20,7 +20,7 @@ PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
-WANTLIB= c crypto m pq ssl
+WANTLIB= c crypto m pq ssl pthread
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-openssl
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/pgpool/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 18 Jun 2012 11:39:47 -0000 1.2
+++ distinfo 16 Sep 2012 10:34:13 -0000
@@ -1,5 +1,2 @@
-MD5 (pgpool-II-3.1.3.tar.gz) = MJT0qMwkp/9eQON7HbJD5w==
-RMD160 (pgpool-II-3.1.3.tar.gz) = LjXUX0iIfmJOA+KdISCACHjIZpo=
-SHA1 (pgpool-II-3.1.3.tar.gz) = meRb0hireA6YIRaGD+4RpgW9g08=
-SHA256 (pgpool-II-3.1.3.tar.gz) = 5Oud2AmkuPOWJ2lVjs6lJJCO3+1YFrcSC0SPTq/YIkk=
-SIZE (pgpool-II-3.1.3.tar.gz) = 1402843
+SHA256 (pgpool-II-3.2.0.tar.gz) = LkHOeBVPx+nhPrNPC2DjUtYYPeCMQEC+qfvdkU4+KOA=
+SIZE (pgpool-II-3.2.0.tar.gz) = 1599391
Index: patches/patch-pool_memqcache_c
===================================================================
RCS file: patches/patch-pool_memqcache_c
diff -N patches/patch-pool_memqcache_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-pool_memqcache_c 16 Sep 2012 10:34:13 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- pool_memqcache.c.orig Sun Sep 16 12:23:15 2012
++++ pool_memqcache.c Sun Sep 16 12:23:26 2012
+@@ -36,6 +36,7 @@
+ #include <ctype.h>
+ #include <arpa/inet.h>
+ #include <dirent.h>
++#include <stdint.h>
+
+ #ifdef USE_MEMCACHED
+ #include <libmemcached/memcached.h>
Index: patches/patch-pool_select_walker_c
===================================================================
RCS file: patches/patch-pool_select_walker_c
diff -N patches/patch-pool_select_walker_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-pool_select_walker_c 16 Sep 2012 10:34:13 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- pool_select_walker.c.orig Sun Sep 16 12:30:03 2012
++++ pool_select_walker.c Sun Sep 16 12:30:16 2012
+@@ -22,6 +22,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <stdint.h>
+
+ #include "pool.h"
+ #include "pool_config.h"
Index: patches/patch-watchdog_watchdog_c
===================================================================
RCS file: patches/patch-watchdog_watchdog_c
diff -N patches/patch-watchdog_watchdog_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-watchdog_watchdog_c 16 Sep 2012 10:34:13 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- watchdog/watchdog.c.orig Sun Sep 16 12:26:05 2012
++++ watchdog/watchdog.c Sun Sep 16 12:26:12 2012
+@@ -25,7 +25,6 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <signal.h>
+-#include <wait.h>
+ #include <ctype.h>
+ #include <sys/un.h>
+ #include <sys/types.h>
Index: patches/patch-watchdog_wd_lifecheck_c
===================================================================
RCS file: patches/patch-watchdog_wd_lifecheck_c
diff -N patches/patch-watchdog_wd_lifecheck_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-watchdog_wd_lifecheck_c 16 Sep 2012 10:34:13 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- watchdog/wd_lifecheck.c.orig Sun Sep 16 12:23:44 2012
++++ watchdog/wd_lifecheck.c Sun Sep 16 12:23:52 2012
+@@ -30,6 +30,7 @@
+ #include <signal.h>
+ #include <unistd.h>
+ #include <netdb.h>
++#include <stdint.h>
+ #include "pool.h"
+ #include "pool_config.h"
+ #include "watchdog.h"
Index: patches/patch-watchdog_wd_packet_c
===================================================================
RCS file: patches/patch-watchdog_wd_packet_c
diff -N patches/patch-watchdog_wd_packet_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-watchdog_wd_packet_c 16 Sep 2012 10:34:13 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+--- watchdog/wd_packet.c.orig Sun Sep 16 12:24:07 2012
++++ watchdog/wd_packet.c Sun Sep 16 12:24:23 2012
+@@ -34,10 +34,12 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/tcp.h>
++#include <netinet/in.h>
+ #include <netdb.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <stdint.h>
+
+ #include "pool.h"
+ #include "pool_config.h"
Index: patches/patch-watchdog_wd_ping_c
===================================================================
RCS file: patches/patch-watchdog_wd_ping_c
diff -N patches/patch-watchdog_wd_ping_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-watchdog_wd_ping_c 16 Sep 2012 10:34:13 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- watchdog/wd_ping.c.orig Sun Sep 16 12:24:32 2012
++++ watchdog/wd_ping.c Sun Sep 16 12:24:44 2012
+@@ -31,6 +31,7 @@
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <errno.h>
++#include <stdint.h>
+ #include "pool.h"
+ #include "pool_config.h"
+ #include "watchdog.h"