OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Jan-2004 23:18:44
Branch: HEAD Handle: 2004012822184400
Modified files:
openpkg-src/ntp ntp.patch
Log:
import FreeBSD patches
Summary:
Revision Changes Path
1.4 +33 -0 openpkg-src/ntp/ntp.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ntp/ntp.patch
============================================================================
$ cvs diff -u -r1.3 -r1.4 ntp.patch
--- openpkg-src/ntp/ntp.patch 19 Oct 2003 09:39:15 -0000 1.3
+++ openpkg-src/ntp/ntp.patch 28 Jan 2004 22:18:44 -0000 1.4
@@ -33,3 +33,36 @@
}
}
break;
+
+taken from http://cvsweb.freebsd.org/ports/net/ntp/ntp.tar.gz?tarball=1
patch-ntpdc::ntpdc.c
+--- 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;
+
+taken from http://cvsweb.freebsd.org/ports/net/ntp/ntp.tar.gz?tarball=1
patch-ntpq::ntpq.c
+--- 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;
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]