@@ -1,3 +1,3 @@
# Locally computed
-sha256 b46f1dbd3688d3b72009c54ae789dd60ea386546cd433325c05970208d36c8a3 ufs-utils-6.14.11.tar.gz
+sha256 07d80ddd2dcfbe5e844515648c494fab33790be5450d150b88e3612da9b1895b ufs-utils-7.14.11.tar.gz
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING
@@ -4,13 +4,13 @@
#
################################################################################
-UFS_UTILS_VERSION = 6.14.11
+UFS_UTILS_VERSION = 7.14.11
UFS_UTILS_SITE = $(call github,SanDisk-Open-Source,ufs-utils,v$(UFS_UTILS_VERSION))
UFS_UTILS_LICENSE = GPL-2.0
UFS_UTILS_LICENSE_FILES = COPYING
define UFS_UTILS_BUILD_CMDS
- $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
+ $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
endef
define UFS_UTILS_INSTALL_TARGET_CMDS
Adding _GNU_SOURCE to CFLAGS was necessary to fix the following error raised during the compilation of the new version: ufs_emon.c: In function ‘do_emon’: ufs_emon.c:455:51: error: ‘O_DIRECT’ undeclared (first use in this function); did you mean ‘O_DIRECTORY’? 455 | fill_data_fd = open("fill_file", O_RDWR | O_DIRECT | O_CREAT, | ^~~~~~~~ | O_DIRECTORY ufs_emon.c:455:51: note: each undeclared identifier is reported only once for each function it appears in Release notes: https://github.com/SanDisk-Open-Source/ufs-utils/releases/tag/v7.14.11 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- package/ufs-utils/ufs-utils.hash | 2 +- package/ufs-utils/ufs-utils.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)