Skip to contentSkip to conversation

package/nnn: bump version to 5.2

PATCH New Alexander Shirokov 1 participant 1 message Feb 17

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/nnn: bump version to 5.2

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

This commit also brings some improvements:

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

2. Adds 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.

---
 package/nnn/Config.in | 4 +++-
 package/nnn/nnn.hash  | 4 ++--
 package/nnn/nnn.mk    | 8 +++++---
 3 files changed, 10 insertions(+), 6 deletions(-)
package/nnn/Config.in +3 -1
index 64cfa8e0a5..eb409677a0 100644
@@ -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
package/nnn/nnn.hash +2 -2
index 670a591afb..0d6f1635b6 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  9faaff1e3f5a2fd3ed570a83f6fb3baf0bfc6ebd6a9abac16203d057ac3fffe3  nnn-5.1.tar.gz
-sha256  829f485dc4f2f51c2471b36a99e22f15ff214966e16b72cd79768b2338b4132b  LICENSE
+sha256  f166eda5093ac8dcf8cbbc6224123a32c53cf37b82c5c1cb48e2e23352754030  nnn-5.2.tar.gz
+sha256  209238e9eff3997a4e43176dadf7e41e71f07784d1a6c8d89380777976f5e2dc  LICENSE
package/nnn/nnn.mk +5 -3
index acbd0ce314..7294003fbf 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NNN_VERSION = 5.1
+NNN_VERSION = 5.2
 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)
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot