nano: Update to 8.4
authorHannu Nyman <[email protected]>
Sun, 6 Apr 2025 16:57:10 +0000 (19:57 +0300)
committerHannu Nyman <[email protected]>
Sun, 6 Apr 2025 16:57:10 +0000 (19:57 +0300)
Update nano edit to version 8.4.

Add configure flags to overcome upstream bug 66978, where the newly added
gnulib module for strcasecmp always fails in the configure step when
cross-compiling.
https://savannah.gnu.org/bugs/?66978
https://github.com/coreutils/gnulib/commit/b2927d1b1fa3fb09a2210a3df5691f7d48d6151b

The added flags disable the strcasecmp function from gnulib.
If upstream (gnulib?) fixes things later, the flags should be removed.

Signed-off-by: Hannu Nyman <[email protected]>
utils/nano/Makefile

index d12913ef4f5cd50c356ef32709a694c72c7420ac..ab81c1ff474712d7f829b8528aa5ab1fc290537d 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nano
-PKG_VERSION:=8.3
+PKG_VERSION:=8.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/nano
-PKG_HASH:=551b717b2e28f7e90f749323686a1b5bbbd84cfa1390604d854a3ca3778f111e
+PKG_HASH:=5ad29222bbd55624d87ea677928b3106a743114d6c6f9b41f36c97be2a8e628d
 
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=COPYING
@@ -117,6 +117,8 @@ endif
 
 CONFIGURE_VARS += \
        ac_cv_header_regex_h=no \
+       ac_cv_func_strcasecmp=no \
+       ac_cv_func_strncasecmp=no
 
 define Package/nano-plus/conffiles
 /etc/nanorc