pkgsrc/net/ORBit2/patches/patch-ac
plunky ef975405dc take notice of the 'inet6' package option,
by default, inet6 support is built in, but it can be disabled for systems
that do not have inet6 capability.
2007-08-18 09:59:48 +00:00

15 lines
397 B
Text

$NetBSD: patch-ac,v 1.3 2007/08/18 09:59:49 plunky Exp $
--- linc2/src/linc-compat.h.orig 2007-07-29 18:12:41.000000000 +0100
+++ linc2/src/linc-compat.h
@@ -108,6 +108,10 @@
# define INADDR_NONE (-1)
#endif
+#if defined(AF_INET6) && !defined (INET6)
+# undef AF_INET6
+#endif
+
#if !defined (UNIX_PATH_MAX)
/* UNP: 14.2 - Posix.1g at least 100 bytes */
# define LINK_UNIX_PATH_MAX 100