From dc8126d16b8bac84b39ea266a454ecf462da655c Mon Sep 17 00:00:00 2001 From: Edmund Lodewijks Date: Sun, 4 Jan 2026 20:02:45 +0200 Subject: [PATCH] Updated. Removed Patch as upstream sorted the error out. --- .SRCINFO | 6 +++--- PKGBUILD | 14 ++------------ ...h01-disable-fortify-sources-jitterentropy.patch | 12 ------------ 3 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 Patch01-disable-fortify-sources-jitterentropy.patch diff --git a/.SRCINFO b/.SRCINFO index 5ccc43525792c..8d617f7f199ed 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = aws-lc pkgdesc = general-purpose cryptographic library maintained by the AWS Cryptography team for AWS - pkgver = 1.60.0 + pkgver = 1.66.1 pkgrel = 1 url = https://github.com/aws/aws-lc arch = x86_64 @@ -20,9 +20,9 @@ pkgbase = aws-lc optdepends = clang: Alternative for gcc (gcc preferred by upstream) options = !strip options = !lto - source = aws-lc-1.60.0.tar.gz::https://github.com/aws/aws-lc/archive/refs/tags/v1.60.0.tar.gz + source = aws-lc-1.66.1.tar.gz::https://github.com/aws/aws-lc/archive/refs/tags/v1.66.1.tar.gz source = Patch01-disable-fortify-sources-jitterentropy.patch - b2sums = fd49992965523eff1b7c14c70c77e4ac80e55d5c53aa9f5da0171b3e450c8607f7358f162ff2ddd3b2969b68c625f651096e9a19bd8337c9c134f1c8a4484258 + b2sums = 05f515f363efed85d0031bbd83d9c0d150d72c94d352a4e53a753872e92521218f2aa80098959f6cfd093035c8fba86bc675e035f5193aa924bc78bd71802ad9 b2sums = 84c1e992d09720f77ee34ec951a6a0fe12d060431c22b8d2f567c888147c54472ce6b394d3f63c5e89eaa7d44c2625ed9de74bbb112ff4f8d7694fdb9b80020b pkgname = aws-lc diff --git a/PKGBUILD b/PKGBUILD index 656e0d4983b44..448d95246be48 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ # with the binary from the package 'openssl'. Check with 'which openssl'. pkgname=aws-lc -pkgver=1.60.0 +pkgver=1.66.1 pkgrel=1 pkgdesc='general-purpose cryptographic library maintained by the AWS Cryptography team for AWS' url='https://github.com/aws/aws-lc' @@ -34,20 +34,10 @@ source=( "${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" "Patch01-disable-fortify-sources-jitterentropy.patch" ) -b2sums=('fd49992965523eff1b7c14c70c77e4ac80e55d5c53aa9f5da0171b3e450c8607f7358f162ff2ddd3b2969b68c625f651096e9a19bd8337c9c134f1c8a4484258' +b2sums=('05f515f363efed85d0031bbd83d9c0d150d72c94d352a4e53a753872e92521218f2aa80098959f6cfd093035c8fba86bc675e035f5193aa924bc78bd71802ad9' '84c1e992d09720f77ee34ec951a6a0fe12d060431c22b8d2f567c888147c54472ce6b394d3f63c5e89eaa7d44c2625ed9de74bbb112ff4f8d7694fdb9b80020b') options=(!strip !lto) -prepare() { - cd ${pkgname}-${pkgver} - - # 'jitterentropy' has to be built wiht '-O0' (no optimisation). As a - # result, the build warns that it cannot apply 'FORTIFY_SOURCES'. With - # the patch we make sure that warning is just a warning, not a - # build-breaking error. - patch -p1 -i ../Patch01-disable-fortify-sources-jitterentropy.patch -} - build() { cd ${pkgname}-${pkgver} diff --git a/Patch01-disable-fortify-sources-jitterentropy.patch b/Patch01-disable-fortify-sources-jitterentropy.patch deleted file mode 100644 index c96abb518e128..0000000000000 --- a/Patch01-disable-fortify-sources-jitterentropy.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff '--color=auto' -Naru aws-lc-1.60.0/third_party/jitterentropy/CMakeLists.txt aws-lc-1.60.0-new/third_party/jitterentropy/CMakeLists.txt ---- aws-lc-1.60.0/third_party/jitterentropy/CMakeLists.txt 2025-09-02 22:37:38.000000000 +0200 -+++ aws-lc-1.60.0-new/third_party/jitterentropy/CMakeLists.txt 2025-09-06 20:29:49.663890960 +0200 -@@ -24,7 +24,7 @@ - endif() - else() - set(CMAKE_POSITION_INDEPENDENT_CODE true) -- set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wextra -Wall -pedantic -O0 -fwrapv") -+ set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wextra -Wall -pedantic -O0 -fwrapv -Wno-error=cpp") - if ((NOT GCC) OR (GCC AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "4.3")) - # -Wconversion was changed from GCC version 4.3. Prior it was meant as - # an aid in translating code from old C to modern C. It was not meant