summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-10-21 15:54:59 +0000
committerUlrich Müller <ulm@gentoo.org>2008-10-21 15:54:59 +0000
commitec67a34e3296f149b76210d054c5f40d8e2bf13a (patch)
treee57470787d23b7ed1e8492c2cefa00a55b1c56dd /app-editors/emacs/emacs-22.3.ebuild
parentamd64 stable, security bug #192989 (diff)
downloadgentoo-2-ec67a34e3296f149b76210d054c5f40d8e2bf13a.tar.gz
gentoo-2-ec67a34e3296f149b76210d054c5f40d8e2bf13a.tar.bz2
gentoo-2-ec67a34e3296f149b76210d054c5f40d8e2bf13a.zip
Fix sporadic segmentation faults of temacs when dumping under Linux 2.6.25
or later, bug 236579. (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'app-editors/emacs/emacs-22.3.ebuild')
-rw-r--r--app-editors/emacs/emacs-22.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-editors/emacs/emacs-22.3.ebuild b/app-editors/emacs/emacs-22.3.ebuild
index 6020277cc31d..024bb05e3ac0 100644
--- a/app-editors/emacs/emacs-22.3.ebuild
+++ b/app-editors/emacs/emacs-22.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3.ebuild,v 1.9 2008/10/09 20:43:49 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3.ebuild,v 1.10 2008/10/21 15:54:59 ulm Exp $
inherit autotools elisp-common eutils flag-o-matic
@@ -56,6 +56,8 @@ src_unpack() {
epatch "${FILESDIR}/emacs-22.3-freebsd-sparc.patch"
# SuperH support (bug 238210)
epatch "${FILESDIR}/emacs-22.2-sh.patch"
+ # Fix sporadic segmentation faults in unexec (bug 236579)
+ epatch "${FILESDIR}/emacs-22.3-linux-random-heap.patch"
sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \