aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorColin Hebert2011-07-21 21:29:34 +0100
committerCharlie Sharpsteen2011-09-13 11:59:40 -0700
commit8480f20ffcb93dcda2a1f3a118c29e60650f7749 (patch)
treef85be00a6b7455ebf0693220008a7c12202d47ca /Library
parent09ebe32c8ccf4883b68881fe21ae745b8cb23e0e (diff)
downloadhomebrew-8480f20ffcb93dcda2a1f3a118c29e60650f7749.tar.bz2
Emacs: apply patch to build on Lion with XCode4.
Emacs-Patch: Suppress address randomization on Darwin (Bug#8395). http://repo.or.cz/w/emacs.git/patch/f2cea124dffac9ca4b8ce1dbb9b746f8e81109a3 Emacs bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8395 Fixes #6953. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/emacs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index 80e430c7f..fe306960a 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -29,6 +29,9 @@ class Emacs < Formula
# Fix for building with Xcode 4; harmless on Xcode 3.x.
unless ARGV.build_head?
p << "http://repo.or.cz/w/emacs.git/commitdiff_plain/c8bba48c5889c4773c62a10f7c3d4383881f11c1"
+ # Fix for address randomization on Darwin. Based on:
+ # http://repo.or.cz/w/emacs.git/patch/f2cea124dffac9ca4b8ce1dbb9b746f8e81109a3
+ p << "https://raw.github.com/gist/1098107"
end
if ARGV.include? "--cocoa"