ShingoFukuyama
6/23/2014 - 1:53 AM

emacs24_3_inline_memleak.sh

EMACS_VER=24.3
curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz
curl -O https://gist.githubusercontent.com/anonymous/8553178/raw/c0ddb67b6e92da35a815d3465c633e036df1a105/emacs.memory.leak.aka.distnoted.patch.diff

svn co http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk inline_patch


tar xvfz emacs-${EMACS_VER}.tar.gz
cd emacs-${EMACS_VER}



patch -p1 < ../emacs.memory.leak.aka.distnoted.patch.diff
patch -p0 < ../inline_patch/emacs-inline.patch

./configure --with-ns --without-x
make bootstrap
make install
cp -r ./nextstep/Emacs.app /Applications/
open -a Emacs