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 Homebrew/homebrew#26516.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Atsuya Okazaki 2014-02-08 15:35:07 +00:00 committed by Mike McQuaid
parent 132aa74abd
commit 4a96076ad2
1 changed files with 6 additions and 3 deletions

View File

@ -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