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.
44 lines
1.2 KiB
44 lines
1.2 KiB
Index: Makefile |
|
--- Makefile.orig 2019-07-16 16:08:11.000000000 +0200 |
|
+++ Makefile 2019-07-22 22:33:49.541145000 +0200 |
|
@@ -680,7 +680,7 @@ |
|
|
|
#### Global compile options |
|
VERBOSE_CFLAGS = $(CFLAGS) $(TARGET_CFLAGS) $(SMALL_OPTS) $(DEFINE) |
|
-COPTS = -Iinclude -I$(EBTREE_DIR) -Wall -Wextra |
|
+COPTS = -Iinclude -I$(EBTREE_DIR) |
|
|
|
ifneq ($(ERR),) |
|
COPTS += -Werror |
|
Index: include/common/mini-clist.h |
|
--- include/common/mini-clist.h.orig 2019-07-16 16:08:11.000000000 +0200 |
|
+++ include/common/mini-clist.h 2019-07-22 22:33:38.648092000 +0200 |
|
@@ -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 2019-07-16 16:08:11.000000000 +0200 |
|
+++ src/hlua_fcn.c 2019-07-22 22:33:38.648353000 +0200 |
|
@@ -1517,7 +1517,8 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
- } else { |
|
+#if defined(AF_INET6) && !defined(__FreeBSD__) |
|
+ } else if (addr1->type === AF_INET6) { |
|
int i; |
|
|
|
for (i = 0; i < 16; i += 4) { |
|
@@ -1531,6 +1532,7 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
+#endif |
|
} |
|
|
|
lua_pushboolean(L, 0);
|
|
|