diff options
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit/0001-Revert-Remove-unused-variable-in-mpi_mul_hlp.patch | 42 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb | 2 |
2 files changed, 1 insertions, 43 deletions
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Revert-Remove-unused-variable-in-mpi_mul_hlp.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Revert-Remove-unused-variable-in-mpi_mul_hlp.patch deleted file mode 100644 index 8a165dc0d2..0000000000 --- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Revert-Remove-unused-variable-in-mpi_mul_hlp.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From af6cefba8c2675f58b75f93785337ab23054568c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 18 Aug 2022 23:35:23 -0700 | ||
| 4 | Subject: [PATCH] Revert Remove unused variable in mpi_mul_hlp() | ||
| 5 | |||
| 6 | This reverts | ||
| 7 | https://github.com/Mbed-TLS/mbedtls/commit/e7f14a3090e6595eb3c8d821704ad9c90f6d3712 | ||
| 8 | |||
| 9 | Which helps in compiling the x86 asm code. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | lib/mbedtls-2.28.0/library/bignum.c | 4 +++- | ||
| 16 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/lib/mbedtls-2.28.0/library/bignum.c b/lib/mbedtls-2.28.0/library/bignum.c | ||
| 19 | index 9c256ae..62e7f76 100644 | ||
| 20 | --- a/lib/mbedtls-2.28.0/library/bignum.c | ||
| 21 | +++ b/lib/mbedtls-2.28.0/library/bignum.c | ||
| 22 | @@ -1392,7 +1392,7 @@ void mpi_mul_hlp( size_t i, | ||
| 23 | mbedtls_mpi_uint *d, | ||
| 24 | mbedtls_mpi_uint b ) | ||
| 25 | { | ||
| 26 | - mbedtls_mpi_uint c = 0; | ||
| 27 | + mbedtls_mpi_uint c = 0, t = 0; | ||
| 28 | |||
| 29 | #if defined(MULADDC_HUIT) | ||
| 30 | for( ; i >= 8; i -= 8 ) | ||
| 31 | @@ -1443,6 +1443,8 @@ void mpi_mul_hlp( size_t i, | ||
| 32 | } | ||
| 33 | #endif /* MULADDC_HUIT */ | ||
| 34 | |||
| 35 | + t++; | ||
| 36 | + | ||
| 37 | while( c != 0 ) | ||
| 38 | { | ||
| 39 | *d += c; c = ( *d < c ); d++; | ||
| 40 | -- | ||
| 41 | 2.37.2 | ||
| 42 | |||
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb index a1f879488d..56ba72bf59 100644 --- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb +++ b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb | |||
| @@ -22,8 +22,8 @@ SRC_URI = "https://releases.fluentbit.io/1.9/source-${PV}.tar.gz;subdir=fluent-b | |||
| 22 | file://0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch \ | 22 | file://0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch \ |
| 23 | file://0005-stackdriver-Fix-return-type-mismatch.patch \ | 23 | file://0005-stackdriver-Fix-return-type-mismatch.patch \ |
| 24 | file://0006-monkey-Fix-TLS-detection-testcase.patch \ | 24 | file://0006-monkey-Fix-TLS-detection-testcase.patch \ |
| 25 | file://0001-Revert-Remove-unused-variable-in-mpi_mul_hlp.patch \ | ||
| 26 | " | 25 | " |
| 26 | SRC_URI:remove:x86 = "file://0002-mbedtls-Remove-unused-variable.patch" | ||
| 27 | SRC_URI:append:libc-musl = "\ | 27 | SRC_URI:append:libc-musl = "\ |
| 28 | file://0001-Use-posix-strerror_r-with-musl.patch \ | 28 | file://0001-Use-posix-strerror_r-with-musl.patch \ |
| 29 | file://0002-chunkio-Link-with-fts-library-with-musl.patch \ | 29 | file://0002-chunkio-Link-with-fts-library-with-musl.patch \ |
