Skip to content
Commit e3a52cc9 authored by Dario Binacchi's avatar Dario Binacchi Committed by Julien Olivain
Browse files

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] https://github.com/SanDisk-Open-Source/ufs-utils/commit/183e0deb28f13cfb3caf161fc6d0f3cd1edb05c2



Signed-off-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
[Julien: add link to upstream commit to justify _GNU_SOURCE]
Signed-off-by: default avatarJulien Olivain <ju.o@free.fr>
parent de9d24bf
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment