forked from immortalwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
- Loading branch information
Showing
44 changed files
with
672 additions
and
914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Fix -Wint-conversion error with gcc 14 due to musl using POSIX strerror_r. | ||
|
||
``` | ||
/home/build/aports/testing/fluent-bit/src/fluent-bit-3.1.9/src/flb_network.c: In function 'net_connect_async': | ||
/home/build/aports/testing/fluent-bit/src/fluent-bit-3.1.9/src/flb_network.c:566:17: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] | ||
566 | str = strerror_r(error, so_error_buf, sizeof(so_error_buf)); | ||
``` | ||
|
||
--- a/src/flb_network.c | ||
+++ b/src/flb_network.c | ||
@@ -551,9 +551,6 @@ static int net_connect_async(int fd, | ||
} | ||
|
||
/* Connection is broken, not much to do here */ | ||
-#if ((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || \ | ||
- (defined(_XOPEN_SOURCE) || _XOPEN_SOURCE - 0L >= 600L)) && \ | ||
- (!defined(_GNU_SOURCE)) | ||
ret = strerror_r(error, so_error_buf, sizeof(so_error_buf)); | ||
if (ret == 0) { | ||
str = so_error_buf; | ||
@@ -562,9 +559,6 @@ static int net_connect_async(int fd, | ||
flb_errno(); | ||
return -1; | ||
} | ||
-#else | ||
- str = strerror_r(error, so_error_buf, sizeof(so_error_buf)); | ||
-#endif | ||
flb_error("[net] TCP connection failed: %s:%i (%s)", | ||
u->tcp_host, u->tcp_port, str); | ||
return -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 0 additions & 99 deletions
99
admin/ipmitool/patches/0001-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
admin/ipmitool/patches/0002-ID-461-Make-compiler-happier-about-changes-related-t.patch
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
admin/ipmitool/patches/0003-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.