summaryrefslogtreecommitdiff
path: root/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2008-01-02 13:55:34 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2008-01-02 13:55:34 +0000
commit754984377c7ccfc2a4a7ea6b3d4fdc280e02f7c2 (patch)
treef2be37549bb70c9468b5140dcb50c3431861d3f4 /sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
parent- add get_media_changed method drives accessed via CAM(SCSI/ATAPICAM) (diff)
Fix configure check for IPv6 detection, and add an IPV6 OPTION
PR: 117144 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Notes
Notes: svn path=/head/; revision=204849
Diffstat (limited to 'sysutils/nut22/files/patch-m4-nut_check_ipv6.m4')
-rw-r--r--sysutils/nut22/files/patch-m4-nut_check_ipv6.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4 b/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
new file mode 100644
index 000000000000..fa12e98b55d3
--- /dev/null
+++ b/sysutils/nut22/files/patch-m4-nut_check_ipv6.m4
@@ -0,0 +1,13 @@
+--- m4/nut_check_ipv6.m4.orig 2007-03-15 21:19:05.000000000 +0100
++++ m4/nut_check_ipv6.m4 2007-10-15 11:42:02.000000000 +0200
+@@ -22,7 +22,9 @@
+ struct in6_addr],
+ [:],
+ [nut_have_ipv6=no],
+- [#include <netdb.h>])
++ [#include <netdb.h>
++ #include <sys/socket.h>
++ #include <netinet/in.h>])
+
+ dnl AC_CHECK_MEMBERS([struct in6_addr.s6_addr32],
+ dnl [:],