diff options
| author | Scott Wheeler | 2014-10-23 21:04:54 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-24 13:15:22 +0100 |
| commit | 10ee82b7c6c2dd6f22520dc48bc381a2156c68f1 (patch) | |
| tree | f93e47de418bd0a7c1bf64f55f5fbb1e47286917 /Library | |
| parent | ddb088630454cd423e013f50286768b2085a77aa (diff) | |
| download | homebrew-10ee82b7c6c2dd6f22520dc48bc381a2156c68f1.tar.bz2 | |
emacs: restore ns-antialias-text functionality.
This was broken in the Emacs 24.4 release, reported upstream here:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00813.html
Previously, either of the following would disable antialiased fonts
on OS X:
(setq ns-antialias-text nil)
Or:
(setq ns-use-native-fullscreen nil)
While calling those now does not trigger an error, the setting
is no longer respected. This patch restores that.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/emacs.rb | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb index 591676b85..0d66fc08a 100644 --- a/Library/Formula/emacs.rb +++ b/Library/Formula/emacs.rb @@ -2,9 +2,20 @@ require "formula" class Emacs < Formula homepage "https://www.gnu.org/software/emacs/" - url "http://ftpmirror.gnu.org/emacs/emacs-24.4.tar.xz" - mirror "https://ftp.gnu.org/pub/gnu/emacs/emacs-24.4.tar.xz" - sha256 "47e391170db4ca0a3c724530c7050655f6d573a711956b4cd84693c194a9d4fd" + + stable do + url "http://ftpmirror.gnu.org/emacs/emacs-24.4.tar.xz" + mirror "https://ftp.gnu.org/pub/gnu/emacs/emacs-24.4.tar.xz" + sha256 "47e391170db4ca0a3c724530c7050655f6d573a711956b4cd84693c194a9d4fd" + + # Fix ns-antialias-text, broken in 24.4, submitted upstream here: + # http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00813.html + + patch do + url 'https://gist.githubusercontent.com/scotchi/66edaf426d7375c0f061/raw/b7055ba40a7dd9e8f6f5dd6bbe5c305a78bbbc87/emacs-fix-ns-antialias-text-mac-os.patch' + sha1 '6215c59c01dc247dfdec7c89ff2fe84ff28eb1c7' + end + end bottle do revision 1 |
