summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2004-01-25 22:08:27 +0000
committercy <cy@FreeBSD.org>2004-01-25 22:08:27 +0000
commitb3648e9e8bff8bb8c52c9d9c8c397eb531b6e22a (patch)
tree48165d8dbb4f562b68f2ce3f2fc91154fe9792e0
parent4e93ca2298d6e9a3c1457c87aec1c9d3126cd948 (diff)
downloadFreeBSD-ports-b3648e9e8bff8bb8c52c9d9c8c397eb531b6e22a.zip
FreeBSD-ports-b3648e9e8bff8bb8c52c9d9c8c397eb531b6e22a.tar.gz
Change to src/include/netdb.h 1.31 caused a compile error. This
commit fixes that error. Reported by: bento
-rw-r--r--net/ntp-stable/Makefile1
-rw-r--r--net/ntp-stable/files/patch-ntpdc::ntpdc.c14
-rw-r--r--net/ntp-stable/files/patch-ntpq::ntpq.c14
-rw-r--r--net/ntp/Makefile1
-rw-r--r--net/ntp/files/patch-ntpdc::ntpdc.c14
-rw-r--r--net/ntp/files/patch-ntpq::ntpq.c14
-rw-r--r--security/krb5-16/Makefile2
-rw-r--r--security/krb5-16/files/patch-lib::krb5::os::hst_realm.c14
-rw-r--r--security/krb5-16/files/patch-lib::krb5::os::locate_kdc.c13
-rw-r--r--security/krb5-17/Makefile2
-rw-r--r--security/krb5-17/files/patch-lib::krb5::os::hst_realm.c14
-rw-r--r--security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c13
-rw-r--r--security/krb5-appl/Makefile2
-rw-r--r--security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c14
-rw-r--r--security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c13
-rw-r--r--security/krb5/Makefile2
-rw-r--r--security/krb5/files/patch-lib::krb5::os::hst_realm.c14
-rw-r--r--security/krb5/files/patch-lib::krb5::os::locate_kdc.c13
18 files changed, 170 insertions, 4 deletions
diff --git a/net/ntp-stable/Makefile b/net/ntp-stable/Makefile
index 907514e..37b19fe 100644
--- a/net/ntp-stable/Makefile
+++ b/net/ntp-stable/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
diff --git a/net/ntp-stable/files/patch-ntpdc::ntpdc.c b/net/ntp-stable/files/patch-ntpdc::ntpdc.c
new file mode 100644
index 0000000..bb13b57
--- /dev/null
+++ b/net/ntp-stable/files/patch-ntpdc::ntpdc.c
@@ -0,0 +1,14 @@
+--- ntpdc/ntpdc.c.orig Sat Oct 11 00:52:22 2003
++++ ntpdc/ntpdc.c Sun Jan 25 13:29:58 2004
+@@ -449,7 +449,11 @@
+ hints.ai_flags = AI_NUMERICHOST;
+
+ a_info = getaddrinfo(hname, service, &hints, &ai);
++#ifdef EAI_NODATA
+ if (a_info == EAI_NONAME || a_info == EAI_NODATA) {
++#else
++ if (a_info == EAI_NONAME) {
++#endif
+ hints.ai_flags = AI_CANONNAME;
+ #ifdef AI_ADDRCONFIG
+ hints.ai_flags |= AI_ADDRCONFIG;
diff --git a/net/ntp-stable/files/patch-ntpq::ntpq.c b/net/ntp-stable/files/patch-ntpq::ntpq.c
new file mode 100644
index 0000000..0a221dd
--- /dev/null
+++ b/net/ntp-stable/files/patch-ntpq::ntpq.c
@@ -0,0 +1,14 @@
+--- ntpq/ntpq.c.orig Thu Oct 9 02:27:05 2003
++++ ntpq/ntpq.c Sun Jan 25 13:49:33 2004
+@@ -630,7 +630,11 @@
+ hints.ai_flags = AI_NUMERICHOST;
+
+ a_info = getaddrinfo(hname, service, &hints, &ai);
++#ifdef EAI_NODATA
+ if (a_info == EAI_NONAME || a_info == EAI_NODATA) {
++#else
++ if (a_info == EAI_NONAME) {
++#endif
+ hints.ai_flags = AI_CANONNAME;
+ #ifdef AI_ADDRCONFIG
+ hints.ai_flags |= AI_ADDRCONFIG;
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index 907514e..37b19fe 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
diff --git a/net/ntp/files/patch-ntpdc::ntpdc.c b/net/ntp/files/patch-ntpdc::ntpdc.c
new file mode 100644
index 0000000..bb13b57
--- /dev/null
+++ b/net/ntp/files/patch-ntpdc::ntpdc.c
@@ -0,0 +1,14 @@
+--- ntpdc/ntpdc.c.orig Sat Oct 11 00:52:22 2003
++++ ntpdc/ntpdc.c Sun Jan 25 13:29:58 2004
+@@ -449,7 +449,11 @@
+ hints.ai_flags = AI_NUMERICHOST;
+
+ a_info = getaddrinfo(hname, service, &hints, &ai);
++#ifdef EAI_NODATA
+ if (a_info == EAI_NONAME || a_info == EAI_NODATA) {
++#else
++ if (a_info == EAI_NONAME) {
++#endif
+ hints.ai_flags = AI_CANONNAME;
+ #ifdef AI_ADDRCONFIG
+ hints.ai_flags |= AI_ADDRCONFIG;
diff --git a/net/ntp/files/patch-ntpq::ntpq.c b/net/ntp/files/patch-ntpq::ntpq.c
new file mode 100644
index 0000000..0a221dd
--- /dev/null
+++ b/net/ntp/files/patch-ntpq::ntpq.c
@@ -0,0 +1,14 @@
+--- ntpq/ntpq.c.orig Thu Oct 9 02:27:05 2003
++++ ntpq/ntpq.c Sun Jan 25 13:49:33 2004
+@@ -630,7 +630,11 @@
+ hints.ai_flags = AI_NUMERICHOST;
+
+ a_info = getaddrinfo(hname, service, &hints, &ai);
++#ifdef EAI_NODATA
+ if (a_info == EAI_NONAME || a_info == EAI_NODATA) {
++#else
++ if (a_info == EAI_NONAME) {
++#endif
+ hints.ai_flags = AI_CANONNAME;
+ #ifdef AI_ADDRCONFIG
+ hints.ai_flags |= AI_ADDRCONFIG;
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile
index 09194e6..6c19574 100644
--- a/security/krb5-16/Makefile
+++ b/security/krb5-16/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
# USE_TARBALL tells the port that the user has fetched the source
# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
diff --git a/security/krb5-16/files/patch-lib::krb5::os::hst_realm.c b/security/krb5-16/files/patch-lib::krb5::os::hst_realm.c
new file mode 100644
index 0000000..d3caed5
--- /dev/null
+++ b/security/krb5-16/files/patch-lib::krb5::os::hst_realm.c
@@ -0,0 +1,14 @@
+--- lib/krb5/os/hst_realm.c.orig Tue Oct 15 15:51:50 2002
++++ lib/krb5/os/hst_realm.c Sat Jan 24 20:11:05 2004
+@@ -438,9 +438,11 @@
+ return EAFNOSUPPORT;
+ case EAI_MEMORY:
+ return ENOMEM;
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
+ return KRB5_EAI_NODATA;
++#endif
+ #endif
+ case EAI_NONAME:
+ return KRB5_EAI_NONAME;
diff --git a/security/krb5-16/files/patch-lib::krb5::os::locate_kdc.c b/security/krb5-16/files/patch-lib::krb5::os::locate_kdc.c
new file mode 100644
index 0000000..5cfbbe3
--- /dev/null
+++ b/security/krb5-16/files/patch-lib::krb5::os::locate_kdc.c
@@ -0,0 +1,13 @@
+--- lib/krb5/os/locate_kdc.c.orig Mon Jun 9 14:27:56 2003
++++ lib/krb5/os/locate_kdc.c Sun Jan 25 13:28:01 2004
+@@ -185,8 +185,10 @@
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
++#endif
+ #endif
+ case EAI_NONAME:
+ /* Name not known or no address data, but no error. Do
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile
index 09194e6..6c19574 100644
--- a/security/krb5-17/Makefile
+++ b/security/krb5-17/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
# USE_TARBALL tells the port that the user has fetched the source
# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
diff --git a/security/krb5-17/files/patch-lib::krb5::os::hst_realm.c b/security/krb5-17/files/patch-lib::krb5::os::hst_realm.c
new file mode 100644
index 0000000..d3caed5
--- /dev/null
+++ b/security/krb5-17/files/patch-lib::krb5::os::hst_realm.c
@@ -0,0 +1,14 @@
+--- lib/krb5/os/hst_realm.c.orig Tue Oct 15 15:51:50 2002
++++ lib/krb5/os/hst_realm.c Sat Jan 24 20:11:05 2004
+@@ -438,9 +438,11 @@
+ return EAFNOSUPPORT;
+ case EAI_MEMORY:
+ return ENOMEM;
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
+ return KRB5_EAI_NODATA;
++#endif
+ #endif
+ case EAI_NONAME:
+ return KRB5_EAI_NONAME;
diff --git a/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c b/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c
new file mode 100644
index 0000000..5cfbbe3
--- /dev/null
+++ b/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c
@@ -0,0 +1,13 @@
+--- lib/krb5/os/locate_kdc.c.orig Mon Jun 9 14:27:56 2003
++++ lib/krb5/os/locate_kdc.c Sun Jan 25 13:28:01 2004
+@@ -185,8 +185,10 @@
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
++#endif
+ #endif
+ case EAI_NONAME:
+ /* Name not known or no address data, but no error. Do
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile
index 09194e6..6c19574 100644
--- a/security/krb5-appl/Makefile
+++ b/security/krb5-appl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
# USE_TARBALL tells the port that the user has fetched the source
# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
diff --git a/security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c b/security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c
new file mode 100644
index 0000000..d3caed5
--- /dev/null
+++ b/security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c
@@ -0,0 +1,14 @@
+--- lib/krb5/os/hst_realm.c.orig Tue Oct 15 15:51:50 2002
++++ lib/krb5/os/hst_realm.c Sat Jan 24 20:11:05 2004
+@@ -438,9 +438,11 @@
+ return EAFNOSUPPORT;
+ case EAI_MEMORY:
+ return ENOMEM;
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
+ return KRB5_EAI_NODATA;
++#endif
+ #endif
+ case EAI_NONAME:
+ return KRB5_EAI_NONAME;
diff --git a/security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c b/security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c
new file mode 100644
index 0000000..5cfbbe3
--- /dev/null
+++ b/security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c
@@ -0,0 +1,13 @@
+--- lib/krb5/os/locate_kdc.c.orig Mon Jun 9 14:27:56 2003
++++ lib/krb5/os/locate_kdc.c Sun Jan 25 13:28:01 2004
+@@ -185,8 +185,10 @@
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
++#endif
+ #endif
+ case EAI_NONAME:
+ /* Name not known or no address data, but no error. Do
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 09194e6..6c19574 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
# USE_TARBALL tells the port that the user has fetched the source
# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
diff --git a/security/krb5/files/patch-lib::krb5::os::hst_realm.c b/security/krb5/files/patch-lib::krb5::os::hst_realm.c
new file mode 100644
index 0000000..d3caed5
--- /dev/null
+++ b/security/krb5/files/patch-lib::krb5::os::hst_realm.c
@@ -0,0 +1,14 @@
+--- lib/krb5/os/hst_realm.c.orig Tue Oct 15 15:51:50 2002
++++ lib/krb5/os/hst_realm.c Sat Jan 24 20:11:05 2004
+@@ -438,9 +438,11 @@
+ return EAFNOSUPPORT;
+ case EAI_MEMORY:
+ return ENOMEM;
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
+ return KRB5_EAI_NODATA;
++#endif
+ #endif
+ case EAI_NONAME:
+ return KRB5_EAI_NONAME;
diff --git a/security/krb5/files/patch-lib::krb5::os::locate_kdc.c b/security/krb5/files/patch-lib::krb5::os::locate_kdc.c
new file mode 100644
index 0000000..5cfbbe3
--- /dev/null
+++ b/security/krb5/files/patch-lib::krb5::os::locate_kdc.c
@@ -0,0 +1,13 @@
+--- lib/krb5/os/locate_kdc.c.orig Mon Jun 9 14:27:56 2003
++++ lib/krb5/os/locate_kdc.c Sun Jan 25 13:28:01 2004
+@@ -185,8 +185,10 @@
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
++#endif
+ #endif
+ case EAI_NONAME:
+ /* Name not known or no address data, but no error. Do
OpenPOWER on IntegriCloud