Skip to contentSkip to conversation

package/nnn: bump to version 5.2

PATCH Superseded Alexander Shirokov 1 participant 1 message Feb 16

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

This commit updates the package version to 5.2.

As the new version utilizes atomics (see commit 7ce4913bc39bc3b34a0e2c3de7153fb09d489152), the patch also updates the linkage flags to add 'libatomic'.

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

---
 package/nnn/Config.in | 1 +
 package/nnn/nnn.hash  | 4 ++--
 package/nnn/nnn.mk    | 8 +++++---
 3 files changed, 8 insertions(+), 5 deletions(-)
package/nnn/Config.in +1 -0
index 64cfa8e0a5..a1a3bd505a 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_NNN
 	bool "nnn"
 	depends on BR2_USE_MMU # fork
+	depends on BR2_TOOLCHAIN_HAS_ATOMIC
 	# 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.
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