aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2007-02-13 08:54:28 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2007-02-13 08:54:28 +0000
commit4e1b18a9400824b8acae37bc7f680b3e143a49f1 (patch)
treef83275181bccd55c8ccbc623dcd3a3d053e33e77 /databases
parent0b91586987e6ef12a6d3b88a71f8ad214d4d1de3 (diff)
downloadports-4e1b18a9400824b8acae37bc7f680b3e143a49f1.tar.gz
ports-4e1b18a9400824b8acae37bc7f680b3e143a49f1.zip
Fix build on 4.x.
Obtained from: PostgreSQL Japanese Mailing List
Notes
Notes: svn path=/head/; revision=185082
Diffstat (limited to 'databases')
-rw-r--r--databases/pgpool-II-22/files/patch-pool_ip.c18
-rw-r--r--databases/pgpool-II-22/files/patch-pool_ip.h12
-rw-r--r--databases/pgpool-II-22/files/patch-pool_type.h10
-rw-r--r--databases/pgpool-II-23/files/patch-pool_ip.c18
-rw-r--r--databases/pgpool-II-23/files/patch-pool_ip.h12
-rw-r--r--databases/pgpool-II-23/files/patch-pool_type.h10
-rw-r--r--databases/pgpool-II-30/files/patch-pool_ip.c18
-rw-r--r--databases/pgpool-II-30/files/patch-pool_ip.h12
-rw-r--r--databases/pgpool-II-30/files/patch-pool_type.h10
-rw-r--r--databases/pgpool-II/files/patch-pool_ip.c18
-rw-r--r--databases/pgpool-II/files/patch-pool_ip.h12
-rw-r--r--databases/pgpool-II/files/patch-pool_type.h10
-rw-r--r--databases/pgpool/files/patch-pool_ip.c18
-rw-r--r--databases/pgpool/files/patch-pool_ip.h12
-rw-r--r--databases/pgpool/files/patch-pool_type.h10
15 files changed, 200 insertions, 0 deletions
diff --git a/databases/pgpool-II-22/files/patch-pool_ip.c b/databases/pgpool-II-22/files/patch-pool_ip.c
new file mode 100644
index 000000000000..b66fb3653302
--- /dev/null
+++ b/databases/pgpool-II-22/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-II-22/files/patch-pool_ip.h b/databases/pgpool-II-22/files/patch-pool_ip.h
new file mode 100644
index 000000000000..cad2862ff096
--- /dev/null
+++ b/databases/pgpool-II-22/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-II-22/files/patch-pool_type.h b/databases/pgpool-II-22/files/patch-pool_type.h
new file mode 100644
index 000000000000..537fd28218bf
--- /dev/null
+++ b/databases/pgpool-II-22/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>
+
+
diff --git a/databases/pgpool-II-23/files/patch-pool_ip.c b/databases/pgpool-II-23/files/patch-pool_ip.c
new file mode 100644
index 000000000000..b66fb3653302
--- /dev/null
+++ b/databases/pgpool-II-23/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-II-23/files/patch-pool_ip.h b/databases/pgpool-II-23/files/patch-pool_ip.h
new file mode 100644
index 000000000000..cad2862ff096
--- /dev/null
+++ b/databases/pgpool-II-23/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-II-23/files/patch-pool_type.h b/databases/pgpool-II-23/files/patch-pool_type.h
new file mode 100644
index 000000000000..537fd28218bf
--- /dev/null
+++ b/databases/pgpool-II-23/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>
+
+
diff --git a/databases/pgpool-II-30/files/patch-pool_ip.c b/databases/pgpool-II-30/files/patch-pool_ip.c
new file mode 100644
index 000000000000..b66fb3653302
--- /dev/null
+++ b/databases/pgpool-II-30/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-II-30/files/patch-pool_ip.h b/databases/pgpool-II-30/files/patch-pool_ip.h
new file mode 100644
index 000000000000..cad2862ff096
--- /dev/null
+++ b/databases/pgpool-II-30/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-II-30/files/patch-pool_type.h b/databases/pgpool-II-30/files/patch-pool_type.h
new file mode 100644
index 000000000000..537fd28218bf
--- /dev/null
+++ b/databases/pgpool-II-30/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>
+
+
diff --git a/databases/pgpool-II/files/patch-pool_ip.c b/databases/pgpool-II/files/patch-pool_ip.c
new file mode 100644
index 000000000000..b66fb3653302
--- /dev/null
+++ b/databases/pgpool-II/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-II/files/patch-pool_ip.h b/databases/pgpool-II/files/patch-pool_ip.h
new file mode 100644
index 000000000000..cad2862ff096
--- /dev/null
+++ b/databases/pgpool-II/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-II/files/patch-pool_type.h b/databases/pgpool-II/files/patch-pool_type.h
new file mode 100644
index 000000000000..537fd28218bf
--- /dev/null
+++ b/databases/pgpool-II/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>
+
+
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>
+
+