mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 02:23:51 +02:00
mbedtls: update to 3.6.3.
This commit is contained in:
parent
2cfaa3db5d
commit
9603b89d16
2 changed files with 16 additions and 10 deletions
13
srcpkgs/mbedtls/patches/gcc14.patch
Normal file
13
srcpkgs/mbedtls/patches/gcc14.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
Ref https://github.com/Mbed-TLS/mbedtls/issues/9003
|
||||
|
||||
--- a/library/common.h
|
||||
+++ b/library/common.h
|
||||
@@ -199,7 +199,7 @@ static inline void mbedtls_xor(unsigned
|
||||
uint8x16_t x = veorq_u8(v1, v2);
|
||||
vst1q_u8(r + i, x);
|
||||
}
|
||||
-#if defined(__IAR_SYSTEMS_ICC__)
|
||||
+#if defined(__IAR_SYSTEMS_ICC__) || defined(MBEDTLS_COMPILER_IS_GCC)
|
||||
/* This if statement helps some compilers (e.g., IAR) optimise out the byte-by-byte tail case
|
||||
* where n is a constant multiple of 16.
|
||||
* For other compilers (e.g. recent gcc and clang) it makes no difference if n is a compile-time
|
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'mbedtls'
|
||||
pkgname=mbedtls
|
||||
version=3.6.2
|
||||
version=3.6.3
|
||||
revision=1
|
||||
_framework_ver=d9a70c758a5a511020240bbcc86f6d647d64fe96
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_TESTING=1 -DUSE_SHARED_MBEDTLS_LIBRARY=1"
|
||||
hostmakedepends="python3 perl"
|
||||
|
@ -11,15 +10,9 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://tls.mbed.org/"
|
||||
changelog="https://raw.githubusercontent.com/ARMmbed/mbedtls/mbedtls-${version%.*}/ChangeLog"
|
||||
distfiles="https://github.com/ARMmbed/mbedtls/archive/refs/tags/v${version}.tar.gz
|
||||
https://github.com/Mbed-TLS/mbedtls-framework/archive/${_framework_ver}.tar.gz>framework-${_framework_ver}.tar.gz"
|
||||
checksum="f4a876b1f6921ad0aefb445f974ef62414d33928640b2c45555c5e64a196a1a8
|
||||
distfiles="https://github.com/ARMmbed/mbedtls/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum="e69c4c13377e89b9d696006ef9c8258e3be75b6dbd464cfd573360482b1a1f4e
|
||||
d46acd6cb103d00d6e545631467e36363f6fc270b2c051be94d543eb0831393b"
|
||||
skip_extraction="framework-${_framework_ver}.tar.gz"
|
||||
|
||||
post_extract() {
|
||||
vsrcextract -C framework "framework-${_framework_ver}.tar.gz"
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
./scripts/config.pl set MBEDTLS_THREADING_C
|
||||
|
|
Loading…
Add table
Reference in a new issue