From: Michal Vasilek Date: Wed, 22 Sep 2021 14:02:43 +0000 (+0200) Subject: nnn: update to 4.2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5195be18aea32f0819fa00314f945dd8bdc3fffc;p=feed%2Fpackages.git nnn: update to 4.2 * switch to AUTORELEASE Signed-off-by: Michal Vasilek (cherry picked from commit 42bf46039c48d7a7b03c292e1975870b1d360269) --- diff --git a/utils/nnn/Makefile b/utils/nnn/Makefile index 6b105c7ebb..1db0b32d90 100644 --- a/utils/nnn/Makefile +++ b/utils/nnn/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nnn -PKG_VERSION:=3.6 -PKG_RELEASE:=1 +PKG_VERSION:=4.2 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/jarun/nnn/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=875094caebcc22ecf53b3722d139b127d25e1d5563a954342f32ded8980978b5 +PKG_HASH:=5675f9fe53bddfd92681ef88bf6c0fab3ad897f9e74dd6cdff32fe1fa62c687f PKG_MAINTAINER:=Josef Schlehofer PKG_LICENSE:=BSD-2-Clause @@ -21,7 +21,7 @@ define Package/nnn CATEGORY:=Utilities TITLE:=Full-featured terminal file manager URL:=https://github.com/jarun/nnn - DEPENDS:=+libncurses +libreadline + DEPENDS:=+libncurses +libreadline +musl-fts endef define Package/nnn/description diff --git a/utils/nnn/patches/musl-fts.patch b/utils/nnn/patches/musl-fts.patch new file mode 100644 index 0000000000..5f15c57e3e --- /dev/null +++ b/utils/nnn/patches/musl-fts.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -129,7 +129,7 @@ CFLAGS += -std=c11 -Wall -Wextra -Wshado + CFLAGS += $(CFLAGS_OPTIMIZATION) + CFLAGS += $(CFLAGS_CURSES) + +-LDLIBS += $(LDLIBS_CURSES) -lpthread ++LDLIBS += $(LDLIBS_CURSES) -lpthread -lfts + + # static compilation needs libgpm development package + ifeq ($(strip $(O_STATIC)),1)