1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/science/hdf5-18/files/patch-src-H5FDdirect.c
Thierry Thomas 3518336673 science/hdf5-18: upgrade to 1.8.23
This fixes the build with recent clang.
2023-03-07 17:27:47 +01:00

12 lines
344 B
C

--- src/H5FDdirect.c.orig 2023-01-30 14:52:51 UTC
+++ src/H5FDdirect.c
@@ -27,6 +27,8 @@
* this file. */
/* #define _XOPEN_SOURCE 600 */
+#define O_DIRECT 0x00010000
+
#include "H5private.h" /* Generic Functions */
#include "H5Eprivate.h" /* Error handling */
#include "H5Fprivate.h" /* File access */