diff options
author | nork <nork@FreeBSD.org> | 2007-02-13 16:54:28 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2007-02-13 16:54:28 +0800 |
commit | cab07fd6497736227473a5573a759b30da821382 (patch) | |
tree | cb8736a4e1f675d97a5f6fadb20e31658c554abc /databases/pgpool | |
parent | aea38be4ef5eb3df740f720f47212964c8c909fe (diff) | |
download | freebsd-ports-gnome-cab07fd6497736227473a5573a759b30da821382.tar.gz freebsd-ports-gnome-cab07fd6497736227473a5573a759b30da821382.tar.zst freebsd-ports-gnome-cab07fd6497736227473a5573a759b30da821382.zip |
Fix build on 4.x.
Obtained from: PostgreSQL Japanese Mailing List
Diffstat (limited to 'databases/pgpool')
-rw-r--r-- | databases/pgpool/files/patch-pool_ip.c | 18 | ||||
-rw-r--r-- | databases/pgpool/files/patch-pool_ip.h | 12 | ||||
-rw-r--r-- | databases/pgpool/files/patch-pool_type.h | 10 |
3 files changed, 40 insertions, 0 deletions
diff --git a/databases/pgpool/files/patch-pool_ip.c b/databases/pgpool/files/patch-pool_ip.c new file mode 100644 index 000000000000..b66fb3653302 --- /dev/null +++ b/databases/pgpool/files/patch-pool_ip.c @@ -0,0 +1,18 @@ +--- pool_ip.c.orig Sat Feb 3 13:22:21 2007 ++++ pool_ip.c Tue Feb 13 17:23:39 2007 +@@ -184,6 +184,7 @@ + } + + ++#if 0 + const char * + gai_strerror(int errcode) + { +@@ -205,6 +206,7 @@ + + return hstrerror(hcode); + } ++#endif + + + /* diff --git a/databases/pgpool/files/patch-pool_ip.h b/databases/pgpool/files/patch-pool_ip.h new file mode 100644 index 000000000000..cad2862ff096 --- /dev/null +++ b/databases/pgpool/files/patch-pool_ip.h @@ -0,0 +1,12 @@ +--- pool_ip.h.orig Fri Feb 2 00:31:59 2007 ++++ pool_ip.h Tue Feb 13 17:22:46 2007 +@@ -50,7 +50,9 @@ + char *numbits, int family); + + /* imported from PostgreSQL getaddrinfo.c */ ++#if 0 + extern const char * gai_strerror(int errcode); ++#endif + + #ifdef HAVE_IPV6 + extern void promote_v4_to_v6_addr(struct sockaddr_storage * addr); diff --git a/databases/pgpool/files/patch-pool_type.h b/databases/pgpool/files/patch-pool_type.h new file mode 100644 index 000000000000..537fd28218bf --- /dev/null +++ b/databases/pgpool/files/patch-pool_type.h @@ -0,0 +1,10 @@ +--- pool_type.h.orig Sat Feb 10 18:48:12 2007 ++++ pool_type.h Tue Feb 13 17:29:00 2007 +@@ -30,6 +30,7 @@ + + + #include "config.h" ++#include <sys/types.h> + #include <sys/socket.h> + + |