diff options
| author | Atsuya Okazaki | 2014-02-08 15:35:07 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2014-02-08 15:35:07 +0000 | 
| commit | f1317182f779415dc0891bb8993b722aa81b0d95 (patch) | |
| tree | c7fde9a3094a5b9ffdfe928f956cc66c4ff78641 /Library/Formula/emacs.rb | |
| parent | 77674cd8777d0c3e6ba74a5dcd413da76ab9c2bc (diff) | |
| download | homebrew-f1317182f779415dc0891bb8993b722aa81b0d95.tar.bz2 | |
emacs: add patch for memory leaks
This patch fixes a memory leak in Emacs 24.3 on Mavericks.
Mostly from an upstream patch r114945 in trunk, to be released as 24.4.
https://gist.github.com/anonymous/8553178
Even though the patch is applied to files which are also modified by
existing patches in the original Formula, it is confirmed that the patch
can applied without errors (Hunk successfully).
Closes #26516.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/emacs.rb')
| -rw-r--r-- | Library/Formula/emacs.rb | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb index db7c46c8e..fd7b921c3 100644 --- a/Library/Formula/emacs.rb +++ b/Library/Formula/emacs.rb @@ -40,9 +40,12 @@ class Emacs < Formula        # Fix default-directory on Cocoa and Mavericks.        # Fixed upstream in r114730 and r114882.        :p0 => [ DATA ], -      # Make native fullscreen mode optional, mostly from -      # upstream r111679 -      :p1 => [ 'https://gist.github.com/scotchi/7209145/raw/a571acda1c85e13ed8fe8ab7429dcb6cab52344f/ns-use-native-fullscreen-and-toggle-frame-fullscreen.patch' ] +      :p1 => [ +        # Make native fullscreen mode optional, mostly from upstream r111679 +        'https://gist.github.com/scotchi/7209145/raw/a571acda1c85e13ed8fe8ab7429dcb6cab52344f/ns-use-native-fullscreen-and-toggle-frame-fullscreen.patch', +        # Fix memory leaks in NS version from upstream r114945 +        'https://gist.github.com/anonymous/8553178/raw/c0ddb67b6e92da35a815d3465c633e036df1a105/emacs.memory.leak.aka.distnoted.patch.diff', +      ]      }      # "--japanese" option:      # to apply a patch from MacEmacsJP for Japanese input methods  | 
