From f0e4d91313059a680acbc98b859b3f1006db08bc Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Mon, 4 Jul 2022 03:29:17 +0300 Subject: [PATCH] nettle: update to 3.8. --- .../nettle/patches/musl-ppc-use-auxval.patch | 21 ------------------ srcpkgs/nettle/patches/ppc64-elfv2.patch | 22 ------------------- srcpkgs/nettle/template | 5 +++-- 3 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 srcpkgs/nettle/patches/musl-ppc-use-auxval.patch delete mode 100644 srcpkgs/nettle/patches/ppc64-elfv2.patch diff --git a/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch b/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch deleted file mode 100644 index ce7c74779e85..000000000000 --- a/srcpkgs/nettle/patches/musl-ppc-use-auxval.patch +++ /dev/null @@ -1,21 +0,0 @@ -This ensures that efficient capability checks are used on musl. - ---- a/fat-ppc.c -+++ b/fat-ppc.c -@@ -42,12 +42,10 @@ - - #if defined(_AIX) - # include --#elif defined(__linux__) && defined(__GLIBC__) && defined(__GLIBC_PREREQ) --# if __GLIBC_PREREQ(2, 16) --# define USE_GETAUXVAL 1 --# include --# include --# endif -+#elif defined(__linux__) -+# define USE_GETAUXVAL 1 -+# include -+# include - #elif defined(__FreeBSD__) - # include - # ifdef PPC_FEATURE2_HAS_VEC_CRYPTO diff --git a/srcpkgs/nettle/patches/ppc64-elfv2.patch b/srcpkgs/nettle/patches/ppc64-elfv2.patch deleted file mode 100644 index 22f76582e0e1..000000000000 --- a/srcpkgs/nettle/patches/ppc64-elfv2.patch +++ /dev/null @@ -1,22 +0,0 @@ -Ensure that ELFv2 ABI is used on all ppc64, including big endian. - ---- a/powerpc64/machine.m4 -+++ b/powerpc64/machine.m4 -@@ -1,7 +1,7 @@ - define(`PROLOGUE', - `.globl C_NAME($1) - DECLARE_FUNC(C_NAME($1)) --ifelse(WORDS_BIGENDIAN,no, -+ifelse(`no',`no', - `ifdef(`FUNC_ALIGN',`.align FUNC_ALIGN') - C_NAME($1): - addis 2,12,(.TOC.-C_NAME($1))@ha -@@ -17,7 +17,7 @@ ifdef(`FUNC_ALIGN',`.align FUNC_ALIGN') - undefine(`FUNC_ALIGN')') - - define(`EPILOGUE', --`ifelse(WORDS_BIGENDIAN,no, -+`ifelse(`no',`no', - `.size C_NAME($1), . - C_NAME($1)', - `.size .C_NAME($1), . - .C_NAME($1) - .size C_NAME($1), . - .C_NAME($1)')') diff --git a/srcpkgs/nettle/template b/srcpkgs/nettle/template index 25eca0dcab04..26b926bf9cbe 100644 --- a/srcpkgs/nettle/template +++ b/srcpkgs/nettle/template @@ -1,6 +1,6 @@ # Template file for 'nettle' pkgname=nettle -version=3.7.3 +version=3.8 revision=1 build_style=gnu-configure configure_args="--enable-shared" @@ -10,8 +10,9 @@ short_desc="Low-level cryptographic library" maintainer="Érico Nogueira " license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="https://www.lysator.liu.se/~nisse/nettle/" +changelog="https://git.lysator.liu.se/nettle/nettle/-/raw/master/NEWS" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0 +checksum=7576c68481c198f644b08c160d1a4850ba9449e308069455b5213319f234e8e6 nettle-devel_package() { depends="gmp-devel ${sourcepkg}>=${version}_${revision}"