diff options
| author | Sam Nelson | 2014-08-18 20:23:37 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-20 12:33:54 +0100 |
| commit | 1bea171a088c9a15396b94acb0b09d1d2ef3a6d8 (patch) | |
| tree | d1938239762b0d124241b3f8c271a0c36b887c27 /Library/Formula | |
| parent | baeb3979a9861a4c04e0887d5c32c1d23c16fda5 (diff) | |
| download | homebrew-1bea171a088c9a15396b94acb0b09d1d2ef3a6d8.tar.bz2 | |
python: fix pyport.h compilation errors.
See http://bugs.python.org/issue10910
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/python.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 8ab53d89a..cc38ba546 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -39,6 +39,14 @@ class Python < Formula sha1 "e6cd9e6f2fd8d28c9976313632ef8aa8ac31249e" end + # Patch for pyport.h macro issue + # http://bugs.python.org/issue10910 + # https://trac.macports.org/ticket/44288 + patch do + url "http://bugs.python.org/file30805/issue10910-workaround.txt" + sha1 "9926640cb7c8e273e4b451469a2b13d4b9df5ba3" + end + # Patch to disable the search for Tk.framework, since Homebrew's Tk is # a plain unix build. Remove `-lX11`, too because our Tk is "AquaTk". patch :DATA if build.with? "brewed-tk" |
