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.
36 lines
1.1 KiB
36 lines
1.1 KiB
Index: Makefile |
|
--- Makefile.orig 2024-05-29 19:11:47.361733000 +0200 |
|
+++ Makefile 2024-05-29 19:12:50.281280000 +0200 |
|
@@ -214,10 +214,7 @@ |
|
|
|
#### Compiler-specific flags to enable certain classes of warnings. |
|
# Some are hard-coded, others are enabled only if supported. |
|
-WARN_CFLAGS := -Wall -Wextra -Wundef -Wdeclaration-after-statement \ |
|
- $(call cc-all-fast, \ |
|
- -Wtype-limits -Wshift-negative-value -Wshift-overflow=2 \ |
|
- -Wduplicated-cond -Wnull-dereference) |
|
+WARN_CFLAGS := |
|
|
|
#### Compiler-specific flags to enable certain classes of warnings. |
|
NOWARN_CFLAGS := $(cc-wnouwo) |
|
Index: src/hlua_fcn.c |
|
--- src/hlua_fcn.c.orig 2024-05-29 14:43:38.000000000 +0200 |
|
+++ src/hlua_fcn.c 2024-05-29 19:11:47.362068000 +0200 |
|
@@ -2479,7 +2479,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) { |
|
@@ -2493,6 +2494,7 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
+#endif |
|
} |
|
|
|
lua_pushboolean(L, 0);
|
|
|