diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /sys-fs/libeatmydata/files | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'sys-fs/libeatmydata/files')
-rw-r--r-- | sys-fs/libeatmydata/files/libeatmydata-130-implicit-function-decl-test.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-fs/libeatmydata/files/libeatmydata-130-implicit-function-decl-test.patch b/sys-fs/libeatmydata/files/libeatmydata-130-implicit-function-decl-test.patch new file mode 100644 index 000000000000..da8403ca2c11 --- /dev/null +++ b/sys-fs/libeatmydata/files/libeatmydata-130-implicit-function-decl-test.patch @@ -0,0 +1,18 @@ +/var/tmp/portage/sys-fs/libeatmydata-130/work/libeatmydata-130/libeatmydata/test/tst-invalidfd.c:31:13: error: implicit declaration of function ‘sync_file_range’; did you mean ‘copy_file_range’? [-Werror=implicit-function-declaration] + 31 | r = sync_file_range(fd, 0, 0, 0); + | ^~~~~~~~~~~~~~~ + | copy_file_range +--- a/libeatmydata/test/tst-invalidfd.c ++++ b/libeatmydata/test/tst-invalidfd.c +@@ -17,6 +17,11 @@ + + #include <stdio.h> + #include <errno.h> ++ ++#ifdef HAVE_SYNC_FILE_RANGE ++#include <fcntl.h> ++#endif ++ + #include <unistd.h> + #include <assert.h> + |