boost package: patch dirent for pgi and boost 1.67 (#8313)
This commit is contained in:
parent
eac8cf83bd
commit
ee4050c58f
@ -0,0 +1,13 @@
|
|||||||
|
--- a/libs/filesystem/src/operations.cpp
|
||||||
|
+++ b/libs/filesystem/src/operations.cpp
|
||||||
|
@@ -2056,10 +2056,6 @@
|
||||||
|
return ok;
|
||||||
|
}
|
||||||
|
|
||||||
|
-#if defined(__PGI) && defined(__USE_FILE_OFFSET64)
|
||||||
|
-#define dirent dirent64
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
error_code dir_itr_first(void *& handle, void *& buffer,
|
||||||
|
const char* dir, string& target,
|
||||||
|
fs::file_status &, fs::file_status &)
|
@ -177,6 +177,7 @@ class Boost(Package):
|
|||||||
patch('call_once_variadic.patch', when='@1.54.0:1.55.9999%gcc@5.0:5.9')
|
patch('call_once_variadic.patch', when='@1.54.0:1.55.9999%gcc@5.0:5.9')
|
||||||
|
|
||||||
# Patch fix for PGI compiler
|
# Patch fix for PGI compiler
|
||||||
|
patch('boost_1.67.0_pgi.patch', when='@1.67.0%pgi')
|
||||||
patch('boost_1.63.0_pgi.patch', when='@1.63.0%pgi')
|
patch('boost_1.63.0_pgi.patch', when='@1.63.0%pgi')
|
||||||
patch('boost_1.63.0_pgi_17.4_workaround.patch', when='@1.63.0%pgi@17.4')
|
patch('boost_1.63.0_pgi_17.4_workaround.patch', when='@1.63.0%pgi@17.4')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user