--- Makefile (revision 553325) +++ Makefile (working copy) @@ -141,7 +141,7 @@ LLDB_VARS= _USES_PYTHON=python:3.6+ OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} -OPENMP_EXTRA_PATCHES= openmp +OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp PYCLANG_DESC= Install python bindings to libclang PYCLANG_IMPLIES= CLANG PYCLANG_VARS= _USES_PYTHON=python:3.6+ --- files/openmp/patch-ea99c09 (revision 553325) +++ files/openmp/patch-ea99c09 (working copy) @@ -14,8 +14,8 @@ diff --git a/openmp/runtime/src/kmp_affinity.h b/openmp/runtime/src/kmp_affinity.h index f270bb6dbb8..664a4239319 100644 ---- a/openmp/runtime/src/kmp_affinity.h -+++ b/openmp/runtime/src/kmp_affinity.h +--- projects/openmp/runtime/src/kmp_affinity.h ++++ projects/openmp/runtime/src/kmp_affinity.h @@ -303,8 +303,9 @@ class KMPNativeAffinity : public KMPAffinity { int retval = syscall(__NR_sched_getaffinity, 0, __kmp_affin_mask_size, mask); @@ -40,8 +40,8 @@ return 0; diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp index 1daa3d31047..5e2d1bd4a2f 100644 ---- a/openmp/runtime/src/z_Linux_util.cpp -+++ b/openmp/runtime/src/z_Linux_util.cpp +--- projects/openmp/runtime/src/z_Linux_util.cpp ++++ projects/openmp/runtime/src/z_Linux_util.cpp @@ -164,7 +164,7 @@ void __kmp_affinity_determine_capable(const char *env_var) { if (gCode > 0) { // Linux* OS only // The optimal situation: the OS returns the size of the buffer it expects.