summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/boa-patches
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-14 11:12:39 +0000
committerSteven Barth <steven@midlink.org>2008-09-14 11:12:39 +0000
commit5fff612e0a051d524b5fd9d7d4a27bba1c2ea286 (patch)
treea124dddd111bc028462b152b3c9be8f9b08725ef /libs/sgi-webuci/boa-patches
parente491e675880f338c68214ce8f6ec6584d21623d9 (diff)
Make Boa IPv6-ready. Patch by Alina Friedrichsen. Thanks a lot.
Diffstat (limited to 'libs/sgi-webuci/boa-patches')
-rw-r--r--libs/sgi-webuci/boa-patches/130-inet6_fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/sgi-webuci/boa-patches/130-inet6_fix.patch b/libs/sgi-webuci/boa-patches/130-inet6_fix.patch
new file mode 100644
index 000000000..b4fc570bc
--- /dev/null
+++ b/libs/sgi-webuci/boa-patches/130-inet6_fix.patch
@@ -0,0 +1,16 @@
+Index: boa-0.94.13/src/compat.h
+===================================================================
+--- boa-0.94.13.orig/src/compat.h 2002-07-23 17:50:29.000000000 +0200
++++ boa-0.94.13/src/compat.h 2008-09-13 21:55:31.000000000 +0200
+@@ -70,8 +70,8 @@
+ #endif
+
+ #ifdef INET6
+-#define SOCKADDR sockaddr_storage
+-#define S_FAMILY __s_family
++#define SOCKADDR sockaddr_in6
++#define S_FAMILY sin6_family
+ #define SERVER_AF AF_INET6
+ #else
+ #define SOCKADDR sockaddr_in
+ #define S_FAMILY sin_family