You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
Index: include/common/mini-clist.h
|
|
|
|
|
--- include/common/mini-clist.h.orig 2016-12-13 00:24:34.000000000 +0100
|
|
|
|
|
+++ include/common/mini-clist.h 2016-12-30 12:46:43.994794000 +0100
|
|
|
|
|
@@ -67,6 +67,7 @@
|
|
|
|
|
#undef LIST_HEAD
|
|
|
|
|
#undef LIST_INIT
|
|
|
|
|
#undef LIST_NEXT
|
|
|
|
|
+#undef LIST_PREV
|
|
|
|
|
|
|
|
|
|
/* ILH = Initialized List Head : used to prevent gcc from moving an empty
|
|
|
|
|
* list to BSS. Some older version tend to trim all the array and cause
|
|
|
|
|
Index: src/hlua_fcn.c
|
|
|
|
|
--- src/hlua_fcn.c.orig 2016-12-13 00:24:34.000000000 +0100
|
|
|
|
|
+++ src/hlua_fcn.c 2016-12-30 12:53:59.528450000 +0100
|
|
|
|
|
@@ -1015,7 +1015,9 @@
|
|
|
|
|
lua_pushboolean(L, 1);
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
- } else {
|
|
|
|
|
+ }
|
|
|
|
|
+#if defined(AF_INET6) && !defined(__FreeBSD__)
|
|
|
|
|
+ else if (addr1->type === AF_INET6) {
|
|
|
|
|
if (((addr1->addr.v6.ip.s6_addr32[0] & addr2->addr.v6.mask.s6_addr32[0]) ==
|
|
|
|
|
(addr2->addr.v6.ip.s6_addr32[0] & addr1->addr.v6.mask.s6_addr32[0])) &&
|
|
|
|
|
((addr1->addr.v6.ip.s6_addr32[1] & addr2->addr.v6.mask.s6_addr32[1]) ==
|
|
|
|
|
@@ -1028,6 +1030,7 @@
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
lua_pushboolean(L, 0);
|
|
|
|
|
return 1;
|