diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /sci-physics/root/files | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.2019
Diffstat (limited to 'sci-physics/root/files')
-rw-r--r-- | sci-physics/root/files/root-6.16.00-disable-header-search.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-physics/root/files/root-6.16.00-disable-header-search.patch b/sci-physics/root/files/root-6.16.00-disable-header-search.patch new file mode 100644 index 000000000000..06748eb64312 --- /dev/null +++ b/sci-physics/root/files/root-6.16.00-disable-header-search.patch @@ -0,0 +1,38 @@ +From: Benda Xu <heroxbd@gentoo.org> +Date: 2019-03-23 +Subject: Remove header expansion logic from module cmake helper. + +Description: ROOT module cmake helper by default expands header inclusion to +absolute path. In Gentoo, that will capture PORTAGE_TMPDIR resulting in various +runtime bugs. By removing this convolved logic, headers are untouched and become +more predictible for rootcling at runtime. + +Typical bug it solves: + + Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState: + Missing FileEntry for /var/tmp/portage/sci-physics/JSAP-479/work/JSAP-479/DataType/JPSimOutput.hh + requested to autoload type JPSimTruthTree_t + Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState: + Missing FileEntry for /var/tmp/portage/sci-physics/JSAP-479/work/JSAP-479/DataType/JPSimOutput.hh + requested to autoload type JPSimTriggerInfoTree_t + +Forwarded: No need. Gentoo specific. + +--- a/cmake/modules/RootNewMacros.cmake 2019-01-23 16:23:37.000000000 +0800 ++++ b/cmake/modules/RootNewMacros.cmake 2019-02-25 00:18:04.000000000 +0800 +@@ -250,14 +250,7 @@ function(ROOT_GENERATE_DICTIONARY dictio + list(APPEND headerfiles ${fp}) + list(APPEND _list_of_header_dependencies ${fp}) + else() +- find_file(headerFile ${fp} HINTS ${localinclude} ${incdirs} NO_DEFAULT_PATH) +- find_file(headerFile ${fp} NO_SYSTEM_ENVIRONMENT_PATH) +- if(headerFile) +- list(APPEND headerfiles ${headerFile}) +- list(APPEND _list_of_header_dependencies ${headerFile}) +- else() +- list(APPEND headerfiles ${fp}) +- endif() ++ list(APPEND headerfiles ${fp}) + unset(headerFile CACHE) + endif() + endforeach() |