aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Ross2013-04-17 05:10:12 -0400
committerAdam Vandenberg2013-04-27 12:02:41 -0700
commit17471361b4592ddc21ac920e234e9d6443ce3838 (patch)
tree3a0e8a44a80634ff6c0159cbe2e88b9684764bce
parent16da1c70bf11ddcb281f2f8b99db5914d45a8245 (diff)
downloadhomebrew-17471361b4592ddc21ac920e234e9d6443ce3838.tar.bz2
python: Restore the experimental DTrace patch
The old patch had a lot of whitespace differences, and they were failing with Python 2.7.4. In addition to removing the whitespace differences, configure.in was removed from the patch, as configure is being patched already. Closes #19257. Closes #19203. Closes #19400. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/python.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 22fc97f0c..f405b99af 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -21,9 +21,8 @@ class Python < Formula
option 'with-brewed-tk', "Use Homebrew's Tk (has optional Cocoa and threads support)"
option 'with-poll', 'Enable select.poll, which is not fully implemented on OS X (http://bugs.python.org/issue5154)'
- # It seems this is not available yet for 2.7.4 - I commented it out until the upstream issue gets updated --sam
# --with-dtrace relies on CLT as dtrace hard-codes paths to /usr
- #option 'with-dtrace', 'Experimental DTrace support (http://bugs.python.org/issue13405)' if MacOS::CLT.installed?
+ option 'with-dtrace', 'Experimental DTrace support (http://bugs.python.org/issue13405)' if MacOS::CLT.installed?
depends_on 'pkg-config' => :build
depends_on 'readline' => :recommended
@@ -34,7 +33,7 @@ class Python < Formula
def patches
p = []
- p << 'https://raw.github.com/gist/3415636/2365dea8dc5415daa0148e98c394345e1191e4aa/pythondtrace-patch.diff' if build.include? 'with-dtrace'
+ p << 'https://gist.github.com/paxswill/5402840/raw/75646d5860685c8be98858288d1772f64d6d5193/pythondtrace-patch.diff' if build.include? 'with-dtrace'
# Patch to disable the search for Tk.frameworked, since homebrew's Tk is
# a plain unix build. Remove `-lX11`, too because our Tk is "AquaTk".
p << DATA if build.include? 'with-brewed-tk'