Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Shirokov <shirokovalexs@gmail.com>
To: buildroot@buildroot.org
Cc: Alexander Shirokov <shirokovalexs@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/nnn: bump to version 5.3
Date: Mon,  7 Sep 2026 21:45:37 +0200	[thread overview]
Message-ID: <20260907194602.1646514-1-shirokovalexs@gmail.com> (raw)

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

             reply	other threads:[~2026-09-07 19:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07 19:45 Alexander Shirokov [this message]
2026-09-16 21:20 ` [Buildroot] [PATCH 1/1] package/nnn: bump to version 5.3 Thomas Petazzoni via buildroot
2026-09-19 14:19   ` Alexander Shirokov
2026-09-19 16:06     ` Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260907194602.1646514-1-shirokovalexs@gmail.com \
    --to=shirokovalexs@gmail.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox