From 4f285f85a06fac38e292a6699acbb45b3de487e4 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 14 Feb 2024 14:22:35 -0800 Subject: [PATCH] libidn: update to 1.42 Signed-off-by: Rosen Penev --- libs/libidn/Makefile | 4 ++-- .../patches/010-fix-idn-error-usage.patch | 22 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libs/libidn/Makefile b/libs/libidn/Makefile index b000ebb45e..a8135a0d96 100644 --- a/libs/libidn/Makefile +++ b/libs/libidn/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libidn -PKG_VERSION:=1.41 +PKG_VERSION:=1.42 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/libidn -PKG_HASH:=884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945 +PKG_HASH:=d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723 PKG_MAINTAINER:= PKG_LICENSE:=GPL-2.0-or-later GPL-3.0-or-later LGPL-2.1-or-later LGPL-3.0-or-later Apache-2.0 diff --git a/libs/libidn/patches/010-fix-idn-error-usage.patch b/libs/libidn/patches/010-fix-idn-error-usage.patch index 1dfb18f354..4f42242263 100644 --- a/libs/libidn/patches/010-fix-idn-error-usage.patch +++ b/libs/libidn/patches/010-fix-idn-error-usage.patch @@ -18,7 +18,7 @@ "terminated by a newline character.\n")); do -@@ -195,7 +195,7 @@ main (int argc, char *argv[]) +@@ -199,7 +199,7 @@ main (int argc, char *argv[]) if (feof (stdin)) break; @@ -27,7 +27,7 @@ } if (strlen (line) > 0) -@@ -213,7 +213,7 @@ main (int argc, char *argv[]) +@@ -217,7 +217,7 @@ main (int argc, char *argv[]) if (!q) { free (p); @@ -36,7 +36,7 @@ _("could not convert from UTF-8 to UCS-4")); } -@@ -238,7 +238,7 @@ main (int argc, char *argv[]) +@@ -242,7 +242,7 @@ main (int argc, char *argv[]) if (!q) { free (r); @@ -45,7 +45,7 @@ _("could not convert from UTF-8 to UCS-4")); } -@@ -275,7 +275,7 @@ main (int argc, char *argv[]) +@@ -279,7 +279,7 @@ main (int argc, char *argv[]) q = stringprep_utf8_to_ucs4 (p, -1, &len); free (p); if (!q) @@ -54,7 +54,7 @@ _("could not convert from UTF-8 to UCS-4")); if (args_info.debug_given) -@@ -334,7 +334,7 @@ main (int argc, char *argv[]) +@@ -338,7 +338,7 @@ main (int argc, char *argv[]) r = stringprep_ucs4_to_utf8 (q, -1, NULL, NULL); free (q); if (!r) @@ -63,7 +63,7 @@ _("could not convert from UCS-4 to UTF-8")); p = stringprep_utf8_to_locale (r); -@@ -358,7 +358,7 @@ main (int argc, char *argv[]) +@@ -362,7 +362,7 @@ main (int argc, char *argv[]) q = stringprep_utf8_to_ucs4 (p, -1, NULL); free (p); if (!q) @@ -72,7 +72,7 @@ _("could not convert from UCS-4 to UTF-8")); if (args_info.debug_given) -@@ -436,7 +436,7 @@ main (int argc, char *argv[]) +@@ -440,7 +440,7 @@ main (int argc, char *argv[]) if (!q) { free (p); @@ -81,7 +81,7 @@ _("could not convert from UCS-4 to UTF-8")); } -@@ -492,7 +492,7 @@ main (int argc, char *argv[]) +@@ -496,7 +496,7 @@ main (int argc, char *argv[]) r = stringprep_ucs4_to_utf8 (q, -1, NULL, NULL); free (q); if (!r) @@ -90,7 +90,7 @@ _("could not convert from UTF-8 to UCS-4")); p = stringprep_utf8_to_locale (r); -@@ -521,7 +521,7 @@ main (int argc, char *argv[]) +@@ -525,7 +525,7 @@ main (int argc, char *argv[]) if (!q) { free (p); @@ -99,7 +99,7 @@ _("could not convert from UTF-8 to UCS-4")); } -@@ -535,7 +535,7 @@ main (int argc, char *argv[]) +@@ -539,7 +539,7 @@ main (int argc, char *argv[]) r = stringprep_utf8_nfkc_normalize (p, -1); free (p); if (!r) @@ -108,7 +108,7 @@ if (args_info.debug_given) { -@@ -545,7 +545,7 @@ main (int argc, char *argv[]) +@@ -549,7 +549,7 @@ main (int argc, char *argv[]) if (!q) { free (r); -- 2.30.2