Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/nnn: bump to version 5.3
@ 2026-09-07 19:45 Alexander Shirokov
  2026-09-16 21:20 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Shirokov @ 2026-09-07 19:45 UTC (permalink / raw)
  To: buildroot; +Cc: Alexander Shirokov

This commit updates the package version to 5.3.

Changelog: https://github.com/jarun/nnn/blob/v5.3/CHANGELOG

It also brings some improvements.

1. Adds libatomic dependency, as the library is required since commit
7ce4913bc39bc3b34a0e2c3de7153fb09d489152.

2. Adds a dependency on BR2_TOOLCHAIN_HAS_THREADS to prevent failures
in test-pkg.

3. Replaces a symbol in Config.in to make the file ASCII-only.

Signed-off-by: Alexander Shirokov <shirokovalexs@gmail.com>
---
 package/nnn/Config.in | 4 +++-
 package/nnn/nnn.hash  | 4 ++--
 package/nnn/nnn.mk    | 8 +++++---
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/package/nnn/Config.in b/package/nnn/Config.in
index 64cfa8e0a5..eb409677a0 100644
--- a/package/nnn/Config.in
+++ b/package/nnn/Config.in
@@ -1,9 +1,11 @@
 config BR2_PACKAGE_NNN
 	bool "nnn"
 	depends on BR2_USE_MMU # fork
+	depends on BR2_TOOLCHAIN_HAS_ATOMIC
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# Building nnn without widechar/UTF support is theoretically
 	# possible, but in practice it leads to unstable builds.
-	# That’s why the WCHAR dependency is here.
+	# That's why the WCHAR dependency is here.
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_NCURSES_WCHAR
diff --git a/package/nnn/nnn.hash b/package/nnn/nnn.hash
index 670a591afb..11041e8b9d 100644
--- a/package/nnn/nnn.hash
+++ b/package/nnn/nnn.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  9faaff1e3f5a2fd3ed570a83f6fb3baf0bfc6ebd6a9abac16203d057ac3fffe3  nnn-5.1.tar.gz
-sha256  829f485dc4f2f51c2471b36a99e22f15ff214966e16b72cd79768b2338b4132b  LICENSE
+sha256  79ee69f3ced7c0778d207df76b4d4d680636975ccda002eeb19d0917fcba3d36  nnn-5.3.tar.gz
+sha256  209238e9eff3997a4e43176dadf7e41e71f07784d1a6c8d89380777976f5e2dc  LICENSE
diff --git a/package/nnn/nnn.mk b/package/nnn/nnn.mk
index acbd0ce314..0ceebe8261 100644
--- a/package/nnn/nnn.mk
+++ b/package/nnn/nnn.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NNN_VERSION = 5.1
+NNN_VERSION = 5.3
 NNN_LICENSE = BSD-2-Clause
 NNN_LICENSE_FILES = LICENSE
 NNN_SITE = $(call github,jarun,nnn,v$(NNN_VERSION))
@@ -15,10 +15,12 @@ NNN_MAKE_FLAGS = \
 	CFLAGS_OPTIMIZATION= \
 	PREFIX=/usr
 
+# Must be passed in env so it can be appended to by the Makefile
+NNN_MAKE_ENV += LDLIBS="-latomic"
+
 ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
 NNN_DEPENDENCIES += musl-fts
-# Must be passed in env so it can be appended to by the Makefile
-NNN_MAKE_ENV += LDLIBS="-lfts"
+NNN_MAKE_ENV += LDLIBS="-lfts -latomic"
 endif
 
 ifeq ($(BR2_PACKAGE_READLINE),y)
-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-19 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07 19:45 [Buildroot] [PATCH 1/1] package/nnn: bump to version 5.3 Alexander Shirokov
2026-09-16 21:20 ` Thomas Petazzoni via buildroot
2026-09-19 14:19   ` Alexander Shirokov
2026-09-19 16:06     ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox