Merge pull request #34534 from dtzWill/fix/fastjet-clang5

fastjet: Fix build w/clang5
This commit is contained in:
Graham Christensen 2018-02-03 10:01:51 -05:00 committed by GitHub
commit dbd9e7fcb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
buildInputs = [ python2 ];
postPatch = ''
substituteInPlace plugins/SISCone/SISConeBasePlugin.cc \
--replace 'structure_of<UserScaleBase::StructureType>()' \
'structure_of<UserScaleBase>()'
'';
configureFlags = [
"--enable-allcxxplugins"
"--enable-pyext"