(20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for release testing.)

Norihiko Murase skeleten at shillest.net
Wed Mar 28 12:46:18 EST 2007


I did send the following message to this ML:
  http://lists.mindrot.org/pipermail/openssh-unix-dev/2007-March/025155.html
   From: Norihiko Murase <skeleten at shillest.net>
   Subject: (20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for release testing.)
   Message-ID: <20070303032925.69f425%skeleten at shillest.net>
   Date: Sat, 03 Mar 2007 03:29:25 +0900

These warning messages were displayed also when I built the
snapshot 20070327.

For the time being now, I applied the following patch:
----------(cut here)----------
--- defines.h.orig	Thu Sep 21 22:13:30 2006
+++ defines.h	Tue Mar 27 23:47:05 2007
@@ -48,5 +48,7 @@
 # define IPTOS_RELIABILITY       0x04
 # define IPTOS_LOWCOST           0x02
+#if 0	/* for FreeBSD 4.11-RELEASE */
 # define IPTOS_MINCOST           IPTOS_LOWCOST
+#endif	/* for FreeBSD 4.11-RELEASE */
 #endif /* IPTOS_LOWDELAY */
 
@@ -69,7 +71,9 @@
 #endif
 
+#if 0	/* for FreeBSD 4.11-RELEASE */
 #ifndef MAXSYMLINKS
 # define MAXSYMLINKS 5
 #endif
+#endif	/* for FreeBSD 4.11-RELEASE */
 
 #ifndef STDIN_FILENO
@@ -336,7 +340,9 @@
 #endif
 
+#if 0	/* for FreeBSD 4.11-RELEASE */
 #ifndef _PATH_STDPATH
 # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
 #endif
+#endif	/* for FreeBSD 4.11-RELEASE */
 
 #ifndef SUPERUSER_PATH
@@ -356,11 +362,15 @@
 #endif
 
+#if 0	/* for FreeBSD 4.11-RELEASE */
 #if !defined(_PATH_MAILDIR) && defined(MAILDIR)
 # define _PATH_MAILDIR MAILDIR
 #endif /* !defined(_PATH_MAILDIR) && defined(MAILDIR) */
+#endif	/* for FreeBSD 4.11-RELEASE */
 
+#if 0	/* for FreeBSD 4.11-RELEASE */
 #ifndef _PATH_NOLOGIN
 # define _PATH_NOLOGIN "/etc/nologin"
 #endif
+#endif	/* for FreeBSD 4.11-RELEASE */
 
 /* Define this to be the path of the xauth program. */
@@ -488,7 +498,9 @@
 #endif /* CMSG_FIRSTHDR */
 
+#if 0	/* for FreeBSD 4.11-RELEASE */
 #ifndef offsetof
 # define offsetof(type, member) ((size_t) &((type *)0)->member)
 #endif
+#endif	/* for FreeBSD 4.11-RELEASE */
 
 /* Set up BSD-style BYTE_ORDER definition if it isn't there already */
----------(cut here)----------

I wonder what the best solution is...


Thanks in advance,
---
Norihiko Murase <skeleten at shillest.net>


More information about the openssh-unix-dev mailing list