Skip to content

Instantly share code, notes, and snippets.

Created January 22, 2014 04:06
Show Gist options
  • Save anonymous/8553323 to your computer and use it in GitHub Desktop.
Save anonymous/8553323 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Jan 22, 2014.
    19 changes: 19 additions & 0 deletions emacs24_3_inline_memleak.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    EMACS_VER=24.3
    curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz
    curl -O https://gist.github.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
    open nextstep/Emacs.app