Skip to content

Commit

Permalink
Emacs: apply patch to build on Lion with XCode4.
Browse files Browse the repository at this point in the history
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 Homebrew#6953.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information
ColinHebert authored and Sharpie committed Sep 13, 2011
1 parent 09ebe32 commit 8480f20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Formula/emacs.rb
Expand Up @@ -29,6 +29,9 @@ def patches
# 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"
Expand Down

0 comments on commit 8480f20

Please sign in to comment.