--- /usr/./portage/app-editors/emacs/emacs-22.1.ebuild 2007-06-25 08:07:59.000000000 +0200 +++ /usr/./portage/app-editors/emacs/emacs-22.1.ebuild 2007-08-21 13:33:00.000000000 +0200 @@ -70,6 +70,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-Xaw3d-headers.patch" epatch "${FILESDIR}/${P}-freebsd-sparc.patch" epatch "${FILESDIR}/${P}-oldxmenu-qa.patch" + epatch "${FILESDIR}/${P}-backup-buffer.patch" # ALSA is detected and used even if not requested by the USE=alsa flag. # So remove the automagic check use alsa || epatch "${FILESDIR}/${P}-disable_alsa_detection.patch" @@ -137,6 +138,8 @@ src_compile() { ${myconf} || die "econf emacs failed" emake CC="$(tc-getCC)" || die "emake failed" + emake -C lisp recompile || die "emake lisp failed" + emake CC="$(tc-getCC)" || die "emake run 2 failed" } src_install () {