summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups.d/241.native_packages_inet.group4
-rw-r--r--patches/whois-5.5.20.local.patch (renamed from patches/whois-5.5.18.local.patch)12
2 files changed, 14 insertions, 2 deletions
diff --git a/groups.d/241.native_packages_inet.group b/groups.d/241.native_packages_inet.group
index dae1088e..8ccd9d08 100644
--- a/groups.d/241.native_packages_inet.group
+++ b/groups.d/241.native_packages_inet.group
@@ -266,8 +266,8 @@ mutt_cv_regex_broken=no"};
: ${PKG_WGET2_VERSION:=2.0.1};
: ${PKG_WGET2_URL:=https://ftp.gnu.org/gnu/wget/wget2-${PKG_WGET2_VERSION}.tar.gz};
: ${PKG_WHOIS_DEPENDS:="libidn2"};
-: ${PKG_WHOIS_SHA256SUM:=f0ecc280b5c7130dd8fe4bd7be6acefe32481a2c29aacb1f5262800b6c79a01b};
-: ${PKG_WHOIS_VERSION:=5.5.18};
+: ${PKG_WHOIS_SHA256SUM:=e7674972682d805488198c3345be3f1faddf94656cd0d24876826cd802ddd86c};
+: ${PKG_WHOIS_VERSION:=5.5.20};
: ${PKG_WHOIS_URL:=https://github.com/rfc1036/whois/archive/v${PKG_WHOIS_VERSION}.tar.gz};
: ${PKG_WHOIS_IN_TREE:=1};
: ${PKG_WHOIS_CFLAGS_BUILD:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
diff --git a/patches/whois-5.5.18.local.patch b/patches/whois-5.5.20.local.patch
index a1a69454..0536845c 100644
--- a/patches/whois-5.5.18.local.patch
+++ b/patches/whois-5.5.20.local.patch
@@ -1,3 +1,15 @@
+diff -ru whois-5.5.20.orig/utils.h whois-5.5.20/utils.h
+--- whois-5.5.20.orig/utils.h 2023-11-10 15:26:16.000000000 +0100
++++ whois-5.5.20/utils.h 2023-11-15 21:34:41.481060178 +0100
+@@ -64,7 +64,7 @@
+ #endif
+
+ /* Prototypes */
+-void *MALLOC_FREE NONNULL do_nofail(void *ptr, const char *file, const int line)
++void * NONNULL do_nofail(void *ptr, const char *file, const int line)
+ ;
+ char **merge_args(char *args, char *argv[], int *argc);
+
--- whois-5.5.7/Makefile.orig 2020-10-03 16:43:15.000000000 +0100
+++ whois-5.5.7/Makefile 2021-01-23 07:55:24.889153830 +0000
@@ -42,12 +42,12 @@