Skip to content

Commit b480b3b

Browse files
committed
boost-python: apply patch for ledger build
Isomorphic to boostorg/python#40; necessary to build ledger.
1 parent abd82b0 commit b480b3b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Library/Formula/boost-python.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ class BoostPython < Formula
3232
def install
3333
ENV.universal_binary if build.universal?
3434

35+
if stable?
36+
# fix make_setter regression
37+
# https://github.com/boostorg/python/pull/40
38+
inreplace "boost/python/data_members.hpp",
39+
"# if BOOST_WORKAROUND(__EDG_VERSION__, <= 238)",
40+
"# if !BOOST_WORKAROUND(__EDG_VERSION__, <= 238)"
41+
end
42+
3543
# "layout" should be synchronized with boost
3644
args = ["--prefix=#{prefix}",
3745
"--libdir=#{lib}",

0 commit comments

Comments
 (0)