Fixes patch paths for earlier boost versions (#3712)

* Fixes patch paths for earlier boost versions

The directory structure of boost changed at version 1.56.0, so the patch
being used for python support did not work on earlier versions. This
adds another patch that matches earlier versions.

* Removes commented out code
This commit is contained in:
Josh Asplund
2017-04-05 14:26:22 -07:00
committed by Adam J. Stewart
parent 745e2ce52f
commit 048b6fc454
2 changed files with 44 additions and 1 deletions

View File

@@ -131,7 +131,8 @@ class Boost(Package):
patch('boost_11856.patch', when='@1.60.0%gcc@4.4.7')
# Patch fix from https://svn.boost.org/trac/boost/ticket/11120
patch('python_jam.patch', when='^python@3:')
patch('python_jam.patch', when='@1.56.0: ^python@3:')
patch('python_jam_pre156.patch', when='@:1.55.0 ^python@3:')
# Patch fix from https://svn.boost.org/trac/boost/ticket/10125
patch('boost_10125.patch', when='@1.55.0%gcc@5.0:5.9')