package/ufs-utils: bump to version 7.14.11
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
This _GNU_SOURCE define was added upstream in commit [1] in the Makefile
default CFLAGS, but since Buildroot redefines those it needs to be added
back.
Release notes:
https://github.com/SanDisk-Open-Source/ufs-utils/releases/tag/v7.14.11
[1] 183e0deb28
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[Julien: add link to upstream commit to justify _GNU_SOURCE]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
de9d24bf2c
commit
e3a52cc941
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user