Browse Source

Merge pull request #16690 from paper42/nnn-4.2

nnn: update to 4.2
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
00dd68a0d8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 4 deletions
  1. +4
    -4
      utils/nnn/Makefile
  2. +11
    -0
      utils/nnn/patches/musl-fts.patch

+ 4
- 4
utils/nnn/Makefile View File

@ -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 <pepe.schlehofer@gmail.com>
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


+ 11
- 0
utils/nnn/patches/musl-fts.patch View File

@ -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)

Loading…
Cancel
Save