diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-13 08:54:28 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-13 08:54:28 +0000 |
commit | 4e1b18a9400824b8acae37bc7f680b3e143a49f1 (patch) | |
tree | f83275181bccd55c8ccbc623dcd3a3d053e33e77 /databases/pgpool | |
parent | - update to 2.8.2 (diff) |
Fix build on 4.x.
Obtained from: PostgreSQL Japanese Mailing List
Notes
Notes:
svn path=/head/; revision=185082
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> + + |