nettle: update to 3.10.1

refresh path:100-portability.patch
Announcement:https://lists.gnu.org/archive/html/info-gnu/2024-12/msg00008.html

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17824
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Jack Sun 2025-02-02 10:28:14 +08:00 committed by Hauke Mehrtens
parent 148f82ad45
commit 4b650dd39f
2 changed files with 7 additions and 7 deletions

View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=nettle PKG_NAME:=nettle
PKG_VERSION:=3.9.1 PKG_VERSION:=3.10.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_FLAGS:=no-mips16 PKG_BUILD_FLAGS:=no-mips16
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/nettle PKG_SOURCE_URL:=@GNU/nettle
PKG_HASH:=ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3 PKG_HASH:=b0fcdd7fc0cdea6e80dcf1dd85ba794af0d5b4a57e26397eee3bc193272d9132
PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
@ -29,7 +29,7 @@ define Package/libnettle
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=GNU crypto library TITLE:=GNU crypto library
URL:=http://www.lysator.liu.se/~nisse/nettle/ URL:=https://www.lysator.liu.se/~nisse/nettle/
DEPENDS+= +!LIBNETTLE_MINI:libgmp DEPENDS+= +!LIBNETTLE_MINI:libgmp
ABI_VERSION:=8 ABI_VERSION:=8
endef endef

View File

@ -1,6 +1,6 @@
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -4719,6 +4719,7 @@ $as_echo_n "checking build system compil @@ -5689,6 +5689,7 @@ printf %s "checking build system compile
# remove anything that might look like compiler output to our "||" expression # remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF cat >conftest.c <<EOF
@ -8,7 +8,7 @@
int int
main () main ()
{ {
@@ -4751,6 +4752,7 @@ $as_echo_n "checking build system compil @@ -5721,6 +5722,7 @@ printf %s "checking build system compile
# remove anything that might look like compiler output to our "||" expression # remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF cat >conftest.c <<EOF
@ -16,7 +16,7 @@
int int
main () main ()
{ {
@@ -4787,6 +4789,7 @@ $as_echo_n "checking build system compil @@ -5757,6 +5759,7 @@ printf %s "checking build system compile
# remove anything that might look like compiler output to our "||" expression # remove anything that might look like compiler output to our "||" expression
rm -f conftest* a.out b.out a.exe a_out.exe rm -f conftest* a.out b.out a.exe a_out.exe
cat >conftest.c <<EOF cat >conftest.c <<EOF
@ -24,7 +24,7 @@
int int
main () main ()
{ {
@@ -4837,6 +4840,7 @@ else @@ -5808,6 +5811,7 @@ else $as_nop
gmp_cv_prog_exeext_for_build="$EXEEXT" gmp_cv_prog_exeext_for_build="$EXEEXT"
else else
cat >conftest.c <<EOF cat >conftest.c <<EOF