forked from Lainports/freebsd-ports
- Remove USE_GMAKE (builds okay here with BSD make)
- Clean up portions of main Makefile (don't need post/pre)
- Add %%PREFIX%% man page patches
- Add patch for ipv6_missing.h; removes EAI_MEMORY
re-definition warnings, and is more FreeBSD-focused
- Support 'oidentd_conf' rc.subr variable for those who want to
be able to specify a configuration file. Also update the
'required_files' code to work with this too...
[2]:
- make it work with FreeBSD-5 in combination with option --reply
PR: ports/71378 [1]
Submitted By: Jeremy Chadwick <freebsd@jdc.parodius.com> [1]
Noted By: Markus Hästbacka <midian@ihme.org> [2]
42 lines
936 B
C
42 lines
936 B
C
--- src/missing/ipv6_missing.h.orig Tue Dec 3 06:05:18 2002
|
|
+++ src/missing/ipv6_missing.h Sat Sep 4 16:05:28 2004
|
|
@@ -1,20 +1,32 @@
|
|
#ifndef __IPV6_MISSING_H
|
|
#define __IPV6_MISSING_H
|
|
|
|
+/* Correspond some of these values with present-day FreeBSD;
|
|
+ * verified on 4.10-STABLE and 5.3-BETA2.
|
|
+ */
|
|
+
|
|
+#ifndef EAI_MEMORY
|
|
+# define EAI_MEMORY 6
|
|
+#endif
|
|
#ifndef EAI_NODATA
|
|
-# define EAI_NODATA 1
|
|
-# define EAI_MEMORY 2
|
|
+# define EAI_NODATA 7
|
|
#endif
|
|
|
|
#ifndef AI_PASSIVE
|
|
-# define AI_PASSIVE 1
|
|
-# define AI_CANONNAME 2
|
|
+# define AI_PASSIVE 0x00000001
|
|
+#endif
|
|
+#ifndef AI_CANONNAME
|
|
+# define AI_CANONNAME 0x00000002
|
|
#endif
|
|
|
|
#ifndef NI_NUMERICHOST
|
|
-# define NI_NUMERICHOST 2
|
|
-# define NI_NAMEREQD 4
|
|
-# define NI_NUMERICSERV 8
|
|
+# define NI_NUMERICHOST 0x00000002
|
|
+#endif
|
|
+#ifndef NI_NAMEREQD
|
|
+# define NI_NAMEREQD 0x00000004
|
|
+#endif
|
|
+#ifndef NI_NUMERICSERV
|
|
+# define NI_NUMERICSERV 0x00000008
|
|
#endif
|
|
|
|
#ifndef HAVE_STRUCT_ADDRINFO
|